all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about Emacs client and server
Date: Wed, 12 Jul 2023 13:34:55 +0100	[thread overview]
Message-ID: <87bkghjok0.fsf@ucl.ac.uk> (raw)
In-Reply-To: d8097f11-6ebf-4272-de44-f2af78976b0a@magnaspesmeretrix.org

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.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-07-10) on Debian 12.0




  reply	other threads:[~2023-07-12 12:34 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 [this message]
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

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=87bkghjok0.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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.