[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SPC no longer completes when minibuffer-completing-file-name is t
From: |
Bill Wohler |
Subject: |
SPC no longer completes when minibuffer-completing-file-name is t |
Date: |
Wed, 07 Dec 2005 14:53:59 -0800 |
[Resending without a Mail-Followup-To and with a Subject :-(. If you
responded to the previous copy, you may have to resend it to
address@hidden if this address wasn't a recipient.]
Emacs now inserts a space when trying to complete an MH-E folder (for
example, when visiting a folder or refiling a message).
Could this change be responsible?
2005-12-06 Stefan Monnier <address@hidden>
* minibuf.c (keys_of_minibuf): Just unbind SPC in
Vminibuffer_local_filename_completion_map rather than forcing it
explicitly to the same binding as the global map.
In the code below, if I comment out the setting of
minibuffer-completing-file-name, the space again performs completion and
I can't discern any difference in the completion. What is the effect of
setting minibuffer-completing-file-name? Is it kosher? Do any of the
MH-E developers know why we do this?
I'm not sure if the MH-E code is broken and was living on borrowed time
or whether a recent change broke Emacs. Please advise.
(defun mh-folder-completing-read (prompt default allow-root-folder-flag)
"Read folder name with PROMPT and default result DEFAULT.
If ALLOW-ROOT-FOLDER-FLAG is non-nil then \"+\" is allowed to be a folder name
corresponding to `mh-user-path'."
(mh-normalize-folder-name
(let ((minibuffer-completing-file-name t)
(completion-root-regexp "^[+/]")
(minibuffer-local-completion-map mh-folder-completion-map)
(mh-allow-root-folder-flag allow-root-folder-flag))
(completing-read prompt 'mh-folder-completion-function nil nil nil
'mh-folder-hist default))
t))
--
Bill Wohler <address@hidden> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
- SPC no longer completes when minibuffer-completing-file-name is t,
Bill Wohler <=