all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: bogus extra RET required when entering filenames (etc)?
Date: Fri, 21 Nov 2008 18:12:06 +0900	[thread overview]
Message-ID: <buood09o32x.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <87od09sb3b.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 21 Nov 2008 10:05:28 +0100")

Tassilo Horn <tassilo@member.fsf.org> writes:
>> This was from the recent introduction of the variable
>> confirm-nonexistent-file-or-buffer---previously
>> find-file-confirm-nonexistent-file---which had its default set as t.
>> I've checked in a fix to switch the default to nil.
>
> But Miles said the file already existed.  Why was he asked for
> confirmation then?

Actually I went back and redid my test, and realized that although I had
already visited that file and added some contents, so the buffer
existed, I had never _saved_ the file, so there wasn't yet anything on
disk.

I suppose one could make an argument that find-file should consider that
state as "existing" and not require confirmation, but one could also
argue that the current behavior is correct...

-Miles

-- 
Rational, adj. Devoid of all delusions save those of observation, experience
and reflection.




  reply	other threads:[~2008-11-21  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21  6:16 bogus extra RET required when entering filenames (etc)? Miles Bader
2008-11-21  6:49 ` Chong Yidong
2008-11-21  9:05   ` Tassilo Horn
2008-11-21  9:12     ` Miles Bader [this message]
2008-11-21 14:28   ` Stefan Monnier
2008-11-22  7:01     ` mail

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=buood09o32x.fsf@dhapc248.dev.necel.com \
    --to=miles@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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.