Skip to content

Don't close frame when done #172

@HarrisonMc555

Description

@HarrisonMc555

My apologies if this is already documented somewhere and I just didn't find it—I've searched customize for "edit server" and looked through open and closed issues on GitHub and didn't find it.

My personal preference when using the Emacs edit server is to open a new buffer (but not a new frame) when invoked. I would then like to close this buffer (typically with C-c C-c) and close the buffer—but not close the entire frame.

I usually only have one Emacs frame open at a time, so when I invoke the edit server from Chrome it creates a new buffer. I will typically close all other buffers besides the edit server buffer. However, if I do that, then when I finish the edit server buffer and press C-c C-c, it closes the frame and my entire GUI frame is closed. So, I have to launch the GUI again from the command line.

So, my question is this: can I configure edit-server to not close the frame when I'm done with the buffer? But to only close the buffer? When I close other buffers (e.g. kill-current-buffer) the buffer is closed and I'm brought to a different (most recent?) buffer.

For more background information, I am using the Emacs daemon (emacs --daemon) on macOS Mojave. I am using a relatively recent version of emacs_chrome installed manually so I could have access to custom keyboard shortcuts 😄 I believe I installed it about a month or two ago.


And thank you for a great tool! It's really cool and helpful.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions