GNU bug report logs - #17048
minibuffer history should filter out impossible entries

Previous Next

Package: emacs;

Reported by: Jakub Jankiewicz <jcubic <at> onet.pl>

Date: Thu, 20 Mar 2014 11:11:02 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jakub Jankiewicz <jcubic <at> onet.pl>
Cc: Stefan <monnier <at> iro.umontreal.ca>, 17048 <at> debbugs.gnu.org
Subject: bug#17048: minibuffer history should filter out impossible entries
Date: Fri, 20 Aug 2021 16:45:50 +0200
Jakub Jankiewicz <jcubic <at> onet.pl> writes:

> Yes it's history, I think this fix the bug (but only for buffer names)
>
> (add-hook 'kill-buffer-hook
>           (lambda ()
>             (setq buffer-name-history (delete (buffer-name)
>                                               buffer-name-history))))

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I think this is the correct solution here -- adding a user option for
this could make sense (if many wanted this functionality), but I haven't
really seem much demand for that, so I think doing it via this hook is
the right way to go.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 279 days ago.

Previous Next


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