emacs-pretest-bug
[Top][All Lists]
Advanced

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

(no subject)


From: Bill Wohler
Subject: (no subject)
Date: Wed, 07 Dec 2005 14:49:57 -0800

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.




reply via email to

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