From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: files.el: Once again impossible to turn off dir-settings Date: Tue, 25 Nov 2008 16:48:53 -0500 Message-ID: References: <5f0ff9220811250613yfc12747x288be0767f63c6b6@mail.gmail.com> <5f0ff9220811251100m2372217ao9943f6f5998a9b2b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227649776 18538 80.91.229.12 (25 Nov 2008 21:49:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 21:49:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: "T.V. Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 25 22:50:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L55nU-0001xn-3n for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 22:50:16 +0100 Original-Received: from localhost ([127.0.0.1]:35922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L55mK-0004LD-Po for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 16:49:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L55mG-0004Ky-2U for emacs-devel@gnu.org; Tue, 25 Nov 2008 16:49:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L55mD-0004Kl-ND for emacs-devel@gnu.org; Tue, 25 Nov 2008 16:48:58 -0500 Original-Received: from [199.232.76.173] (port=46188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L55mD-0004Ki-I1 for emacs-devel@gnu.org; Tue, 25 Nov 2008 16:48:57 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39850) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L55mC-0007kX-Cq for emacs-devel@gnu.org; Tue, 25 Nov 2008 16:48:57 -0500 Original-Received: from alfajor.home (vpn-132-204-232-25.acd.umontreal.ca [132.204.232.25]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id mAPLnTbr032208; Tue, 25 Nov 2008 16:49:29 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 2DD5C1C2B4; Tue, 25 Nov 2008 16:48:53 -0500 (EST) In-Reply-To: <5f0ff9220811251100m2372217ao9943f6f5998a9b2b@mail.gmail.com> (T. V. Raman's message of "Tue, 25 Nov 2008 11:00:28 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3155=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106171 Archived-At: > The slowness --- at least as I observe at my end, has not been > fixed. > In the caase of vc-backends, I'm able to avoid global crawls > across NFS filesystems by setting > ;;; vc speed up: > (setq vc-ignore-dir-regexp > "\\`\\([\\/][\\/]\\|/net/\\|/home/\\|/afs/\\)\\'") > Notice the addition of /home above -- in my case /home is nfs > mounted. NFS mounting as such is normally not a problem. So could you explain exactly how is /home mounted? Is it an autofs mount? Do accesses to /home/foobar automatically trigger access to some network server (even if /home/foobar doesn't actually exist)? > I strongly urge you to reconsider forcing all users to take the > hit of searching for project settings. > For now, I've defadviced hack-dir-local-variables like so: > (defadvice hack-dir-local-variables (around fix-slowness pre act comp) > "Restore democracy, restore speed" > nil) There's locate-dominating-stop-dir-regexp (which will apply both to VC and to dir-settings). Stefan