emacsw32

how do i keep emacs server running when the current window is closed (x) on windows using emacsW32?

南楼画角 提交于 2020-01-02 10:15:26
问题 I'm using EmacsW32 (patched) on windows. Emacs is running in server mode so that subsequent calls to emacsclientw open files in the same server session. I have C-x C-c mapped to make the current frame invisible and not kill the emacs server process. I'd like clicking the window's X (close) button to also just hide the frame & not terminate the server process as it currently does. Any ideas ? Thanks! 回答1: Sure, I have a method of doing this. There may be refinements possible, but this is a

how do i keep emacs server running when the current window is closed (x) on windows using emacsW32?

送分小仙女□ 提交于 2020-01-02 10:09:30
问题 I'm using EmacsW32 (patched) on windows. Emacs is running in server mode so that subsequent calls to emacsclientw open files in the same server session. I have C-x C-c mapped to make the current frame invisible and not kill the emacs server process. I'd like clicking the window's X (close) button to also just hide the frame & not terminate the server process as it currently does. Any ideas ? Thanks! 回答1: Sure, I have a method of doing this. There may be refinements possible, but this is a

EmacsW32 renames buffers with old Windows shortened file names

怎甘沉沦 提交于 2019-12-11 07:38:43
问题 Let's see if I can reach the EmacsW32 users on stackoverflow. I've just installed the patched version of EmacsW32 from http://ourcomments.org/Emacs/EmacsW32.html I find it very nice that .txt files are associated wth Emacs, so that when you click on one, emacsclient opens it in the running instance of Emacs. Problem is, for some reason, the buffer is renamed with the old-style shortened file names, so, for example, the buffer with file "activities-2008.txt" is renamed to "ACTIV~1.TXT", which

how do i keep emacs server running when the current window is closed (x) on windows using emacsW32?

老子叫甜甜 提交于 2019-12-06 11:50:59
I'm using EmacsW32 (patched) on windows. Emacs is running in server mode so that subsequent calls to emacsclientw open files in the same server session. I have C-x C-c mapped to make the current frame invisible and not kill the emacs server process. I'd like clicking the window's X (close) button to also just hide the frame & not terminate the server process as it currently does. Any ideas ? Thanks! Sure, I have a method of doing this. There may be refinements possible, but this is a good starting place. First, I setup a variable and advise the kill-emacs function (defvar bnb/really-kill-emacs