From: Aaron Meurer <asmeurer@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Making emacsclient more friendly toward multiple terminal tabs
Date: Tue, 3 Apr 2012 10:14:41 -0600 [thread overview]
Message-ID: <CAKgW=6LzHtrByQy3_PGiZ2FQMAtEjmiDpctdBWOvp9toNaNoNA@mail.gmail.com> (raw)
In-Reply-To: <20120403093149.GA25147@joerg.workgroup>
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
> --
> -... --- .-. . -.. ..--.. ...-.-
>
prev parent reply other threads:[~2012-04-03 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 22:35 Making emacsclient more friendly toward multiple terminal tabs Aaron Meurer
2012-04-03 9:31 ` Gregor Zattler
2012-04-03 16:14 ` Aaron Meurer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKgW=6LzHtrByQy3_PGiZ2FQMAtEjmiDpctdBWOvp9toNaNoNA@mail.gmail.com' \
--to=asmeurer@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.