unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Possible bug in filename completion
@ 2007-06-07 14:33 Anne Dudfield
  2007-06-08  0:30 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Anne Dudfield @ 2007-06-07 14:33 UTC (permalink / raw)
  To: bug-gnu-emacs

I posted the following to gnu.emacs.help:

I have a directory ~/etest containing the following files:

blah
blahblah
blah-blah
blah-1

If I C-x C-f and navigate to this directory, then hit space ONCE, I
see in the minibuffer:

Find file: ~/etest/blah

If I hit space again, I see:

Find file: ~/etest/blah-

If I hit space again, I see that, plus the completions list: blah-1
and blah-blah. It seems to ignore the files without dashes in the name.

Version info: 21.3.1 (i686-pc-linux-gnu, X toolkit) of 2005-01-24 on btinstall

This behavior happens whether or not I use my init file. I've done a
great deal of internet searching and can't find any mention of this
behavior, or if there's a way to tweak it to get the behavior I'm
expecting.

Let me know if you need more information.

thanks,
Anne

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

* Re: Possible bug in filename completion
  2007-06-07 14:33 Possible bug in filename completion Anne Dudfield
@ 2007-06-08  0:30 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-06-08  0:30 UTC (permalink / raw)
  To: anned; +Cc: bug-gnu-emacs

"Anne Dudfield" wrote:

> I have a directory ~/etest containing the following files:
>
> blah
> blahblah
> blah-blah
> blah-1
>
> If I C-x C-f and navigate to this directory, then hit space ONCE, I
> see in the minibuffer:
>
> Find file: ~/etest/blah
>
> If I hit space again, I see:
>
> Find file: ~/etest/blah-
>
> If I hit space again, I see that, plus the completions list: blah-1
> and blah-blah. It seems to ignore the files without dashes in the name.

You can press TAB instead of space, or you can use:

(define-key minibuffer-local-completion-map " " 'minibuffer-complete)

if you don't want to retrain your fingers.

(Note that in Emacs 22, space no longer completes.)

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

end of thread, other threads:[~2007-06-08  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 14:33 Possible bug in filename completion Anne Dudfield
2007-06-08  0:30 ` Glenn Morris

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).