From: PierGianLuca <luca@magnaspesmeretrix.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about Emacs client and server
Date: Wed, 12 Jul 2023 17:43:46 +0200 [thread overview]
Message-ID: <02590e6c-c07a-6d55-e203-233e2b5c47d9@magnaspesmeretrix.org> (raw)
In-Reply-To: <87edldi3b7.fsf@ucl.ac.uk>
> Regarding closing frames etc., my use case seldom involves killing a
> buffer so it's not something I have encountered. I let buffers build up
I used to do that, but realized that (in my case) it complicated the buffer-switching – often had to go through a long list of buffers or many partial-name-matches before finding the right one.
> In your other post, adding --no-wait is likely to cause issues with some
> uses, I would imagine, where the invoking program thinks you are done...
Thank you for the warning. Yes I fear that. I'll check what happens next time I invoke such a program.
Incidentally, I saw hat in the folder where Emacs (28.1 in my case) gets compiled, it creates an "emacsclient.desktop" file with the following quite complex call:
sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" placeholder %F
I suppose it's written this way to take care of different displays.
I'll report later on how things are going with this setup, if anyone is interested.
One last comment: I also found it useful to set "server-client-instructions" to 'nil'.
Thank you again Eric!
Luca
next prev parent reply other threads:[~2023-07-12 15:43 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 [this message]
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=02590e6c-c07a-6d55-e203-233e2b5c47d9@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.