all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: default-directory safe file local variable but no check for same if file-exists-p
Date: Fri, 5 Jun 2009 11:50:48 -0400	[thread overview]
Message-ID: <d2afcfda0906050850u5774a59o790e70dd718c6499@mail.gmail.com> (raw)
In-Reply-To: <jwvk53qiwii.fsf-monnier+emacs@gnu.org>

On Fri, Jun 5, 2009 at 10:31 AM, Stefan Monnier<monnier@iro.umontreal.ca> wrote:
> It shouldn't.  Even under normal circumstances, default-directory may
> point to a non-existing directory (e.g. because it existed when the
> buffer was created, but has been removed in the mean time).

Ok. Thank you. That makes sense.

I'm sure this is all very well thought out, and I apologize if this
comes across as foolish, but out of curiosity does this account for
procedures such as `process-file', `call-process', `start-process',
`start-file-process' etc. which base their file-handlers on the
`default-directory' value?

e.g. the default-directory doesn't exist at buffer creation, a
sub-process (synchronous or otherwise) comes along, attempts to take
residence in default directory, and not finding a 'there' there,
proceeds to build himself a new home.

s_P




  reply	other threads:[~2009-06-05 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05  0:20 default-directory safe file local variable but no check for same if file-exists-p MON KEY
2009-06-05 14:31 ` Stefan Monnier
2009-06-05 15:50   ` MON KEY [this message]
2009-06-05 19:35     ` Davis Herring

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=d2afcfda0906050850u5774a59o790e70dd718c6499@mail.gmail.com \
    --to=monkey@sandpframing.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.