From: Thamer Mahmoud <thamer.mahmoud@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: enabling ido requires sudo authentication
Date: Wed, 24 Mar 2010 15:24:15 +0300 [thread overview]
Message-ID: <877hp16h74.fsf@zemblan.newkuwait.org> (raw)
In-Reply-To: 87hbo78mg9.fsf@tux.homenetwork
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> If desktop-mode is enabled and you have a buffer like /etc opened as
> sudo in your saved buffer in desktop, at each time you restart emacs,
> desktop will open this buffer and you will be prompted for sudo
> password.
> So you have to kill these buffers before quitting emacs.
I think someone brought up this issue some time ago (either here on this
list or in EmacsWiki). Based on that discussion, I added the following
hook to my .emacs, and I no longer see a prompt at startup:
(add-hook 'desktop-save-hook 'tramp-cleanup-all-buffers)
I'm using the tramp version included in Emacs 23.
hth,
Thamer
next prev parent reply other threads:[~2010-03-24 12:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 6:20 enabling ido requires sudo authentication Eric Abrahamsen
2010-03-23 8:35 ` Thierry Volpiatto
2010-03-23 9:45 ` Juanma Barranquero
2010-03-23 10:07 ` Thierry Volpiatto
2010-03-24 12:24 ` Thamer Mahmoud [this message]
2010-03-24 2:34 ` Óscar Fuentes
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=877hp16h74.fsf@zemblan.newkuwait.org \
--to=thamer.mahmoud@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.