]> code.delx.au - gnu-emacs-elpa/commit
Persist shell-buffer name/path history!
authorKen Manheimer <ken.manheimer@gmail.com>
Mon, 14 Dec 2015 07:54:27 +0000 (02:54 -0500)
committerKen Manheimer <ken.manheimer@gmail.com>
Mon, 14 Dec 2015 07:54:27 +0000 (02:54 -0500)
commita74210c2574950645a4c6a2c313d8ea8a8e225c7
treed9ada8666054440d7d3754d6f2f3e4e75d01379b
parent58c4a341fec06d24ac9a2a1f37c4bba289a30c57
Persist shell-buffer name/path history!

Need to manually configure savehist - see instructions.

This is simplest implementation, and a little dicey:
* First time in session that you try to use prior session's settings,
  you just get the path, not the name
* I could make an additional map between names used and paths,
  * and that may be necessary, since it will be unapparent whether or
    not the paths for the names have established.
* There's no way to remove entries, besides editing the history file
  * Would like to implement `Meta-e' "edit current entry",
  * where changing the entry is preserved
  * and deleting the line then concluding removes the entry completely
  * carriage return ends edit mode.
poptoshell.el