GNU bug report logs -
#10307
23.3; Shell fails to run when current-working-directory is not existant
Previous Next
Reported by: Ashok Gautham <scriptdevil <at> fastmail.fm>
Date: Fri, 16 Dec 2011 06:51:01 UTC
Severity: minor
Found in version 23.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10307 in the body.
You can then email your comments to 10307 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10307
; Package
emacs
.
(Fri, 16 Dec 2011 06:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ashok Gautham <scriptdevil <at> fastmail.fm>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 16 Dec 2011 06:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10307
; Package
emacs
.
(Sun, 18 Aug 2019 01:04:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 10307 <at> debbugs.gnu.org (full text, mbox):
Ashok Gautham <scriptdevil <at> 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
bug closed, send any further explanations to
10307 <at> debbugs.gnu.org and Ashok Gautham <scriptdevil <at> fastmail.fm>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Aug 2019 01:04:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 15 Sep 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.