Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to save emacsclient and magit in a session #532

Open
paniabhisek opened this issue Jan 21, 2025 · 0 comments
Open

how to save emacsclient and magit in a session #532

paniabhisek opened this issue Jan 21, 2025 · 0 comments

Comments

@paniabhisek
Copy link

I have two questions

Number 1

When I start emacs using emacsclient -c . and use the following in .tmux.conf

set -g @resurrect-processes '"emacsclient -c ."'

It does not restore upon hitting prefix + C+r.

Number 2

In a similar way I want to automate the magit. So I start magit using emacsclient -c --eval "(progn (magit-status) (delete-other-windows))", reference

I am not sure how to put it in the file. I tried

set -g @resurrect-processes '"emacsclient->emacsclient -c --eval \"(progn (magit-status) (delete-other-windows))\""'

It does not work.

Both of them puts me in bash prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant