all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ashok Gautham <scriptdevil@fastmail.fm>
Cc: 10307@debbugs.gnu.org
Subject: bug#10307: 23.3; Shell fails to run when current-working-directory is not existant
Date: Sat, 17 Aug 2019 18:03:03 -0700	[thread overview]
Message-ID: <87d0h370ag.fsf@mouse.gnus.org> (raw)
In-Reply-To: <20111216021100.GA2017@byron.anthology> (Ashok Gautham's message of "Fri, 16 Dec 2011 07:41:01 +0530")

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





      reply	other threads:[~2019-08-18  1:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=87d0h370ag.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=10307@debbugs.gnu.org \
    --cc=scriptdevil@fastmail.fm \
    /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.