[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reverting *Locate* buffers.
From: |
T. V. Raman |
Subject: |
Re: Reverting *Locate* buffers. |
Date: |
Tue, 27 Jun 2006 20:55:04 -0700 |
While on the error message regarding tramp, I've found that tramp
being around causes *a lot* of recursive expand file calls ---
try running edebug on anything that calls expand-file-name to see
what I mean.
Basically, tramp should only fire on the "head" of the path
being expanded -- at present it appears to fire for *each* path
component.
>>>>> "Luc" == Luc Teirlinck <address@hidden> writes:
Luc> David Kastrup wrote: In this case, one option would be
Luc> to try (let ((default-directory "/sudo::")) ... or
Luc> (depending on the setup of the system) (let
Luc> ((default-directory "/su::")) ... around rerunning the
Luc> database.
Luc>
Luc> Using the latter, I got the following error message
Luc> while trying to revert the *Locate* buffer (cut and
Luc> pasted from *Messages*):
Luc>
Luc> Loading tramp... [4 times] expand-file-name: Recursive
Luc> load:
Luc> "/usr/local/share/emacs/22.0.50/lisp/net/tramp.elc",
Luc> "/usr/local/share/emacs/22.0.50/lisp/net/tramp.elc",
Luc> "/usr/local/share/emacs/22.0.50/lisp/net/tramp.elc",
Luc> "/usr/local/share/emacs/22.0.50/lisp/net/tramp.elc",
Luc> "/usr/local/share/emacs/22.0.50/lisp/net/tramp.elc"
Luc>
Luc> The *Locate* buffer was not reverted.
Luc>
Luc> Sincerely,
Luc>
Luc> Luc.
--
Best Regards,
--raman
Email: address@hidden
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: address@hidden
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs