GNU bug report logs -
#52467
29.0.50; Use pop-to-buffer for shell
Previous Next
Reported by: sds <at> gnu.org
Date: Mon, 13 Dec 2021 16:18:02 UTC
Severity: normal
Tags: wontfix
Merged with 52468
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 52467 <at> debbugs.gnu.org (full text, mbox):
On 19.12.2021 16:14, Lars Ingebrigtsen wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:
>
>> On 13.12.2021 19:16, Steingold wrote:
>>> It seems much more reasonable to use pop-to-buffer in eshell rather than
>>> break shell's behavior.
>>
>> That seems reasonable too.
>>
>> I think we'll do whatever the maintainers decide on this issue.
>
> I think the current behaviour makes more sense than the old one, really.
> For one, it's more predictable -- when you say `M-x shell', you're
> getting a shell in the current buffer.
In the current _window_, right?
>The old behaviour either does
> that, or lands you in a different window (if you've already got a shell
> buffer open elsewhere), right?
To be fair, it might be considered a little inconsistent still. Like,
you get a shell (or eshell) buffer in the current window, but if some
shell/eshell buffer already exists, you get that (existing) buffer in
the current window.
One could expect something else still: a new buffer in the current
default-directory. Meaning, an [e]shell buffer that corresponds (in some
way) to the buffer that was previously displayed in that window.
Or to phrase that in a way similar to yours: a shell buffer in the
current window that's related to the current buffer.
This bug report was last modified 3 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.