unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: point of "buffer still has clients" message
Date: Wed, 27 Nov 2013 08:32:14 +0100	[thread overview]
Message-ID: <52959FFE.4060703@poczta.onet.pl> (raw)
In-Reply-To: <barmar-3CE40E.10555326112013@news.eternal-september.org>


W dniu 2013-11-26 16:55, Barry Margolin pisze:
> When you have EDITOR set to most editors, the client starts a new editor
> process, you edit the file, save it, and then exit the editor. The
> client waits for the editor to exit, then it will use the result.
>
> But when you use emacsclient, it's not so simple. Emacs keeps on running
> after you save the file. Emacsclient is waiting for a message from emacs
> telling it that it you're done, so it should exit, and then its client
> application can use the result. You do this with the server-edit (C-x #)
> command.

Barry, that definitely helps to understand the idea. But still it's not 
clear why the things done in server-edit command couldn't be done during 
kill-buffer. The user request is "close the file". They shouldn't have 
to choose between server-edit and kill-buffer.

The user experience is as follows:
1. a shortcut is bound to kill-this-buffer
2. a buffer is edited throught emacsclient
3. user wants to kill the buffer with the shortcut he always uses for 
that or using "File / Close" menu option

So far you both didn't give any justification for the confirmation 
message. If things stay this way we should assume that this message is 
unnecessary and should be removed.

Jarek




  reply	other threads:[~2013-11-27  7:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25  7:52 point of "buffer still has clients" message Jarek Czekalski
2013-11-25 17:07 ` Eli Zaretskii
2013-11-26 15:13   ` Jarek Czekalski
     [not found]   ` <mailman.7173.1385478804.10748.help-gnu-emacs@gnu.org>
2013-11-26 15:55     ` Barry Margolin
2013-11-27  7:32       ` Jarek Czekalski [this message]
2013-11-27  8:42         ` Ian van der Neut
2013-11-27 15:18           ` Ludwig, Mark
     [not found]           ` <mailman.7255.1385566785.10748.help-gnu-emacs@gnu.org>
2013-11-27 22:27             ` Barry Margolin

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52959FFE.4060703@poczta.onet.pl \
    --to=jarekczek@poczta.onet.pl \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).