From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: enabling ido requires sudo authentication Date: Tue, 23 Mar 2010 14:20:09 +0800 Message-ID: <1269325209.18666.26.camel@zerihar> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269325291 18203 80.91.229.12 (23 Mar 2010 06:21:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 06:21:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 23 07:21:27 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 1NtxUJ-0005CY-FM for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Mar 2010 07:21:15 +0100 Original-Received: from localhost ([127.0.0.1]:36188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtxUI-0002Lt-CB for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Mar 2010 02:21:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtxTm-0002LZ-VP for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 02:20:43 -0400 Original-Received: from [140.186.70.92] (port=45631 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtxTk-0002LH-Gf for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 02:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtxTi-0001jx-LH for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 02:20:40 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:35720) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtxTi-0001jn-IK for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 02:20:38 -0400 Original-Received: by gwj21 with SMTP id 21so4527795gwj.0 for ; Mon, 22 Mar 2010 23:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=nizCNg9ADDqFdHna4AUpJ6EuuGXxhGPLvi6PHb6m+jY=; b=Anl8hPx40dm1jPywADaqWekPjOkUheQO+pRtJWDDSM5pRDeXsdoATTK3A+ICfjiX/M UXUJJ7mqlUsSlk8y9zsk1+ivsZzm7staEOz2qnxVrmm7j+rbPyTuh/iKLPcZWvafCitt F9XB9lBclZsaesUYcvmJ5LTxbHf7ndSkYAoHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=VARegqHOCqibZcZRmiBHM970xzRs+rL48aBgeoZ+J0dDqbmRBXqK963hStzMX3/CC9 LGRmzitg8xt90amS7FqujmJnwLgvYbrfgyvxPfrXO3RTHCMq01/+ufJa78er6/DC+O7k lVMVl1rlAKTeaZmtkQW+wnnFzqEG7y1FL9EAM= Original-Received: by 10.150.56.27 with SMTP id e27mr3857392yba.251.1269325237535; Mon, 22 Mar 2010 23:20:37 -0700 (PDT) Original-Received: from [192.168.0.2] ([123.121.210.254]) by mx.google.com with ESMTPS id 8sm765196yxg.13.2010.03.22.23.20.34 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Mar 2010 23:20:36 -0700 (PDT) X-Mailer: Evolution 2.28.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:72456 Archived-At: Hi, I'm having a very weird problem: I recently switched from a Mac to Ubuntu, and at some point during the tweaking and adjusting and fixing, ido-mode started requiring my administrative password, via tramp. I have ido turned on via the customize interface, and commenting out: '(ido-mode (quote both) nil (ido)) in the customize variable list fixes the problem. It also turns off ido-mode, obviously, and re-enabling it via M-x ido-mode once again prompts for my sudo password (I see "Password for /sudo:root@mymachine:" in the minibuffer). My password entered, ido-mode is enabled and all is well. This leaves me with an open buffer called *tramp/sudo root@mymachine*, the contents of which is this single line: (("`/etc/'") 155 0 0 1269322750.0 1269322641.0 1269322641.0 12288.0 "drwxr-xr-x" t 16386.0 -1) This is deeply mysterious to me (I have no open file or dired buffers under /etc/), but it sure looks meaningful and I hope someone here will have a clue as to what's going on. I have recentf and desktop-mode enabled; there are no root-owned files in recentf or desktop, and while desktop's "file-name-history" variable had some sudo files, setting that variable to the empty list and restarting didn't change anything. Any and all help appreciated! Eric GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on crested, modified by Debian These are all my other ido-related customizations, I don't have any non-customize ido variables set: '(ido-auto-merge-work-directories-length -1) '(ido-create-new-buffer (quote always)) '(ido-enable-flex-matching t) '(ido-enable-tramp-completion nil) '(ido-everywhere t) '(ido-max-work-directory-list 10) '(ido-mode (quote both) nil (ido)) ;this is requiring sudo '(ido-record-ftp-work-directories nil) '(ido-show-dot-for-dired t)