unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files
@ 2009-08-29  8:56 Jari Aalto
  2009-08-31 19:42 ` Juri Linkov
  2012-04-11 13:35 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: Jari Aalto @ 2009-08-29  8:56 UTC (permalink / raw)
  To: Emacs bug BTS

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]


Change against Emacs CVS tree as of 2009-08-29 11:5 UTC

2009-08-29  Jari Aalto  <jari.aalto@cante.net>

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-ido.el-ido-ignore-files-add-more-version-contro.patch --]
[-- Type: text/x-diff, Size: 1213 bytes --]

From 510e3bbded329dd9ce03f3eb94e8ffc2d6d5b9be Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 29 Aug 2009 11:51:32 +0300
Subject: [PATCH] lisp/ido.el: (ido-ignore-files): add more version control directories


Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 lisp/ido.el |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

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
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files
@ 2009-12-05 20:28 Chong Yidong
  2009-12-06 10:47 ` Jari Aalto
  0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2009-12-05 20:28 UTC (permalink / raw)
  To: Jari Aalto; +Cc: 4286

> Change against Emacs CVS tree as of 2009-08-29 11:5 UTC
>
> 2009-08-29  Jari Aalto  <jari.aalto@cante.net>
>
>         * ido.el (ido-ignore-files): Add RCS, svn, darcs, sh, git, mtn
>         version control directories.

This change makes sense only if we never want to change these
directories.  In practice, if you are trying to complete a dotfile, you
are already planning to do something funky, so Emacs probably shouldn't
try to do any second-guessing.





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

end of thread, other threads:[~2012-04-11 13:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-29  8:56 bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files Jari Aalto
2009-08-31 19:42 ` Juri Linkov
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

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