all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T.V. Raman" <tv.raman.tv@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: files.el: Once again impossible to turn off dir-settings
Date: Tue, 25 Nov 2008 11:00:28 -0800	[thread overview]
Message-ID: <5f0ff9220811251100m2372217ao9943f6f5998a9b2b@mail.gmail.com> (raw)
In-Reply-To: <jwvabbnn7v8.fsf-monnier+emacs@gnu.org>

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

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)

-- 
Best Regards,
--raman

Title:  Research Scientist
Email:  raman@google.com
WWW:    http://emacspeak.sf.net/raman/
Google: tv+raman
GTalk:  raman@google.com, tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc



On 11/25/08, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> I've been watching the thread about forcing users to always take
>> the performance hit of walking up the directory tree with some
>> dismay. I notice that after the latest round of changes, it has
>> once again become impossible to disable project settings ---
>> other than locally advising hack-dir-local-variables ---
>> something the extreme ened of power users can certainly do -- (I
>> already have).
>
> I thought we had fixed this slowness.  I often access files over the
> network and have not bumped into this slowness, so I'm pretty sure it
> can be avoided without turning off the feature.  Especially since the
> "walk up the dir" is not done only for dir-settings but also for
> VC backends, so it's pretty heavily used (meaning not that it's
> important, but that we should have seen this slowness more often if it
> was "normal").
>
> Can we go back to trying to actually fix the slowness rather than
> workaround it?
>
>
>         Stefan
>
>




  reply	other threads:[~2008-11-25 19:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 14:13 files.el: Once again impossible to turn off dir-settings T.V. Raman
2008-11-25 15:30 ` Stefan Monnier
2008-11-25 19:00   ` T.V. Raman [this message]
2008-11-25 21:48     ` Stefan Monnier
2008-11-25 22:42       ` Chong Yidong
2008-11-26  1:37         ` Stefan Monnier
2008-11-26  4:33       ` T.V. Raman
2008-11-26 14:37         ` Stefan Monnier
2008-11-29  3:46     ` Miles Bader
2008-11-25 16:04 ` Juri Linkov
2008-11-25 19:03   ` T.V. Raman
2008-11-25 20:02   ` Tom Tromey
2008-11-25 22:19     ` T.V. Raman
2008-11-27  0:00       ` Juri Linkov

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

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

  git send-email \
    --in-reply-to=5f0ff9220811251100m2372217ao9943f6f5998a9b2b@mail.gmail.com \
    --to=tv.raman.tv@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.