From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Szunti <szunti@gmail.com>
Cc: 11725-done@debbugs.gnu.org
Subject: bug#11725: 24.1; confirm-nonexistent-file-or-buffer with after-completion value
Date: Sat, 23 Jun 2012 00:50:14 -0400 [thread overview]
Message-ID: <jwvtxy2pr9g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4FDCBEEA.7040101@gmail.com> (szunti@gmail.com's message of "Sat, 16 Jun 2012 19:14:18 +0200")
Version: 24.2
> 1) made two files in bash:
> $ cd /tmp
> $ touch almafa almacsutka
> 2) open emacs
> C-x C-f /tmp/al[TAB][RET]
> [TAB] completes to /tmp/alma, then after pressing [RET], a new file
> called alma is open, instead of asking for confirmation.
Thanks, I've installed the patch below on the emacs-24 branch, which
should fix the problem.
Stefan
--- lisp/minibuffer.el 2012-04-07 08:12:04 +0000
+++ lisp/minibuffer.el 2012-06-23 04:47:36 +0000
@@ -892,7 +892,8 @@
(completion--cache-all-sorted-completions (cdr all)))))))
(defvar minibuffer-confirm-exit-commands
- '(minibuffer-complete minibuffer-complete-word PC-complete PC-complete-word)
+ '(completion-at-point minibuffer-complete
+ minibuffer-complete-word PC-complete PC-complete-word)
"A list of commands which cause an immediately following
`minibuffer-complete-and-exit' to ask for extra confirmation.")
prev parent reply other threads:[~2012-06-23 4:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 17:14 bug#11725: 24.1; confirm-nonexistent-file-or-buffer with after-completion value Szunti
2012-06-23 4:50 ` Stefan Monnier [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=jwvtxy2pr9g.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11725-done@debbugs.gnu.org \
--cc=szunti@gmail.com \
/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.