Subject: bug#42612: 28.0.50; Eshell: support setting working buffer like IELM

From: Sean Whitton <[email-masked]>
Date: Sun, 02 Aug 2020 15:10:20 -0700

Hello Eli,

On Thu 30 Jul 2020 at 08:06PM +03, Eli Zaretskii wrote:

> Eshell is a shell.  What is the semantics of running a shell in a
> buffer?  The only semantics I can think of is to run the shell in the
> default-directory of that buffer.

(info "(eshell) Top") says

    [Eshell] is intended to be an alternative to the IELM REPL for Emacs
    and with an interface similar to command shells ...

The functionality of setting a working buffer would be for when Eshell
is being used as an alternative to IELM, and it would have the same
semantics as the equivalent functionality in IELM.

I agree that when Eshell is being used as a command shell the only
significant thing would be default-directory.

-- 
Sean Whitton