help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making emacsclient more friendly toward multiple terminal tabs


From: Aaron Meurer
Subject: Re: Making emacsclient more friendly toward multiple terminal tabs
Date: Tue, 3 Apr 2012 10:14:41 -0600

On Tue, Apr 3, 2012 at 3:31 AM, Gregor Zattler <telegraph@gmx.net> wrote:
> Hi Aaron,
> * Aaron Meurer <asmeurer@gmail.com> [02. Apr. 2012]:
>> - Very often, when I close an emacsclient (with C-x C-s C-x C-c), it
>> bugs me about saving buffers in other emacsclients.
>
> The way to close editing documents opend with one emacsclient is
> server-edit per default bound to 'C-x #'.

OK, I guessed this might solve at least some of the problems.  How do
I rebind C-x C-c to server-edit when I'm in emacsclient mode, but
still use save-buffers-kill-terminal in regular emacs (which I do
occasionally use)?

Aaron Meurer

>
>
>> - If I open a file, make a change, then close it without saving, and
>> reopen it, the change is still there.  I understand why this happens,
>> because the buffer remains open in the daemon, but this is not really
>> what I want.
>
> Also, if you use server-edit to close a buffer, you are then
> asked if you want to save the buffer.  If not it's unchanged when
> you open the file next time with emacsclient.  This brings up
> your other problemn about stopping Emacs with open prompts.
>
>
> Ciao, Gregor
> --
>  -... --- .-. . -.. ..--.. ...-.-
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]