unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5843: 23.1.95; Bug in recentf-include-p causes data loss
@ 2010-04-06 11:59 Leo
  2011-03-04  8:14 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2010-04-06 11:59 UTC (permalink / raw)
  To: 5843

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







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

* bug#5843: 23.1.95; Bug in recentf-include-p causes data loss
  2010-04-06 11:59 bug#5843: 23.1.95; Bug in recentf-include-p causes data loss Leo
@ 2011-03-04  8:14 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2011-03-04  8:14 UTC (permalink / raw)
  To: 5843-done

Version: 24.1

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





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

end of thread, other threads:[~2011-03-04  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 11:59 bug#5843: 23.1.95; Bug in recentf-include-p causes data loss Leo
2011-03-04  8:14 ` Glenn Morris

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