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

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

Re: Can't enter filenames with spaces


From: Miles Bader
Subject: Re: Can't enter filenames with spaces
Date: Mon, 27 Jun 2005 11:00:56 +0900

David Reitter <address@hidden> writes:
> Is the minibuffer-complete-word function useful in the case of file  
> names?

Not particularly, I think...

To be honest, I've never found `minibuffer-complete-word' useful in _any_
circumstance (I always use the "full complete", `minibuffer-complete';
indeed that's what I personally have minibuffer SPC bound to) -- but I
figured everybody else liked it.

BTW, the binding I use for SPC is not actually `minibuffer-complete', but
something called `minibuffer-complete-or-space', which does this:

   Complete the minibuffer contents as far as possible, or insert a space.
   Return nil if there is no valid completion, else t.

   If it's possible to insert a space, but there are other completions that
   don't include it, the space will only be inserted if an up-to-date
   completion help buffer has been displayed, otherwise one will be shown;
   thus a space can be inserted in this case by executing this command
   twice in a row.  Otherwise, this command acts like
   `minibuffer-complete'.

-Miles
-- 
We live, as we dream -- alone....




reply via email to

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