unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Inconvenience with TRAMP and recentf
@ 2007-07-01 22:15 Alan Hadsell
  2007-07-02  3:15 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alan Hadsell @ 2007-07-01 22:15 UTC (permalink / raw)
  To: gnu-emacs-bug

I'm running emacs 22.1 on Windows, and have recentf turned on.  If
recentf-auto-cleanup is configured with its default, there is a delay
during emacs startup when there are TRAMP-accessed files in the recent
file list.  

This delay is due to the operation of recentf-cleanup, which calls
expand-file-name to canonicalize the names of all the files in its
list.  TRAMP intercepts this call, and opens a session to the remote
host (unless one is already open).  

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.
Before I go away to hack on that solution, does anyone have a better
idea?

-- 
Alan Hadsell

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

end of thread, other threads:[~2007-07-02 21:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-01 22:15 Inconvenience with TRAMP and recentf Alan Hadsell
2007-07-02  3:15 ` Eli Zaretskii
2007-07-02  4:51 ` Michael Albinus
     [not found] ` <mailman.2935.1183346169.32220.bug-gnu-emacs@gnu.org>
2007-07-02 15:08   ` Alan Hadsell
     [not found] ` <mailman.2937.1183364176.32220.bug-gnu-emacs@gnu.org>
2007-07-02 15:31   ` Alan Hadsell
2007-07-02 19:37     ` Michael Albinus
     [not found]     ` <mailman.2973.1183405011.32220.bug-gnu-emacs@gnu.org>
2007-07-02 21:31       ` Alan Hadsell

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).