From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thamer Mahmoud Newsgroups: gmane.emacs.help Subject: Re: enabling ido requires sudo authentication Date: Wed, 24 Mar 2010 15:24:15 +0300 Message-ID: <877hp16h74.fsf@zemblan.newkuwait.org> References: <1269325209.18666.26.camel@zerihar> <87hbo78mg9.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269433956 18322 80.91.229.12 (24 Mar 2010 12:32:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2010 12:32:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 24 13:32:33 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NuPkn-0003dm-DW for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Mar 2010 13:32:32 +0100 Original-Received: from localhost ([127.0.0.1]:33757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuPiB-0006nP-Pe for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Mar 2010 08:29:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuPdW-0005Py-Ml for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 08:24:38 -0400 Original-Received: from [140.186.70.92] (port=52447 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuPdV-0005Pe-GQ for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 08:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuPdU-0004by-M5 for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 08:24:37 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34609) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuPdU-0004bk-DC for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 08:24:36 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NuPdT-0000ym-2q for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 13:24:35 +0100 Original-Received: from 89.203.6.209 ([89.203.6.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Mar 2010 13:24:35 +0100 Original-Received: from thamer.mahmoud by 89.203.6.209 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Mar 2010 13:24:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 89.203.6.209 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:1sa0hGPwZndu3SpmkOsGBuiUcbw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72471 Archived-At: Thierry Volpiatto 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