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:56:07 +0200 [thread overview]
Message-ID: <5cc60a44-7e71-0852-742f-55d87fd25f07@magnaspesmeretrix.org> (raw)
In-Reply-To: <87bkghjok0.fsf@ucl.ac.uk>
Ok it seems that if I add a --no-wait
emacsclient --no-wait -a emacs -c
then "kill-current-buffer" will not delete the client frame.
I only have to check whether this interferes with programs that temporarily call Emacs to edit some text files...
Thank you again for the suggestion!
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.
>
prev parent reply other threads:[~2023-07-12 13:56 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
2023-07-12 14:59 ` Eric S Fraga
2023-07-12 15:43 ` PierGianLuca
2023-07-12 13:56 ` PierGianLuca [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=5cc60a44-7e71-0852-742f-55d87fd25f07@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.