1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
emacs/lisp/eshell
Liu Hui 8b3969006f Improve read/append behavior of eshell history command
* lisp/eshell/em-hist.el (eshell-hist--new-items): New variable.
(eshell-hist-initialize): Initialize 'eshell-hist--new-items' to 0.
(eshell/history): Change the behavior of 'history -a' to "append new
history in current buffer to history file".  Clarify the help text of
'history -r'.
(eshell-add-input-to-history): Increase counter of new history items.
(eshell-read-history): Respect 'eshell-hist-ignoredups' option.
(eshell-write-history): If the optional argument APPEND is non-nil,
appending new history items rather than the whole history.

* test/lisp/eshell/em-hist-tests.el (em-hist-test/history-append)
(em-hist-test/history-read): New tests (bug#66768).
2023-11-10 18:00:07 -08:00
..
em-alias.el
em-banner.el
em-basic.el Add debug instrumentation for Eshell process management 2023-08-31 18:42:03 -07:00
em-cmpl.el Add 'eshell-special-ref-alist' to allow extending Eshell special refs 2023-10-24 11:36:27 -07:00
em-dirs.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-elecslash.el
em-extpipe.el Support arbitrary Eshell arguments inside special references 2023-10-24 11:36:27 -07:00
em-glob.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-hist.el Improve read/append behavior of eshell history command 2023-11-10 18:00:07 -08:00
em-ls.el Don't try to set variable removed in Emacs 21 2023-08-25 01:41:47 +02:00
em-pred.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-prompt.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
em-rebind.el
em-script.el Don't print subjob messages when running an Eshell script in the background 2023-10-02 20:49:40 -07:00
em-smart.el Speed up Eshell smart display module 2023-10-28 15:46:08 -07:00
em-term.el Add nvim and ncmpcpp to eshell-visual-commands 2023-08-02 21:57:15 +02:00
em-tramp.el
em-unix.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
em-xtra.el
esh-arg.el Add a new Eshell special reference type for markers 2023-10-24 12:28:00 -07:00
esh-cmd.el Add 'eshell-special-ref-alist' to allow extending Eshell special refs 2023-10-24 11:36:27 -07:00
esh-ext.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io.el Support arbitrary Eshell arguments inside special references 2023-10-24 11:36:27 -07:00
esh-mode.el Fix behavior of Eshell prompt when yanking output into it 2023-10-11 12:44:31 -07:00
esh-module.el
esh-opt.el
esh-proc.el Add 'eshell-special-ref-alist' to allow extending Eshell special refs 2023-10-24 11:36:27 -07:00
esh-util.el Add 'eshell-special-ref-alist' to allow extending Eshell special refs 2023-10-24 11:36:27 -07:00
esh-var.el Fix documented Eshell behavior of ignoring leading nils in commands 2023-09-15 13:43:07 -07:00
eshell.el Support Eshell iterative evaluation in the background 2023-10-02 20:49:41 -07:00