From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4286: CVS: lisp/ido.el -- improve ido-ignore-files Date: Mon, 31 Aug 2009 22:42:50 +0300 Organization: JURTA Message-ID: <87tyznu5vp.fsf@mail.jurta.org> References: <87ljl3ov64.fsf@jondo.cante.net> Reply-To: Juri Linkov , 4286@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251750499 11427 80.91.229.12 (31 Aug 2009 20:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 20:28:19 +0000 (UTC) Cc: 4286@emacsbugs.donarmstrong.com To: Jari Aalto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 22:28:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MiDTz-00048g-Mu for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 22:28:08 +0200 Original-Received: from localhost ([127.0.0.1]:43170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiDTy-0007oH-U2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 16:28:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiDT7-0007KI-1V for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 16:27:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiDT0-0007Fd-VT for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 16:27:11 -0400 Original-Received: from [199.232.76.173] (port=60473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiDT0-0007F6-F4 for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 16:27:06 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43322) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MiDSx-0002V4-Gg for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 16:27:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VKQt1e020787; Mon, 31 Aug 2009 13:26:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7VKF8B4018539; Mon, 31 Aug 2009 13:15:08 -0700 Resent-Date: Mon, 31 Aug 2009 13:15:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 31 Aug 2009 20:15:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4286 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 4286-submit@emacsbugs.donarmstrong.com id=B4286.125174936317385 (code B ref 4286); Mon, 31 Aug 2009 20:15:08 +0000 Original-Received: (at 4286) by emacsbugs.donarmstrong.com; 31 Aug 2009 20:09:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VK9LiZ017382 for <4286@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 13:09:23 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.53.175.cable.starman.ee [82.131.53.175]) by mx1.starman.ee (Postfix) with ESMTP id 490223F4240; Mon, 31 Aug 2009 23:09:16 +0300 (EEST) In-Reply-To: <87ljl3ov64.fsf@jondo.cante.net> (Jari Aalto's message of "Sat, 29 Aug 2009 11:56:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 31 Aug 2009 16:27:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30692 Archived-At: > * 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/