* Directory name completion question for CVS Emacs
@ 2005-07-12 10:03 Yoni Rabkin
2005-07-12 12:08 ` David Hansen
0 siblings, 1 reply; 6+ messages in thread
From: Yoni Rabkin @ 2005-07-12 10:03 UTC (permalink / raw)
Hello, I'm running GNU Emacs 22.0.50.1 (i686-pc-linux-gnu) of
2005-07-12.
I have the following directory structure:
/home/trg/src/emacsen/emacsCVS/emacs/
/home/trg/src/emacsen/emacs21/emacs-21.4/
On the CVS Emacs (version listed above) I do the following:
1) C-x C-f ("~/" appears)
2) "sr" TAB (lone completion to "src/")
3) "em" TAB (lone completion to "emacsen/")
4) TAB (completes to "emacs21", and not "emacs") !!!
On GNU Emacs 21.4.1 (i686-pc-linux-gnu) I do the following:
1) C-x C-f ("~/" appears)
2) "sr" TAB (lone completion to "src/")
3) "em" TAB (lone completion to "emacsen/")
4) TAB (completes to "emacs", as I would expect).
Why does completion behave differently?
--
"Cut your own wood and it will warm you twice"
Regards, Yoni Rabkin Katzenell
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory name completion question for CVS Emacs
2005-07-12 10:03 Directory name completion question for CVS Emacs Yoni Rabkin
@ 2005-07-12 12:08 ` David Hansen
2005-07-12 12:46 ` Yoni Rabkin
0 siblings, 1 reply; 6+ messages in thread
From: David Hansen @ 2005-07-12 12:08 UTC (permalink / raw)
On Tue, 12 Jul 2005 13:03:14 +0300 Yoni Rabkin wrote:
> I have the following directory structure:
>
> /home/trg/src/emacsen/emacsCVS/emacs/
> /home/trg/src/emacsen/emacs21/emacs-21.4/
>
> On the CVS Emacs (version listed above) I do the following:
>
> 1) C-x C-f ("~/" appears)
> 2) "sr" TAB (lone completion to "src/")
> 3) "em" TAB (lone completion to "emacsen/")
> 4) TAB (completes to "emacs21", and not "emacs") !!!
I guess removing "CVS/" from `completion-ignored-extensions'
should help.
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory name completion question for CVS Emacs
2005-07-12 12:08 ` David Hansen
@ 2005-07-12 12:46 ` Yoni Rabkin
2005-07-12 14:41 ` Stefan Monnier
0 siblings, 1 reply; 6+ messages in thread
From: Yoni Rabkin @ 2005-07-12 12:46 UTC (permalink / raw)
David Hansen <david.hansen <at> gmx.net> writes:
> I guess removing "CVS/" from `completion-ignored-extensions'
> should help.
>
> David
"CVS/" is a member of `completion-ignored-extensions' in both versions of Emacs
(21 and 22). I'm asking why it should behave that way despite that.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory name completion question for CVS Emacs
2005-07-12 12:46 ` Yoni Rabkin
@ 2005-07-12 14:41 ` Stefan Monnier
2005-07-12 14:54 ` Yoni Rabkin
2005-07-12 15:47 ` Jason Rumney
0 siblings, 2 replies; 6+ messages in thread
From: Stefan Monnier @ 2005-07-12 14:41 UTC (permalink / raw)
Cc: emacs-devel
>> I guess removing "CVS/" from `completion-ignored-extensions'
>> should help.
>>
>> David
> "CVS/" is a member of `completion-ignored-extensions' in both versions of
> Emacs (21 and 22). I'm asking why it should behave that way despite that.
Because the "foo/" form in completion-ignored-extensions didn't work in
Emacs-21, so the "CVS/" entry had no effect whatsoever.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory name completion question for CVS Emacs
2005-07-12 14:41 ` Stefan Monnier
@ 2005-07-12 14:54 ` Yoni Rabkin
2005-07-12 15:47 ` Jason Rumney
1 sibling, 0 replies; 6+ messages in thread
From: Yoni Rabkin @ 2005-07-12 14:54 UTC (permalink / raw)
On 7/12/05, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> >> I guess removing "CVS/" from `completion-ignored-extensions'
> >> should help.
> >>
> >> David
>
> > "CVS/" is a member of `completion-ignored-extensions' in both versions of
> > Emacs (21 and 22). I'm asking why it should behave that way despite that.
>
> Because the "foo/" form in completion-ignored-extensions didn't work in
> Emacs-21, so the "CVS/" entry had no effect whatsoever.
>
>
> Stefan
Ahh, now it is clear. Thank you Stefan.
--
"Cut your own wood and it will warm you twice"
Regards, Yoni Rabkin Katzenell
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory name completion question for CVS Emacs
2005-07-12 14:41 ` Stefan Monnier
2005-07-12 14:54 ` Yoni Rabkin
@ 2005-07-12 15:47 ` Jason Rumney
1 sibling, 0 replies; 6+ messages in thread
From: Jason Rumney @ 2005-07-12 15:47 UTC (permalink / raw)
Cc: Yoni Rabkin, emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]
Stefan Monnier wrote:
>>"CVS/" is a member of `completion-ignored-extensions' in both versions of
>>Emacs (21 and 22). I'm asking why it should behave that way despite that.
>>
>>
>
>Because the "foo/" form in completion-ignored-extensions didn't work in
>Emacs-21, so the "CVS/" entry had no effect whatsoever.
>
>
Perhaps we should also make it so the "/foo/" form also works, for
specifying that only subdirectories called "foo" should be matched, not
directories like "barfoo" that merely end in "foo".
[-- Attachment #1.2: Type: text/html, Size: 935 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-12 15:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 10:03 Directory name completion question for CVS Emacs Yoni Rabkin
2005-07-12 12:08 ` David Hansen
2005-07-12 12:46 ` Yoni Rabkin
2005-07-12 14:41 ` Stefan Monnier
2005-07-12 14:54 ` Yoni Rabkin
2005-07-12 15:47 ` Jason Rumney
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).