[Top][All Lists]

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

recentf-cleanup, file-readable-p & remote files

From: Jesper Harder
Subject: recentf-cleanup, file-readable-p & remote files
Date: Fri, 12 Sep 2003 19:18:56 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.0.2)
 of 2003-09-08 on defun.localdomain
configured using `configure '--with-gtk''

If my machine isn't network connected `recentf-cleanup' signals an
error when I turn on recentf-mode in my .emacs and I have opened
remote files (with ange-ftp) in the previous Emacs session.

1. `recentf-cleanup' should probably test with `file-remote-p' before
   calling `file-readable-p' on files.

2. Shouldn't `file-readable-p' [1] return nil in this case rather than
   signal an error?

[1] and `file-exists-p' etc.

reply via email to

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