From: Jose E. Marchesi <jemarch@gnu.org>
To: cyd@stupidchicken.com
Cc: 1975@debbugs.gnu.org
Subject: bug#1975: Reusing dead shell buffers
Date: Sat, 10 Apr 2010 22:05:03 +0200 (CEST) [thread overview]
Message-ID: <20100410.220503.264135546.jemarch@gnu.org> (raw)
In-Reply-To: <87r5mn3y7z.fsf@stupidchicken.com>
> 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.
next prev parent reply other threads:[~2010-04-10 20:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2012-04-11 12:34 ` Lars Magne Ingebrigtsen
2012-11-30 8:06 ` Chong Yidong
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=20100410.220503.264135546.jemarch@gnu.org \
--to=jemarch@gnu.org \
--cc=1975@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
/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.