Questions tagged [session]
The session tag has no summary.
46 questions
0 votes
0 answers
36 views
automatically recover last session when it has unsaved files
Occasionally it happens that I forget to start recover-session after a crash. I would like to automate the following: each time Emacs starts up, check if there are unsaved files in the last session, ...
0 votes
1 answer
44 views
Session-specific bookmarks (e.g. via `desktop-save`)
I use emacs's session-capabilities (i.e. desktop-change-dir and desktop-save-in-desktop-dir) to persist various sessions across different projects where each one has its own “.emacs.dektop”-file. I ...
0 votes
0 answers
36 views
Org babel R sessions setwd value
If I make a new org file: #+begin_src R getwd() #+end_src #+begin_src R :session getwd() #+end_src When I execute the first block, I do not get asked for the "R starting project directory&...
0 votes
1 answer
348 views
Setting (desktop-save-mode t) in init file calls (desktop-read) immediately when starting Emacs in daemon mode. How to avoid?
Previously, I used GUI Emacs, everything worked perfectly - the desktop was saved and restored as it should be. I decided to try Emacs in daemon mode. First I made changes to the init.el file: (custom-...
0 votes
2 answers
72 views
how to eval expression in a elisp "session"?
I would like to eval elisp expressions in a "session" so that side-effects only affect expressions which happen in that "session". For instance defuns that are evaluated in the ...
1 vote
1 answer
471 views
How to share context between two code blocks work using sessions?
Based on the examples I've found on :session , I expect the following code blocks to share the same environment: #+begin_src crystal :session foobar :results output # some boilerplate: def echo(word) ...
0 votes
0 answers
42 views
Bug-hunter finds error but it shouldn't (false positive)
I suspect I'm doing something very stupid but I can't figure out what. I have some problems with Eshell, and I was advised to use Bug-hunter. I installed it through Elpa. When I launch it (M-x bug-...
0 votes
2 answers
300 views
use-package session example please
I want to setup session with use-package but I don't know elisp except copying from working code. Here is what I've copied: ;;;_* session (use-package session :if (not noninteractive) :load-path &...