From: David Kastrup <dak@gnu.org>
Cc: Peter Breton <pbreton@cs.umb.edu>,
"T. V. Raman" <raman@users.sourceforge.net>,
emacs-devel@gnu.org
Subject: Re: Reverting *Locate* buffers.
Date: Mon, 26 Jun 2006 09:43:33 +0200 [thread overview]
Message-ID: <853bdsmkey.fsf@lola.goethe.zz> (raw)
In-Reply-To: <200606260327.k5Q3Rfpd013691@jane.dms.auburn.edu> (Luc Teirlinck's message of "Sun, 25 Jun 2006 22:27:41 -0500 (CDT)")
Luc Teirlinck <teirllm@dms.auburn.edu> writes:
> There have been in the past several complaints about the fact that
> trying to revert a *Locate* buffers first asks whether you want to
> update the locate database.
>
> If you answer yes, then in my setup and I would guess in most
> setups, you get an error unless you are running as root, because you
> need to be root to update the locate database. As a result, the
> buffer does not get reverted.
In this case, one option would be to try
(let ((default-directory "/sudo::")) ...
or (depending on the setup of the system)
(let ((default-directory "/su::")) ...
around rerunning the database.
This could be one customization option (and a failed regeneration as
normal user might point out the availability), I think.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2006-06-26 7:43 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 3:27 Reverting *Locate* buffers Luc Teirlinck
2006-06-26 7:43 ` David Kastrup [this message]
2006-06-28 1:58 ` Luc Teirlinck
2006-06-28 3:55 ` T. V. Raman
2006-06-29 3:13 ` Luc Teirlinck
2006-06-29 6:27 ` David Kastrup
2006-06-29 21:52 ` Michael Albinus
2006-06-30 1:55 ` Luc Teirlinck
2006-07-02 20:39 ` Michael Albinus
2006-07-02 20:52 ` Michael Albinus
2006-07-03 2:51 ` Luc Teirlinck
2006-07-03 13:43 ` Michael Albinus
2006-07-03 23:21 ` Richard Stallman
2006-07-04 0:14 ` Luc Teirlinck
2006-07-03 15:05 ` Richard Stallman
2006-07-03 15:37 ` Michael Albinus
2006-07-03 15:41 ` David Kastrup
2006-07-04 15:42 ` Stefan Monnier
2006-06-29 21:58 ` Michael Albinus
2006-06-26 13:15 ` Peter Breton
2006-06-27 1:55 ` Luc Teirlinck
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=853bdsmkey.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=pbreton@cs.umb.edu \
--cc=raman@users.sourceforge.net \
/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.