unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tramp questions at start up
@ 2007-05-22 16:09 Sebastian P. Luque
  2007-05-22 16:22 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian P. Luque @ 2007-05-22 16:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Whenever I start Emacs (GNU Emacs 22.0.990.1 (x86_64-pc-linux-gnu, X
toolkit, Xaw3d scroll bars) of 2007-05-21 on elegiac, modified by Debian,
thank you Romain for the new AMD64 packages), tramp asks me for the
password of /su::.  This has been happening for the last few days, and the
only source of this I can think of is an Emacs crash just prior to that,
when I was accessing some /su:: files.  Is there some way to fix this or
any ideas on how to trace this (--debug-init is not helping me because
this is not really an error.)?


Cheers,

-- 
Seb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tramp questions at start up
  2007-05-22 16:09 tramp questions at start up Sebastian P. Luque
@ 2007-05-22 16:22 ` Lennart Borgman (gmail)
  2007-05-22 16:49   ` Sebastian P. Luque
       [not found]   ` <mailman.1002.1179852623.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2007-05-22 16:22 UTC (permalink / raw)
  To: Sebastian P. Luque; +Cc: help-gnu-emacs

Sebastian P. Luque wrote:
> Hi,
> 
> Whenever I start Emacs (GNU Emacs 22.0.990.1 (x86_64-pc-linux-gnu, X
> toolkit, Xaw3d scroll bars) of 2007-05-21 on elegiac, modified by Debian,
> thank you Romain for the new AMD64 packages), tramp asks me for the
> password of /su::.  This has been happening for the last few days, and the
> only source of this I can think of is an Emacs crash just prior to that,
> when I was accessing some /su:: files.  Is there some way to fix this or
> any ideas on how to trace this (--debug-init is not helping me because
> this is not really an error.)?

Something with recentf?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tramp questions at start up
  2007-05-22 16:22 ` Lennart Borgman (gmail)
@ 2007-05-22 16:49   ` Sebastian P. Luque
  2007-05-22 17:01     ` Lennart Borgman (gmail)
  2007-05-22 21:45     ` Xavier Maillard
       [not found]   ` <mailman.1002.1179852623.32220.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 6+ messages in thread
From: Sebastian P. Luque @ 2007-05-22 16:49 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, 22 May 2007 18:22:47 +0200,
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:

[...]

> Something with recentf?

Precisely! Thanks Lennart.  I removed the /su:: item for the ~/.recentf
list and start-up is back to normal.  But I guess this shouldn't happen if
the file is simply in that list, as opposed to actually accessing it,
should it?


-- 
Seb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tramp questions at start up
  2007-05-22 16:49   ` Sebastian P. Luque
@ 2007-05-22 17:01     ` Lennart Borgman (gmail)
  2007-05-22 21:45     ` Xavier Maillard
  1 sibling, 0 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2007-05-22 17:01 UTC (permalink / raw)
  To: Sebastian P. Luque; +Cc: help-gnu-emacs

Sebastian P. Luque wrote:
> On Tue, 22 May 2007 18:22:47 +0200,
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
> 
> [...]
> 
>> Something with recentf?
> 
> Precisely! Thanks Lennart.  I removed the /su:: item for the ~/.recentf
> list and start-up is back to normal.  But I guess this shouldn't happen if
> the file is simply in that list, as opposed to actually accessing it,
> should it?

Look at the clean up options for recentf.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tramp questions at start up
       [not found]   ` <mailman.1002.1179852623.32220.help-gnu-emacs@gnu.org>
@ 2007-05-22 19:42     ` Stefan Reichör
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Reichör @ 2007-05-22 19:42 UTC (permalink / raw)
  To: help-gnu-emacs

Sebastian P. Luque <spluque@gmail.com> writes:

> On Tue, 22 May 2007 18:22:47 +0200,
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
>
> [...]
>
>> Something with recentf?
>
> Precisely! Thanks Lennart.  I removed the /su:: item for the ~/.recentf
> list and start-up is back to normal.  But I guess this shouldn't happen if
> the file is simply in that list, as opposed to actually accessing it,
> should it?

Try the following:

(setq recentf-keep '(file-remote-p file-readable-p))


Stefan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: tramp questions at start up
  2007-05-22 16:49   ` Sebastian P. Luque
  2007-05-22 17:01     ` Lennart Borgman (gmail)
@ 2007-05-22 21:45     ` Xavier Maillard
  1 sibling, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2007-05-22 21:45 UTC (permalink / raw)
  To: Sebastian P. Luque; +Cc: help-gnu-emacs

Hi,

   > Something with recentf?

   Precisely! Thanks Lennart.  I removed the /su:: item for the ~/.recentf
   list and start-up is back to normal.  But I guess this shouldn't happen if
   the file is simply in that list, as opposed to actually accessing it,
   should it?

Something like this in your configuration file should help:

(recentf-exclude (quote (".ftp:.*" ".sudo:.*")))
(recentf-keep (file-remote-p file-readable-p))

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-22 21:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 16:09 tramp questions at start up Sebastian P. Luque
2007-05-22 16:22 ` Lennart Borgman (gmail)
2007-05-22 16:49   ` Sebastian P. Luque
2007-05-22 17:01     ` Lennart Borgman (gmail)
2007-05-22 21:45     ` Xavier Maillard
     [not found]   ` <mailman.1002.1179852623.32220.help-gnu-emacs@gnu.org>
2007-05-22 19:42     ` Stefan Reichör

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).