Closed gnusupport closed 1 year ago
Thanks for the proposal. Added shell-maker-transcript-default-path
and shell-maker-transcript-default-filename
. Skipped(getenv "HOME")
to keep the current behavior (default-directory). One can still use (setq shell-maker-transcript-default-path (getenv "HOME"))
if needed.
I set a directory and use the default transcript.txt. If a transcript.txt exists a later C-x C-s will overwrite that file with no confirmation asked so I made a kbd-macro that adds a unix timestamp to the latest transcript.txt filename in the folder and moves that file into another 'archive' folder. :)
I propose that you give to user to customize path to save transcript, following shall be
defcustom
.Then that you do something like this:
where you use that custom path, and if such not exist then $HOME.