emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-x C-b and C-x C-f bugging about confirmation


From: Chong Yidong
Subject: Re: C-x C-b and C-x C-f bugging about confirmation
Date: Fri, 21 Nov 2008 12:07:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Sam Steingold <address@hidden> writes:

> I often have dozens of buffers open, including "foo.lisp" and "foos/"
> and completion is not the panacea.
> it IS a big deal to have to kill the buffer:
> with confirm-nonexistent-file-or-buffer = t:
> C-x b fo TAB [expands to "foo"] RET [confirm?] . TAB RET ==> foo.lisp
> with confirm-nonexistent-file-or-buffer = nil:
> C-x b fo TAB [expands to "foo"] RET [new buffer] C-x k RET C-x b Up
> . TAB RET ==> foo.lisp

Sure, there are usage patterns that are going to be helped by this
change in defaults; and there are usage patterns that are going to be
hindered.  But I don't think it's obvious that either dominate.  Because
of that, this feature's inconsistency with the old minibuffer behavior
indicates that the default should be nil, I think.  Unless someone can
come up with a better way to do this.

Another point: for find-file, we have C-x C-v (find-alternative-file),
which provides an easy way to revisit a file if you visited the wrong
one.  So for file-name-completion, at least, this feature is less than
necessary.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]