unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: thibault@thb.lt
Cc: 31859-done@debbugs.gnu.org
Subject: bug#31859: 26.1; Emacs has no way to determine if the current instance has a running server
Date: Sat, 23 Jun 2018 10:52:34 +0300	[thread overview]
Message-ID: <83fu1euegt.fsf@gnu.org> (raw)
In-Reply-To: <83602izoas.fsf@gnu.org> (message from Eli Zaretskii on Sat, 16 Jun 2018 19:30:51 +0300)

> Date: Sat, 16 Jun 2018 19:30:51 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 31859@debbugs.gnu.org
> 
> > From: Thibault Polge <thibault@thb.lt>
> > Date: Sat, 16 Jun 2018 18:27:03 +0200
> > 
> > > Does it work to test whether server-process is bound and non-nil?
> > 
> > It works, indeed.  Would you accept a documentation PR on the variable
> > and the two functions, which are much more obvious candidates?
> > Something like:
> > 
> > For a general way of determining if the current instance has a server
> > running, check the value of `server-process`.
> > 
> > Or a PR adding a stupid helper function like:
> 
> I'd prefer a documentation change, but let's see if someone has other
> opinions.

No further comments, so I installed a documentation change, and I'm
marking this bug done.

Thanks.





      reply	other threads:[~2018-06-23  7:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-16 16:04 bug#31859: 26.1; Emacs has no way to determine if the current instance has a running server Thibault
2018-06-16 16:15 ` Eli Zaretskii
2018-06-16 16:27   ` Thibault Polge
2018-06-16 16:30     ` Eli Zaretskii
2018-06-23  7:52       ` Eli Zaretskii [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

  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=83fu1euegt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=31859-done@debbugs.gnu.org \
    --cc=thibault@thb.lt \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).