Skip to content

how to save emacsclient and magit in a session #532

@paniabhisek

Description

@paniabhisek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions