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

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

Re: Inconvenience with TRAMP and recentf


From: Eli Zaretskii
Subject: Re: Inconvenience with TRAMP and recentf
Date: Mon, 02 Jul 2007 06:15:59 +0300

> From: Alan Hadsell <address@hidden>
> Date: Sun, 01 Jul 2007 18:15:11 -0400
> Cc: 
> 
> There are several workarounds for this problem: I can reconfigure
> recentf-auto-cleanup to 'never, or exclude TRAMP files from the
> recentf list; neither of these approaches is really appealing.  I'm
> sure there are other ways, too.
> 
> I was thinking to add a boolean recentf-cleanup-local-files-only,
> which would allow us to avoid trying to do cleanup for TRAMP files.

Why does it make sense not to cleanup only remote files?

> Before I go away to hack on that solution, does anyone have a better
> idea?

How about setting recentf-auto-cleanup to a number, which will cause
the cleanup to happen when Emacs is idle for that many seconds?  That
should avoid the startup delay without having the adverse effects of
keeping stale files on the list.




reply via email to

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