bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#779: Tramp saves old locations, tries to re-open them on launch


From: Michael Albinus
Subject: bug#779: Tramp saves old locations, tries to re-open them on launch
Date: Tue, 26 Aug 2008 20:04:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> Michael Albinus wrote:
>
>> Likely you have enabled recentf or another package like this. Could
>> you, please, check it in your .emacs?
>
> It's the first entry in "Minor modes in effect:" in the original
> report.

Yep. Charles did already confirm by a PM, that the problem was caused by this.

> There seems to be a fix for this in the trunk recentf-keep:
>
>     Remote files are checked for readability only in case a connection
>     is established to that remote system, otherwise they are kept in
>     the recent list without checking their readability.

Right, but this doesn't work for Emacs 22 (which is used here). Instead
of, recentf-keep recommends there

    A predicate is a function that is passed a filename to check and that
    must return non-nil to keep it.  For example, you can add the
    `file-remote-p' predicate in front of this list to keep remote file
    names in the recent list without checking their readability through a
    remote access.

After all, I guess we can tag this record as "notabug".

Best regards, Michael.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]