all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Suggestion: vc-hooks.el: Make vc-handled-backends more conservative?
@ 2006-10-10  1:44 T. V. Raman
  2006-10-10  3:23 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: T. V. Raman @ 2006-10-10  1:44 UTC (permalink / raw)


In vc-hooks.el, vc-handled-backends
is presently declared to handle a large number of backends:

(defcustom vc-handled-backends '(RCS CVS SVN SCCS Arch MCVS)

The last two --arch and MCVS have a particularly bad performance
penalty on systems that have NFS mounts in places other than /net
or /afs --- se variable vc-ignore-dir-regexp

Unless one discovers the above variable (vc-ignore-dir-regexp is
declared as a defvar, and not as defcustom)
nfs based systems take a heavy performance hit --- since function
vc-find-root recursively ascends the directory tree in attempting
to check if files are under version control.

Suggestions:

A) Possibly make vc-handled-backends more conservative by pruning
        it to have RCS CVS and SVN on it by default.

B)      Make vc-ignore-dir-regexp a customizable option via
defcustom,
        and add a pointer to it in the docstring for
        vc-handled-backends so that users discover its purpose

        In my case I chased it down by examining the source code
        after observing that emacs was making excessive nfs
        accesses during file load and save.

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

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

end of thread, other threads:[~2006-10-13  5:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10  1:44 Suggestion: vc-hooks.el: Make vc-handled-backends more conservative? T. V. Raman
2006-10-10  3:23 ` Stefan Monnier
2006-10-11 13:28   ` T. V. Raman
2006-10-11 18:28     ` Stefan Monnier
2006-10-13  1:31       ` T. V. Raman
2006-10-13  5:23         ` Stefan Monnier

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.