From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.bugs Subject: bug#7516: [PATCH] lisp/startup.el (normal-top-level-add-subdirs-to-load-path) Exclude more VCS dirs Date: Mon, 29 Nov 2010 16:04:57 +0200 Message-ID: <877hfwz0mu.fsf@picasso.cante.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1291040111 13531 80.91.229.12 (29 Nov 2010 14:15:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 14:15:11 +0000 (UTC) To: 7516@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 29 15:15:07 2010 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.69) (envelope-from ) id 1PN4VW-0002AO-3U for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 15:15:06 +0100 Original-Received: from localhost ([127.0.0.1]:35743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN4VV-0006RT-C2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 09:15:05 -0500 Original-Received: from [140.186.70.92] (port=59685 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN4VQ-0006RC-0G for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:15:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN4VO-0007Pm-77 for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:14:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN4VO-0007PX-5Q for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 09:14:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PN4Gy-0005AG-DL; Mon, 29 Nov 2010 09:00:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jari Aalto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Nov 2010 14:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7516 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129103917019788 (code B ref -1); Mon, 29 Nov 2010 14:00:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Nov 2010 13:59:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PN4GP-000596-Dy for submit@debbugs.gnu.org; Mon, 29 Nov 2010 08:59:29 -0500 Original-Received: from emh01.mail.saunalahti.fi ([62.142.5.107]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PN4GM-00058t-Rq for submit@debbugs.gnu.org; Mon, 29 Nov 2010 08:59:28 -0500 Original-Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh01-2.mail.saunalahti.fi (Postfix) with SMTP id 47C768C5AC for ; Mon, 29 Nov 2010 16:04:59 +0200 (EET) Original-Received: from emh03.mail.saunalahti.fi ([62.142.5.109]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A07BF232EBA; Mon, 29 Nov 2010 16:04:59 +0200 Original-Received: from picasso.cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 2B71A158A65 for ; Mon, 29 Nov 2010 16:04:57 +0200 (EET) Mail-Copies-To: poster X-Antivirus: VAMS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Nov 2010 09:00:04 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:42004 Archived-At: --=-=-= Content-Type: text/plain Package: emacs Version: 23.2+1-5.1 Severity: wishlist Tags: patch 2010-11-29 Jari Aalto * startup.el: (normal-top-level-add-subdirs-to-load-path): Exclude more VCS directories: .svn, .hg, .bzr, .git and .mtn (monotone). -- System Information Debian Release: squeeze/sid APT Prefers testing APT policy: (990, testing) (500, unstable) (1, experimental) Architecture: amd64 Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux Locale: LANG=en_DK.UTF-8 -- Versions of packages `emacs depends on'. Depends: emacs23 23.2+1-5.1 GNU Emacs is the extensible self-documenting emacs23-lucid 23.2+1-5.1 GNU Emacs is the extensible self-documenting emacs23-nox 23.2+1-5.1 GNU Emacs is the extensible self-documenting --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-startup.el-normal-top-level-add-subdirs-to-load-path.patch >From ebdacca7a561c40777a087ef4a16f2752895edab Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 29 Nov 2010 15:52:58 +0200 Subject: [PATCH] * startup.el: (normal-top-level-add-subdirs-to-load-path): Exclude more VCS directories: .svn, .hg, .bzr, .git and .mtn (monotone). Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- lisp/startup.el | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index da0264d..67f5ebc 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -419,7 +419,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." (push attrs normal-top-level-add-subdirs-inode-list) (dolist (file contents) ;; The lower-case variants of RCS and CVS are for DOS/Windows. - (unless (member file '("." ".." "RCS" "CVS" "rcs" "cvs")) + (unless (member file '("." ".." "RCS" "CVS" "rcs" "cvs" + ".svn" ".hg" ".bzr" ".git" .mtn")) (when (and (string-match "\\`[[:alnum:]]" file) ;; Avoid doing a `stat' when it isn't necessary ;; because that can cause trouble when an NFS server -- 1.7.2.3 --=-=-=--