Perspective and denote conflict
I just figured out perspective-mode
and how cool is it, I can have a similar
behavior like tmux or default window as window management.
But the problem is when I create perspective frames and in those frames there
is at least one denote file. That frame does not get saved. Why? Because denote
purposefully by default renames it's buffers not to contain all the gibberish
like date when it was created, tag names and so on with this function -
denote-rename-buffer-mode
.
Instead of such filename:
- 20231209T181842–perspective-and-denote-conflict__emacs.org
it renames it to(removes the file extension, tags, date):
- perspective and denote conflict
And when you save in perspective the name of the buffer, it gets saved as this short version which AFTER we try to open the saved perspective - it does not find such filename, because it simply does not exist.
Nice I am happy that I could figure this out.
Let's try to change that variable and see if it helps.
Denote docs - 10. Automatically rename Denote buffers
(denote-rename-buffer-mode -1)
It did help!!! I am a magician!!