From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: enabling ido requires sudo authentication
Date: Wed, 24 Mar 2010 03:34:10 +0100 [thread overview]
Message-ID: <87bpeeh2hp.fsf@telefonica.net> (raw)
In-Reply-To: 1269325209.18666.26.camel@zerihar
Eric Abrahamsen <girzel@gmail.com> writes:
> 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).
Somethig similar happened to me recently. The solution was to remove
$HOME/.ido.last That file keeps a history of visited files. I suspect
that if you ever visited a file as root via TRAMP, the fact is recorded
and when ido-mode is activated on the next emacs session somehow it
tries to access the file, or at least test for its existence, which
activates TRAMP.
There are other issues with ido-mode and TRAMP. For instance, sometimes
ido loads TRAMP for no reason, as in Windows the first time you enter a
path containing a colon. ido-mode has some variables for avoiding
loading TRAMP but they doesn't work on that case. I perused the source
code without success. I guess that ido invokes some generic facility
which is TRAMP-aware, that is, the problem is not in ido.el itself but
on some emacs API.
[snip]
prev parent reply other threads:[~2010-03-24 2:34 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
2010-03-24 2:34 ` Óscar Fuentes [this message]
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=87bpeeh2hp.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--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.