unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [h-e-w]  EmacsW32 filename completion using space bar
       [not found] <wkvekltftq.fsf@Austin.RR.com>
@ 2006-12-09 13:22 ` Lennart Borgman
  2006-12-09 13:34   ` Eli Zaretskii
  2006-12-11 20:29   ` Stuart D. Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-12-09 13:22 UTC (permalink / raw)
  Cc: Emacs Devel

David Vanderschel wrote:
> On Saturday, December 09, "Lennart Borgman" <lennart.borgman.073@student.lu.se> wrote:
>   
>> The reason that space no longer work for file name
>> completion is that file names may contain spaces.
>>     
>
> That was no problem in version 20, which I am still
> running.  E.g., if I type "c:/Prog ", it completes out
> to "c:/Program".  If I then type another space, that
> just echoes, as there is a directory name with a space
> there.  If I then type yet another space, it completes
> out to "c:/Program Files/".  This seems to be a
> natural and friendly way for it to behave.  Since it
> did so in earlier versions and apparently does no
> longer, I would venture that it is now broken.
>
> Regards,
>   David V.
>   

Ok, I forward this to the devel list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [h-e-w]  EmacsW32 filename completion using space bar
  2006-12-09 13:22 ` [h-e-w] EmacsW32 filename completion using space bar Lennart Borgman
@ 2006-12-09 13:34   ` Eli Zaretskii
  2006-12-11 20:29   ` Stuart D. Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2006-12-09 13:34 UTC (permalink / raw)
  Cc: DvdS, emacs-devel

> Date: Sat, 09 Dec 2006 14:22:02 +0100
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> Cc: Emacs Devel <emacs-devel@gnu.org>
> X-Spam-Status: No, score=0.5 required=5.0 tests=FROM_ENDS_IN_NUMS 
> 	autolearn=no version=3.0.4
> 
> David Vanderschel wrote:
> > On Saturday, December 09, "Lennart Borgman" <lennart.borgman.073@student.lu.se> wrote:
> >   
> >> The reason that space no longer work for file name
> >> completion is that file names may contain spaces.
> >>     
> >
> > That was no problem in version 20, which I am still
> > running.  E.g., if I type "c:/Prog ", it completes out
> > to "c:/Program".  If I then type another space, that
> > just echoes, as there is a directory name with a space
> > there.  If I then type yet another space, it completes
> > out to "c:/Program Files/".  This seems to be a
> > natural and friendly way for it to behave.  Since it
> > did so in earlier versions and apparently does no
> > longer, I would venture that it is now broken.
> >
> > Regards,
> >   David V.
> >   
> 
> Ok, I forward this to the devel list.

Completion of "c:/Prog SPC" to "c:/Program" _is_ the misfeature that
was fixed by the change in Emacs 22.  Since there's only one directory
that matches "c:/Prog", it is wrong for Emacs to complete it only
partially, since it didn't do so for directories that don't have
embedded spaces.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [h-e-w]  EmacsW32 filename completion using space bar
  2006-12-09 13:22 ` [h-e-w] EmacsW32 filename completion using space bar Lennart Borgman
  2006-12-09 13:34   ` Eli Zaretskii
@ 2006-12-11 20:29   ` Stuart D. Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Stuart D. Herring @ 2006-12-11 20:29 UTC (permalink / raw)
  Cc: David Vanderschel, Emacs Devel

>> That was no problem in version 20, which I am still
>> running.  E.g., if I type "c:/Prog ", it completes out
>> to "c:/Program".  If I then type another space, that
>> just echoes, as there is a directory name with a space
>> there.  If I then type yet another space, it completes
>> out to "c:/Program Files/".  This seems to be a
>> natural and friendly way for it to behave.  Since it
>> did so in earlier versions and apparently does no
>> longer, I would venture that it is now broken.

>From etc/NEWS:

--begin--

** When Emacs prompts for file names, SPC no longer completes the file name.
This is so filenames with embedded spaces could be input without the
need to quote the space with a C-q.  The underlying changes in the
keymaps that are active in the minibuffer are described below under
"New keymaps for typing file names".

--end--

The idea is that just because "Program Files" is the only thing beginning
with "Prog" -now- doesn't mean that you don't want to create something
like "Prog in Prague/personae.txt", the beginning of a new novel.  You can
modify the keymaps minibuffer-local-filename-completion-map and
minibuffer-local-must-match-filename-map if you prefer the old behavior.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-11 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <wkvekltftq.fsf@Austin.RR.com>
2006-12-09 13:22 ` [h-e-w] EmacsW32 filename completion using space bar Lennart Borgman
2006-12-09 13:34   ` Eli Zaretskii
2006-12-11 20:29   ` Stuart D. Herring

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).