* bug#10307: 23.3; Shell fails to run when current-working-directory is not existant
@ 2011-12-16 2:11 Ashok Gautham
2019-08-18 1:03 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Ashok Gautham @ 2011-12-16 2:11 UTC (permalink / raw)
To: 10307
* Steps to reproduce bug
1. C-x C-f ~/nonExistant/foo.txt
not do this because I want to use the shell to run a command that
(Message: Type M-x make-directory RET RET to create directory) I do
would create this for me.
2. M-x shell
(Message: No such file or directory) Shell does not open
* Expected Behaviour
1. Open shell with nearest parent directory that is alive
(or)
2. Prompt for the working-directory for shell
(or in the worst case)
3. Die with an Error: Shell cannot work without an existing current
directory
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#10307: 23.3; Shell fails to run when current-working-directory is not existant
2011-12-16 2:11 bug#10307: 23.3; Shell fails to run when current-working-directory is not existant Ashok Gautham
@ 2019-08-18 1:03 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-18 1:03 UTC (permalink / raw)
To: Ashok Gautham; +Cc: 10307
Ashok Gautham <scriptdevil@fastmail.fm> writes:
> * Steps to reproduce bug
> 1. C-x C-f ~/nonExistant/foo.txt
>
> not do this because I want to use the shell to run a command that
> (Message: Type M-x make-directory RET RET to create directory) I do
> would create this for me.
>
> 2. M-x shell
> (Message: No such file or directory) Shell does not open
>
> * Expected Behaviour
> 1. Open shell with nearest parent directory that is alive
> (or)
> 2. Prompt for the working-directory for shell
> (or in the worst case)
> 3. Die with an Error: Shell cannot work without an existing current
> directory
(I'm going through old bug reports that unfortunately have gotten no
responses yet.)
I tried this in Emacs 27, and it seems like this has been fixed in the
years since this bug was filed. In this situation, Emacs now sets
default-directory to "/".
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-18 1:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 2:11 bug#10307: 23.3; Shell fails to run when current-working-directory is not existant Ashok Gautham
2019-08-18 1:03 ` Lars Ingebrigtsen
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).