Questions tagged [persistence]

Questions involving saving parts of Emacs' state to disk

Filter by
Sorted by
Tagged with
1
vote
2answers
10 views

Howto cache completing-read inputs

Is there a simple framework for making previous inputs of completing-read persistent across emacs restarts? For instance if I start with: (completing-read "test:" '("a" "b") nil nil) and enter "c" ...
0
votes
1answer
22 views

How can I persist my compile ring

I would like to persist my compile-ring, by which I mean the history of compile commands I use, between emacs sessions. Is there a simple way to accomplish this?
3
votes
0answers
315 views

Make pdf-tools remember the page I was on

How to make pdftools remember the page I was on when I close a PDF document, restart Emacs and reopen the PDF? Some PDF readers after opening a document go to the last page the user was on and don't ...
2
votes
1answer
53 views

Can I save my place in an info file?

I am reading through An Introduction to Programming in Emacs Lisp in an emacs buffer. I get to the file through C-h i and navigated to Emacs Lisp Intro. If I kill the buffer and return the same way, ...
1
vote
0answers
86 views

Why doesn't desktop-save-mode persist neotree?

Desktop-save-mode seems to save all windows except neotree - When I restart emacs, the neotree window is always gone. Why is this window different from the others? Is it possible for neotree's state ...
5
votes
1answer
343 views

persistent org-mode clock-in history

Is there a way to make the list of recently clocked-in tasks in org-mode persistent across Emacs restarts and (more importantly) closed buffers? It's annoying having to find the previous task just ...
4
votes
1answer
235 views

How to store the variable value after Emacs was closed

Suppose, we have a variable defined in ~/.emacs: (defvar *my-var* "") Then in **scratch** buffer we set some value to it: (setq *my-var* "value") After we close emacs the value will be lost. How ...
0
votes
1answer
58 views

list data structure split across files?

If I were trying to use a list as a data structure -- and it was getting really big -- is there a precedent of breaking it up and having it span files? One particular list of mine is looking very tree-...
4
votes
2answers
2k views

How to do a simple write to file

I simply need to take the output of org-element-parse-buffer and put it in a file -- maybe with some "if-does-not-exist" etc. bells and whistles. In CL I have with-open-file and write as tools. For ...
9
votes
2answers
710 views

How to Persist Evil Markers?

I want to be able to save my buffer local evil markers (m to mark a location and then ' or ` to jump to it) across emacs sessions/instances. I'm not really sure how to do this. I tried installing/...