GNU bug report logs - #42612
28.0.50; Eshell: support setting working buffer like IELM

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Thu, 30 Jul 2020 05:31:02 UTC

Severity: wishlist

Found in version 28.0.50

Full log


Message #11 received at 42612 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 42612 <at> debbugs.gnu.org
Subject: Re: bug#42612: 28.0.50; Eshell: support setting working buffer like
 IELM
Date: Thu, 30 Jul 2020 09:49:15 -0700
Hello Eli,

On Thu 30 Jul 2020 at 04:15PM +03, Eli Zaretskii wrote:

>> From: Sean Whitton <spwhitton <at> spwhitton.name>
>> Date: Wed, 29 Jul 2020 22:29:52 -0700
>>
>> Eshell's docs advertise it as a replacement for IELM, but one IELM
>> feature that Eshell doesn't have is an equivalent to C-c C-b, or,
>> ielm-change-working-buffer.  It would be great to have something like
>> this.
>
> Like "C-u M-x eshell RET"?
>
> If that's not what you wanted, then perhaps I don't quite understand
> what you meant by running Eshell in another buffer.

No, not what I had in mind.

In IELM you can type C-c C-b and select a buffer, and then when you eval
further sexps in *ielm*, it will be as if you used M-: with that other
buffer selected.  Useful for debugging a major or minor mode.

In Eshell the closest thing you can do is wrap your sexps in a
(with-current-buffer) form, or use (progn (set-buffer ...) ...), which
is less convenient.

-- 
Sean Whitton




This bug report was last modified 4 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.