GNU bug report logs - #39667
26.2; Restarting a *shell* buffer breaks saving history

Previous Next

Package: emacs;

Reported by: ndame <emacsuser <at> freemail.hu>

Date: Tue, 18 Feb 2020 17:22:01 UTC

Severity: normal

Tags: fixed

Found in version 26.2

Fixed in version 28.1

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: ndame <emacsuser <at> freemail.hu>
Cc: 39667 <at> debbugs.gnu.org
Subject: bug#39667: 26.2; Restarting a *shell* buffer breaks saving history
Date: Tue, 27 Oct 2020 13:44:45 +0100
ndame <emacsuser <at> freemail.hu> writes:

> Restart the shell with M-x shell.
>
> Check the value of comint-input-ring-file-name. It's nil, because
> comint-input-ring has already has a value from the previous
> invocation, so shell-mode skips the whole history setup: (when
> (ring-empty-p comint-input-ring) ...

Yup.  This should now be fixed in Emacs 28.

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




This bug report was last modified 4 years and 202 days ago.

Previous Next


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