Skip to main content

Questions tagged [session]

0 votes
0 answers
36 views

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, ...
Tamas Papp's user avatar
1 vote
1 answer
93 views

This worked seamlessly, but at some point, I lost the ability to pass string-type variable values between code blocks in Org Babel. Let’s take the following example: #+begin_src python :session *PY* :...
martinoidar's user avatar
0 votes
1 answer
44 views

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 ...
user2292040's user avatar
1 vote
0 answers
145 views

I'd like my Emacs to perform this way: when opening a file its buffer is automatically reverted to its latest auto save file without saving it. I'd like the same to happen for all the files which get ...
cidra's user avatar
  • 113
0 votes
0 answers
36 views

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&...
user27815's user avatar
  • 249
0 votes
0 answers
87 views

I eventually figured out that the answer to this question https://groups.google.com/g/gnu.emacs.help/c/WZoW0LlqX6c/m/08Sa6alHp1oJ was to choose --bg-daemon rather than --fg-daemon when starting the ...
StackExchanger's user avatar
0 votes
1 answer
348 views

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-...
Herman's user avatar
  • 77
0 votes
0 answers
193 views

For session management, I was happy with inbuilt desktop.el except that it could not retain the term/shell buffers. Everytime I quit emacs, it asked to kill the term/shells. Then I read the ability of ...
user_0525's user avatar
0 votes
2 answers
72 views

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 ...
Wilder's user avatar
  • 105
0 votes
1 answer
196 views

I want to run my python code (that'll eventually become standalone python script) in org-mode. This script requires command line arguments (provided by sys lib's sys.argv). How do I execute python ...
Garid's user avatar
  • 864
1 vote
1 answer
471 views

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) ...
cinnaroll45's user avatar
0 votes
4 answers
520 views

The current question is related to a previous question which is still not fully solved. I have been doing the following: 1 - After executing describe-variable over exec-path, I get: ("/opt/...
Pedro Delfino's user avatar
0 votes
0 answers
42 views

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-...
Alessandro Bertulli's user avatar
0 votes
1 answer
147 views

I usually have multiple instances of doom emacs running (one for every project). I use this line in my config to save the session of each instance after 10 seconds idle time. (run-with-idle-timer 10 t ...
Rotareti's user avatar
  • 506
0 votes
2 answers
300 views

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 &...
xpt's user avatar
  • 547

15 30 50 per page