From: PierGianLuca <luca@magnaspesmeretrix.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about Emacs client and server
Date: Wed, 12 Jul 2023 15:35:57 +0200 [thread overview]
Message-ID: <f1e9e8f7-37f1-c417-7392-6182fa3916a9@magnaspesmeretrix.org> (raw)
In-Reply-To: <87bkghjok0.fsf@ucl.ac.uk>
Thank you very much, Eric!
It work almost smoothly. But it still has some "glitches" (with respect to my workflow).
For example, if I issue a "kill-current-buffer" in a "client buffer" (no "@"), then the buffer will be killed, but the frame stays there, displaying some other buffer (which is what I want). If the frame displayed two buffers, the other buffer remains.
If I issue a "kill-current-buffer" in a "client buffer" (showing "@"), then the whole frame is also closed. This is slightly annoying because I have to check whether the "@" is there or not, in order to know whether the frame will be deleted or not.
On 230712 14:34, Eric S Fraga wrote:
> I achieve pretty much what you want by *always* executing
>
> emacsclient -a emacs -c
>
> (with optional file to open) which will start a fresh emacs is not
> already running but otherwise will create a new frame.
>
> It is up to your emacs initialization to take care of the desktop
> configuration (something I do not do).
>
> The only thing I cannot help with is:
>
>> I notice that some Emacs frames are "emacsclient" ones (they have a
>> "@" in the status line); others are not. I don't see why they should
>> be different.
>
> but I don't find this to be an issue. YMMV, of course.
>
next prev parent reply other threads:[~2023-07-12 13:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 11:34 Question about Emacs client and server PierGianLuca
2023-07-12 12:34 ` Eric S Fraga
2023-07-12 13:35 ` PierGianLuca [this message]
2023-07-12 14:59 ` Eric S Fraga
2023-07-12 15:43 ` PierGianLuca
2023-07-12 13:56 ` PierGianLuca
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=f1e9e8f7-37f1-c417-7392-6182fa3916a9@magnaspesmeretrix.org \
--to=luca@magnaspesmeretrix.org \
--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.