* bug#1975: Reusing dead shell buffers
[not found] <b6wscputjm.fsf@fencepost.gnu.org>
@ 2010-04-10 19:26 ` Chong Yidong
2010-04-10 20:05 ` Jose E. Marchesi
0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2010-04-10 19:26 UTC (permalink / raw)
To: jemarch; +Cc: 1975
> Just a tiny patch for shell.
>
> The patch assumes that the person launching M-xshell while in a
> shell-mode buffer with a terminated process really wants to launch a
> shell process in the current buffer instead to switch to "*shell*".
>
> The semantics of C-uM-xshell are not changed by the patch.
Could you explain why you think this is necessary? The current
behavior, where M-x shell reuses the *shell* buffer, seems fine.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#1975: Reusing dead shell buffers
2010-04-10 19:26 ` bug#1975: Reusing dead shell buffers Chong Yidong
@ 2010-04-10 20:05 ` Jose E. Marchesi
2012-04-11 12:34 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Jose E. Marchesi @ 2010-04-10 20:05 UTC (permalink / raw)
To: cyd; +Cc: 1975
> Just a tiny patch for shell.
>
> The patch assumes that the person launching M-xshell while in a
> shell-mode buffer with a terminated process really wants to launch a
> shell process in the current buffer instead to switch to "*shell*".
>
> The semantics of C-uM-xshell are not changed by the patch.
Could you explain why you think this is necessary? The current
behavior, where M-x shell reuses the *shell* buffer, seems fine.
Just consider the situation where you use different shells
simultaneously with meaningful names. For example, debugging an
application: shell-daemon, shell-mmi and shell-gdb.
If I want to restart the shell that is running in shell-gdb, I usually
Ctrl-D to terminate it and then I reuse the buffer. Without the patch
I have to C-uM-xshell and then type shell-gdb.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#1975: Reusing dead shell buffers
2010-04-10 20:05 ` Jose E. Marchesi
@ 2012-04-11 12:34 ` Lars Magne Ingebrigtsen
2012-11-30 8:06 ` Chong Yidong
0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-04-11 12:34 UTC (permalink / raw)
To: Jose E. Marchesi; +Cc: 1975
Jose E. Marchesi <jemarch@gnu.org> writes:
> If I want to restart the shell that is running in shell-gdb, I usually
> Ctrl-D to terminate it and then I reuse the buffer. Without the patch
> I have to C-uM-xshell and then type shell-gdb.
Currently `C-u M-x shell' defaults to "*shell*", which seems pretty
nonsensical. Surely if the user wanted to use that buffer, then she
would have just typed `M-x shell'.
So perhaps `C-u M-x shell' should just default to the current buffer
instead?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#1975: Reusing dead shell buffers
2012-04-11 12:34 ` Lars Magne Ingebrigtsen
@ 2012-11-30 8:06 ` Chong Yidong
0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2012-11-30 8:06 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 1975-done, Jose E. Marchesi
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Currently `C-u M-x shell' defaults to "*shell*", which seems pretty
> nonsensical. Surely if the user wanted to use that buffer, then she
> would have just typed `M-x shell'.
>
> So perhaps `C-u M-x shell' should just default to the current buffer
> instead?
Agreed. Implemented in trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-30 8:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <b6wscputjm.fsf@fencepost.gnu.org>
2010-04-10 19:26 ` bug#1975: Reusing dead shell buffers Chong Yidong
2010-04-10 20:05 ` Jose E. Marchesi
2012-04-11 12:34 ` Lars Magne Ingebrigtsen
2012-11-30 8:06 ` Chong Yidong
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.