From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83fu1euegt.fsf@gnu.org> References: <87tvq2d8fw.fsf@thb.lt> <83a7ruzp0o.fsf@gnu.org> <87sh5md7e0.fsf@thb.lt> <83602izoas.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529740267 28516 195.159.176.226 (23 Jun 2018 07:51:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 07:51:07 +0000 (UTC) Cc: 31859-done@debbugs.gnu.org To: thibault@thb.lt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 09:51:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWdK2-0007JD-5g for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 09:51:02 +0200 Original-Received: from localhost ([::1]:37476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWdM9-0007FY-HP for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 03:53:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWdM3-0007Eg-0E for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 03:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWdLy-0007wn-4l for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 03:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWdLy-0007wh-1S for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 03:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWdLx-0001pR-RQ for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 03:53:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 07:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 31859 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 31859@debbugs.gnu.org, eliz@gnu.org, thibault@thb.lt Original-Received: via spool by 31859-done@debbugs.gnu.org id=D31859.15297403586997 (code D ref 31859); Sat, 23 Jun 2018 07:53:01 +0000 Original-Received: (at 31859-done) by debbugs.gnu.org; 23 Jun 2018 07:52:38 +0000 Original-Received: from localhost ([127.0.0.1]:60744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWdLY-0001ol-Bq for submit@debbugs.gnu.org; Sat, 23 Jun 2018 03:52:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWdLX-0001oa-68 for 31859-done@debbugs.gnu.org; Sat, 23 Jun 2018 03:52:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWdLN-0007jM-26 for 31859-done@debbugs.gnu.org; Sat, 23 Jun 2018 03:52:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWdLM-0007jG-Un; Sat, 23 Jun 2018 03:52:24 -0400 Original-Received: from [176.228.60.248] (port=2116 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWdLM-00082H-6Q; Sat, 23 Jun 2018 03:52:24 -0400 In-reply-to: <83602izoas.fsf@gnu.org> (message from Eli Zaretskii on Sat, 16 Jun 2018 19:30:51 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147755 Archived-At: > Date: Sat, 16 Jun 2018 19:30:51 +0300 > From: Eli Zaretskii > Cc: 31859@debbugs.gnu.org > > > From: Thibault Polge > > 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.