unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Jari Aalto <jari.aalto@cante.net>
Cc: 4286@emacsbugs.donarmstrong.com
Subject: bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files
Date: Mon, 31 Aug 2009 22:42:50 +0300	[thread overview]
Message-ID: <87tyznu5vp.fsf@mail.jurta.org> (raw)
In-Reply-To: <87ljl3ov64.fsf@jondo.cante.net> (Jari Aalto's message of "Sat, 29 Aug 2009 11:56:19 +0300")

>         * ido.el (ido-ignore-files): Add RCS, svn, darcs, sh, git, mtn
>         version control directories.

Better to initialize its default value from either
`vc-directory-exclusion-list' or `completion-ignored-extensions'.
The former is a subset of the latter.

> diff --git a/lisp/ido.el b/lisp/ido.el
> index 2336fea..6316bdf 100644
> --- a/lisp/ido.el
> +++ b/lisp/ido.el
> @@ -391,7 +391,21 @@ example functions that filter buffer names."
>    :group 'ido)
>
>  (defcustom ido-ignore-files
> -  '("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./")
> +  '(;; Version control system directories (VCS)
> +    "\\`CVS/"
> +    "\\`RCS/"
> +    "\\`\\.svn/"
> +    ;;  Distributed version control system directories (DVCS)
> +    "\\`\\.darcs/"
> +    "\\`\\.hg/"
> +    "\\`\\.git/"
> +    "\\`\\.mtn/"
> +    ;; Backup files
> +    "\\`#"
> +    "\\`.#"
> +    ;; Directory components
> +    "\\`\\.\\./"
> +    "\\`\\./")
>    "List of regexps or functions matching file names to ignore.
>  For example, traditional behavior is not to list files whose names begin
>  with a #, for which the regexp is `\\`#'.  See the source file for

-- 
Juri Linkov
http://www.jurta.org/emacs/





  reply	other threads:[~2009-08-31 19:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-29  8:56 bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files Jari Aalto
2009-08-31 19:42 ` Juri Linkov [this message]
2012-04-11 13:35 ` Lars Magne Ingebrigtsen
2012-04-11 13:43   ` Leo
2012-04-11 13:45     ` Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2009-12-05 20:28 Chong Yidong
2009-12-06 10:47 ` Jari Aalto
2009-12-06 15:26   ` Chong Yidong
2009-12-06 19:28     ` Jari Aalto

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyznu5vp.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4286@emacsbugs.donarmstrong.com \
    --cc=jari.aalto@cante.net \
    /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 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).