[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to stop TRAMP from asking for sudo password on every startup?
From: |
Michael Albinus |
Subject: |
Re: How to stop TRAMP from asking for sudo password on every startup? |
Date: |
Thu, 17 Apr 2008 19:17:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Jonathan Groll <lists@groll.co.za> writes:
> On Wed, Apr 16, 2008 at 08:32:53AM -0700, Jason Rumney wrote:
>> On Apr 16, 9:45 am, Jonathan Groll wrote:
>>
>> > This problem seems to have
>> > started after I opened some buffers with /sudo::/ , from what I can
>> > tell there is nothing in my .emacs or custom.el actively starting
>> > tramp.
>>
>> Do you use desktop.el or some other package that saves state between
>> sessions?
>
> Aha! You've set me on the right track, it was:
> (require 'recentf)
> (recentf-mode 1)
See variable `recentf-keep'. The following might prevent the trouble in
the future (I assume you're running Emacs 22):
(add-to-list 'recentf-keep 'file-remote-p)
With Emacs 23, this won't be necessary.
> Many thanks,
> Jonathan.
Best regards, Michael.