unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* history-delete-duplicates and read-file-name
@ 2004-11-08 12:40 Piet van Oostrum
  2004-12-20  8:17 ` Piet van Oostrum
  0 siblings, 1 reply; 2+ messages in thread
From: Piet van Oostrum @ 2004-11-08 12:40 UTC (permalink / raw)


The variable history-delete-duplicates, when non-nil, is supposed to
suppress duplicates in minibuffer reads with history. However, there is one
occasion where it fails:

Calling read-file-name with a default that is somewhere in the
file-name-history but not the most recent entry, and selecting the default,
causes read-file-name to add the selected filename, without removing the
existing entry. This is because it adds the new entry after read_minibuf
has finished. It should also check history-delete-duplicates.
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl

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

end of thread, other threads:[~2004-12-20  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08 12:40 history-delete-duplicates and read-file-name Piet van Oostrum
2004-12-20  8:17 ` Piet van Oostrum

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