GNU bug report logs - #5843
23.1.95; Bug in recentf-include-p causes data loss

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 6 Apr 2010 12:00:03 UTC

Severity: normal

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo <sdl.web <at> gmail.com>
Subject: bug#5843: closed (Re: 23.1.95; Bug in recentf-include-p causes
 data loss)
Date: Fri, 04 Mar 2011 08:15:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#5843: 23.1.95; Bug in recentf-include-p causes data loss

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5843 <at> debbugs.gnu.org.

-- 
5843: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5843
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 5843-done <at> debbugs.gnu.org
Subject: Re: 23.1.95; Bug in recentf-include-p causes data loss
Date: Fri, 04 Mar 2011 03:14:35 -0500
Version: 24.1

It does seem better to err on the side of caution and include in case of
error.

[Message part 3 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.95; Bug in recentf-include-p causes data loss
Date: Tue, 06 Apr 2010 12:59:17 +0100
There's a bug in `recentf-include-p' that could cause losing all entries
in recentf-list. When a predicate in `recentf-exclude' errs,
`recentf-include-p' returns nil and thus causes an corresponding entry
to be removed. My entire recentf-list (500ish entries) has been damaged
because of this and before I found out the data saved has already been
overwritten.

I think recentf-include-p should not silently ignore an error from any
predicates in recentf-exclude because an error signals a bug in the
predicate itself.


In GNU Emacs 23.1.95.1 (x86_64-apple-darwin10.3.0, Carbon Version 1.6.0 AppKit 1038.29)
 of 2010-04-03 on Victoria.local
Windowing system distributor `Apple Inc.', version 10.6.3




This bug report was last modified 14 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.