From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: ignore CVS directories with tab complete
Date: 13 Aug 2003 08:34:17 +0200 [thread overview]
Message-ID: <ur83q9ic6.fsf@elta.co.il> (raw)
In-Reply-To: <vfisp2kaqn.fsf@rpc71.cs.man.ac.uk> (message from Phillip Lord on 12 Aug 2003 19:10:40 +0100)
> From: Phillip Lord <p.lord@russet.org.uk>
> Newsgroups: gnu.emacs.help
> Date: 12 Aug 2003 19:10:40 +0100
>
> If I start a clean emacs (-q --no-site-file), and then change into a
> directory with only two sub-dirs, one of which is CVS, and then hit
> tab I get...
>
> Completions
>
> ../ ./ CVS/ uk/
What command did you invoke before hitting TAB? Was that "C-x C-f" or
something else?
> a) is there any way of getting emacs to ignore the CVS directory all
> together. That way I could move up five empty directories with five
> tabs.
What version of Emacs is that? Emacs already has "CVS/" in the value
of the variable `completion-ignored-extensions' (together with "./"
and "../", which you also see on your system), so it should ignore
those by default, unless they are the only files in the directory.
But some past versions of Emacs had a bug that would cause the
ignored directories to show anyhow.
What you ask in a) above already works for me in the CVS version of
Emacs; I'm not sure if Emacs 21.2 or 21.3 has that bug fixed, though.
> b) even better, have emacs realise that there are five empty
> directories, and auto complete all the way up.
I don't think it is a good idea to have such a feature: a user could
have in mind creation of a file in one of the empty directories on the
way down.
next prev parent reply other threads:[~2003-08-13 6:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-12 18:10 ignore CVS directories with tab complete Phillip Lord
2003-08-13 6:34 ` Eli Zaretskii [this message]
2003-08-13 18:06 ` Kevin Rodgers
2003-08-14 11:01 ` Phillip Lord
2003-08-17 17:05 ` Kai Großjohann
2003-08-18 10:04 ` Phillip Lord
2003-08-18 12:33 ` Kai Großjohann
2003-08-18 12:37 ` Phillip Lord
2003-08-18 13:15 ` Kai Großjohann
2003-08-18 13:31 ` Johan Bockgård
2003-08-18 14:37 ` Phillip Lord
2003-08-18 15:49 ` Robert Epprecht
2003-08-18 16:57 ` Phillip Lord
2003-08-18 17:34 ` Johan Bockgård
2003-08-19 11:42 ` Phillip Lord
2003-08-18 14:24 ` Phillip Lord
2003-08-19 10:00 ` Dryice Liu
2003-08-19 11:44 ` Phillip Lord
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ur83q9ic6.fsf@elta.co.il \
--to=eliz@elta.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.