From: Robert Weiner <rsw@gnu.org>
To: Richard Stallman <rms@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: M-x shell question
Date: Wed, 17 Aug 2016 15:12:55 -0400 [thread overview]
Message-ID: <CA+OMD9jZuxWR1UxLQ1=kPyomoT0Kw_=8XoP2kwfCvcjKpRzfjQ@mail.gmail.com> (raw)
In-Reply-To: <E1ba4tv-0007Ut-DQ@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
On Wed, Aug 17, 2016 at 1:45 PM, Richard Stallman <rms@gnu.org> wrote:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> I'm thinking that M-x shell should cd the subshell
> to the current directory of the buffer you're in
> when you type M-x shell. I often want to do that.
>
It does do that when it creates a new shell buffer. Typically, that is
the only time I want it to do that as I work with buffers in many different
directories and then come back to the same shell that I want pointing to
the same directory.
>
> Or perhaps C-u M-x shell should do that.
>
> The current behavior of C-u M-x shell, to use a different buffer name
> for the shell buffer, is not very useful; if you want to make multiple
> shell buffers, the easiest way is to make each one as *shell* and
> rename it.
>
I like being able to quickly create multiple shells without having to
rename them, so I do think this behavior is useful.
I think a new command would be appropriate in this case that did both the
cd and the jump to the shell buffer, maybe cd-shell.
Bob
[-- Attachment #2: Type: text/html, Size: 2538 bytes --]
next prev parent reply other threads:[~2016-08-17 19:12 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 17:45 M-x shell question Richard Stallman
2016-08-17 18:09 ` raman
2016-08-17 19:04 ` Uwe Brauer
2016-08-17 21:13 ` raman
2016-08-18 14:07 ` Richard Stallman
2016-08-18 14:13 ` Fwd: " Kaushal Modi
2016-08-19 5:29 ` Richard Stallman
2016-08-19 5:49 ` Kaushal Modi
2016-08-19 7:18 ` Eli Zaretskii
2016-08-19 13:21 ` Robert Weiner
2016-08-19 14:14 ` Kaushal Modi
2016-08-19 14:35 ` Robert Weiner
2016-08-19 14:45 ` Kaushal Modi
2016-08-19 7:16 ` Eli Zaretskii
2016-08-18 14:22 ` Oleh Krehel
2016-08-18 15:11 ` Andreas Schwab
2016-08-19 2:53 ` Tino Calancha
2016-08-18 15:27 ` raman
2016-08-17 19:12 ` Robert Weiner [this message]
2016-08-17 20:24 ` Andreas Schwab
2016-08-18 3:51 ` Roland Winkler
2016-08-18 14:06 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+OMD9jZuxWR1UxLQ1=kPyomoT0Kw_=8XoP2kwfCvcjKpRzfjQ@mail.gmail.com' \
--to=rsw@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=rswgnu@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).