From: Sean Whitton <spwhitton@spwhitton.name>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 42612@debbugs.gnu.org
Subject: bug#42612: 28.0.50; Eshell: support setting working buffer like IELM
Date: Thu, 30 Jul 2020 09:49:15 -0700 [thread overview]
Message-ID: <87lfj10wz8.fsf@iris.silentflame.com> (raw)
In-Reply-To: <834kppf8km.fsf@gnu.org>
Hello Eli,
On Thu 30 Jul 2020 at 04:15PM +03, Eli Zaretskii wrote:
>> From: Sean Whitton <spwhitton@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
next prev parent reply other threads:[~2020-07-30 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 5:29 bug#42612: 28.0.50; Eshell: support setting working buffer like IELM Sean Whitton
2020-07-30 13:15 ` Eli Zaretskii
2020-07-30 16:49 ` Sean Whitton [this message]
2020-07-30 17:06 ` Eli Zaretskii
2020-08-02 22:10 ` Sean Whitton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfj10wz8.fsf@iris.silentflame.com \
--to=spwhitton@spwhitton.name \
--cc=42612@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.