unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66700: 30.0.50; Some history is missing with multiple eshell buffers
@ 2023-10-23 12:14 Liu Hui
  2023-11-14  4:40 ` Liu Hui
  0 siblings, 1 reply; 12+ messages in thread
From: Liu Hui @ 2023-10-23 12:14 UTC (permalink / raw)
  To: 66700

Hi,

Eshell saves history by default when quitting the buffer or emacs, but
some history is missing when there are multiple eshell buffers. For
example,

1. emacs -Q
2. M-x eshell, and type foo
3. C-u M-x eshell, and type bar
4. quit emacs

I would expect both commands are saved, but in fact only one command
is saved in the file eshell-history-file-name. I think the reason is
the history file is always overwritten when an eshell buffer tries to
save the history, so maybe eshell should save commands by appending
to the file?

Best

--
Liu Hui





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

end of thread, other threads:[~2023-12-08 22:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 12:14 bug#66700: 30.0.50; Some history is missing with multiple eshell buffers Liu Hui
2023-11-14  4:40 ` Liu Hui
2023-11-14 12:32   ` Eli Zaretskii
2023-11-14 12:43     ` Sean Whitton
2023-11-14 17:15       ` Jim Porter
2023-11-16  9:47         ` Liu Hui
2023-12-06 15:33           ` Sean Whitton
2023-12-07 10:23             ` Liu Hui
2023-12-07 11:33               ` Sean Whitton
2023-12-08 22:53                 ` Jim Porter
2023-11-15  9:59     ` Liu Hui
2023-11-15 12:22       ` Eli Zaretskii

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