The following happens fairly often to me:
- I do
emacs note-xyz
in the terminal to create a new note - I write something in the note
- I forget to save before logging out
Now I'm left with a file #note-xyz#
in my directory, without corresponding note-xyz
.
What's the fastest way to open #note-xyz#
as note-xyz
, so that from then on C+x C+s
saves to the intended filename? Ideally I'm looking for a single command that I can put in an alias.
C-x C-w
to a different name.