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: Stefan Monnier
Subject: Re: C-x C-b and C-x C-f bugging about confirmation
Date: Mon, 24 Nov 2008 10:52:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> Alan Mackenzie's tweak to the [Confirm] prompt seems like an excellent
>>> solution to this problem though.
>> 
>> Indeed, it would cover 99% of my cases.

> See attached patch (necessary doc changes not included).  Any
> objections?

>   (defcustom confirm-nonexistent-file-or-buffer nil
>     "If non-nil, confirmation is requested before visiting a new file or 
> buffer.
> + If the value is `after-completion', confirmation is only
> + requested if the user calls `minibuffer-complete-and-exit'
> + immediately after `minibuffer-complete'.
>   This affects commands like `switch-to-buffer' and `find-file'."
>     :group 'find-file
>     :version "23.1"
>     :type 'boolean)
  
Looks OK, except that it needs to default to after-completion.


        Stefan




reply via email to

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