emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x shell question


From: Robert Weiner
Subject: Re: M-x shell question
Date: Wed, 17 Aug 2016 15:12:55 -0400

On Wed, Aug 17, 2016 at 1:45 PM, Richard Stallman <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]