Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No completion on CVS directories

4 views
Skip to first unread message

Jesper Holmberg

unread,
Feb 22, 2003, 2:12:45 AM2/22/03
to

I use the 'completion-ignored-extensions' list to sort out completions of
certain types of files, but I can't get it to work on directories. More
specifically, I want Emacs never to complete CVS directories, so that when
I descend a directory structure, Emacs never considers the 'CVS'
directories to be candidates. Can this be done?

TIA

Jesper

Kai Großjohann

unread,
Feb 22, 2003, 5:22:22 AM2/22/03
to
Jesper Holmberg <jeho...@student.uu.se> writes:

Does it work to add "CVS/" (with the trailing slash) to the list?
--
A preposition is not a good thing to end a sentence with.

Eli Zaretskii

unread,
Feb 22, 2003, 5:34:21 PM2/22/03
to help-gn...@gnu.org
> Newsgroups: gnu.emacs.help
> From: Jesper Holmberg <jeho...@student.uu.se>
> Date: 22 Feb 2003 08:12:45 +0100

What version of Emacs is that? I think there was a bug with this
feature when directories were concerned, and IIRC it's only fixed in
the CVS code (i.e. no released version does TRT with this).

In any case, directories are only ignored if they have a '/' appended
to them in 'completion-ignored-extensions'.


Jesper Holmberg

unread,
Feb 23, 2003, 7:09:31 AM2/23/03
to
"Eli Zaretskii" <el...@is.elta.co.il> writes:
> In any case, directories are only ignored if they have a '/' appended
> to them in 'completion-ignored-extensions'.

Thank you Eli and Kai, it was the '/' at the end that was missing. I use
Emacs v. 21 BTW, and it does seem to work.

Jesper

Jesper Holmberg

unread,
Feb 23, 2003, 7:46:39 AM2/23/03
to
Jesper Holmberg <jeho...@student.uu.se> writes:
> Thank you Eli and Kai, it was the '/' at the end that was missing. I use
> Emacs v. 21 BTW, and it does seem to work.

No, I spoke too soon: in fact it doesn't work, it still considers CVS
directories for completion.

emacs --version gives this:
GNU Emacs 21.2.1

Do I have to wait for a new release, then?

Jesper

Eli Zaretskii

unread,
Feb 23, 2003, 2:08:05 PM2/23/03
to help-gn...@gnu.org
> Newsgroups: gnu.emacs.help
> From: Jesper Holmberg <jeho...@student.uu.se>
> Date: 23 Feb 2003 13:46:39 +0100

>
> No, I spoke too soon: in fact it doesn't work, it still considers CVS
> directories for completion.
>
> emacs --version gives this:
> GNU Emacs 21.2.1
>
> Do I have to wait for a new release, then?

Yes, I'm afraid so.


Peter Wu

unread,
Feb 23, 2003, 9:12:58 PM2/23/03
to

Any idea when the new release will be released?

--
Peter Wu

Eli Zaretskii

unread,
Feb 23, 2003, 11:32:32 PM2/23/03
to help-gn...@gnu.org
> Newsgroups: gnu.emacs.help
> From: Peter Wu <pet...@hotmail.com>
> Date: 24 Feb 2003 10:12:58 +0800

> > >
> > > emacs --version gives this:
> > > GNU Emacs 21.2.1
> > >
> > > Do I have to wait for a new release, then?
> >
> > Yes, I'm afraid so.
>
> Any idea when the new release will be released?

I don't know. I also think that the change you are looking for is not
in the next release (which will be bugfix-only), but rather in the
development sources that won't be released before a few more months.

Can you compile Emacs from sources? If so, perhaps I could tell you
what file to get from the CVS, and you could then see what change
needs to be done in your sources to make this work for you right now.


Peter Wu

unread,
Feb 23, 2003, 11:53:28 PM2/23/03
to
>>>>> On Mon, 24 Feb 2003 06:32:32 +0200, "Eli Zaretskii" <el...@is.elta.co.il> said:

>> Any idea when the new release will be released?

Eli> Can you compile Emacs from sources? If so, perhaps I could tell you
Eli> what file to get from the CVS, and you could then see what change
Eli> needs to be done in your sources to make this work for you right now.

I installed Emacs from FreeBSD ports. So, I am not clear if the source
needs any FreeBSD patch.

--
Peter Wu

0 new messages