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

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

Re: tramp and open recent


From: David PONCE
Subject: Re: tramp and open recent
Date: Tue, 8 Mar 2005 13:31:23 +0100 (CET)

Hi Frederik,

> Symptoms:
> 
> Open recent also records information about remote files (such as the
> ones opened with tramp).  The disadvantage is however that just having
> remote files in the recent list, triggers opening of connections to
> these servers, which is annoying if one doesn't want to do anything
> with these files anymore.  Yes, they can be deleted from the list, but
> that would mean that you have to edit the list every time after
> opening a remote connection.  Yes, they can be excluded, but I think
> that is too forceful a measure.
> 
> I don't really have any firm ideas about how one could go about this
> (I don't know why the connection is opened in the first place).

I think you can exclude remote files from the recent list by adding the
predicate `file-remote-p' to the customizable option `recentf-exclude'.

David





reply via email to

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