From unknown Sat Aug 09 04:57:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23576 <23576@debbugs.gnu.org> To: bug#23576 <23576@debbugs.gnu.org> Subject: Status: [documentation] =?UTF-8?Q?=E2=80=98Using?= Emacs as a =?UTF-8?Q?Server=E2=80=99:_?= =?UTF-8?Q?=E2=80=98M-x?= set-variable RET server-name RET foo =?UTF-8?Q?RET=E2=80=99?= Reply-To: bug#23576 <23576@debbugs.gnu.org> Date: Sat, 09 Aug 2025 11:57:31 +0000 retitle 23576 [documentation] =E2=80=98Using Emacs as a Server=E2=80=99: = =E2=80=98M-x set-variable RET server-name RET foo RET=E2=80=99 reassign 23576 emacs submitter 23576 Dmitry Alexandrov <321942@gmail.com> severity 23576 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 18 15:25:30 2016 Received: (at submit) by debbugs.gnu.org; 18 May 2016 19:25:30 +0000 Received: from localhost ([127.0.0.1]:57277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3761-0008VH-QI for submit@debbugs.gnu.org; Wed, 18 May 2016 15:25:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <321942@gmail.com>) id 1b3760-0008V5-0g for submit@debbugs.gnu.org; Wed, 18 May 2016 15:25:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b375t-0001rV-R2 for submit@debbugs.gnu.org; Wed, 18 May 2016 15:25:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b375t-0001rQ-O5 for submit@debbugs.gnu.org; Wed, 18 May 2016 15:25:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b375s-0007qk-Df for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 15:25:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b375m-0001o6-Da for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 15:25:19 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:34348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <321942@gmail.com>) id 1b375m-0001nx-0O for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 15:25:14 -0400 Received: by mail-lf0-x229.google.com with SMTP id m64so24215703lfd.1 for ; Wed, 18 May 2016 12:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=btoNyu0fv4cbJAhRn8+1xkLzAAQWqBdZ8UyJzLdCLqM=; b=DZyn0dGkvXT2lZVq8rW71Aj/hdeMqdvrHl6OxvREXxj4S19ox3gKv0RIoGeL5CRzoL tNUnKhMB+KAFenuUlCbkH4y8/bMLdTtKjhefxm3zGcH/iOPYRJqkSKPmgX8H8WxuFjP4 vprhH0BanaXXigzsteKj9Gf5f4tfy0k+qDFWgNeN5rAyxJBdd4deBNiP3owcaqxmuoaW aQVG0bSFuJe8wHwcM7AJMbLhPJM/yIfdDyhlv+E7hvuLQwkWsGwF3PIecFpAxT0Y4Xy5 GtjIl3FNPpN/Kzs5E2tKCRhA+SEULEx46o25P9LGSX85tGJ6KXDgc6Sqnpi/udLjzyBg Dd9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=btoNyu0fv4cbJAhRn8+1xkLzAAQWqBdZ8UyJzLdCLqM=; b=PfbMBMczJSNE7gxh6PnHfsH6fFyc25pCr0bLlggGR/9+YMwtpyNrW1YVl+Aq6E6fUQ +rLOE8Z6WftHagA7Jul9zChCGgYZEOgvGKws4+jhZzcNfNTHCh1vzrxxVweMFWRuFW0U RQoUCsipBLBbp3sZwumif0UpBwFp5iS/GWyNY3E8dyrKOQ4j+0xvKjexTbG5sfW6f/im rivy8Rf59ijhzUyQNS32f9NktsBqrA6B6pbAIdRHsdr0cTVUuUp0ksLFe+zCL0X4sZAz ju/w7uQiW1d7bPAVRJ/aLYe05PyubCsjuX984VCYWgoXrPW6WTxBq9r+rvvcSgsq7S+7 /3dQ== X-Gm-Message-State: AOPr4FV+YwzXBEE3U7x1MRet2/MyiL/vlt/8dK5TGTp6YEHNA4FdBmH0UoOOCCujm5L1FA== X-Received: by 10.25.18.215 with SMTP id 84mr3154446lfs.154.1463599513028; Wed, 18 May 2016 12:25:13 -0700 (PDT) Received: from [192.168.1.132] ([178.218.27.218]) by smtp.googlemail.com with ESMTPSA id zo8sm210546lbb.15.2016.05.18.12.25.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2016 12:25:12 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: =?UTF-8?Q?[documentation]_=e2=80=98Using_Emacs_as_a_Server=e2=80=99?= =?UTF-8?Q?:_=e2=80=98M-x_set-variable_RET_server-name_RET_foo_RET=e2=80=99?= From: Dmitry Alexandrov <321942@gmail.com> Message-ID: <573CC1B2.8010403@gmail.com> Date: Wed, 18 May 2016 22:25:38 +0300 User-Agent: Mozilla/5.0 (X11; GNU x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) Chapter 38 ‘Using Emacs as a Server’ in ‘GNU Emacs Manual’ says [0] the following: You can run multiple Emacs servers on the same machine by giving each one a unique “server name”, using the variable server-name. For example, M-x set-variable RET server-name RET foo RET sets the server name to ‘foo’. [0] https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html First of all, ‘M-x set-variable RET server-name RET foo RET’ just does not work, returning “Value ‘foo’ does not match type string of server-name”. It actually should be ‘M-x set-variable RET server-name RET "foo" RET’, since ‘server-name’ requires a string. However, I found this example pretty confusing in general: when the server is not started yet, setting ‘server-name’ with ‘M-x set-variable’ is impossible (variable does not exist yet); when the server is already running, there is no much sense in setting it, since it does not rename the instance on-the-fly. ¿Would not it be more useful to give as an example of how to start multiple Emacs servers something like: $ emacs --eval '(setq server-name "foo")' --daemon From debbugs-submit-bounces@debbugs.gnu.org Wed May 18 15:53:50 2016 Received: (at 23576-done) by debbugs.gnu.org; 18 May 2016 19:53:50 +0000 Received: from localhost ([127.0.0.1]:57301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b37XS-0000m8-7V for submit@debbugs.gnu.org; Wed, 18 May 2016 15:53:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b37XQ-0000lv-H5 for 23576-done@debbugs.gnu.org; Wed, 18 May 2016 15:53:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b37XI-00008w-7v for 23576-done@debbugs.gnu.org; Wed, 18 May 2016 15:53:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b37XI-00008p-4l; Wed, 18 May 2016 15:53:40 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1045 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b37XG-0002BJ-08; Wed, 18 May 2016 15:53:39 -0400 Date: Wed, 18 May 2016 22:53:33 +0300 Message-Id: <83mvnn9m82.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Alexandrov <321942@gmail.com> In-reply-to: <573CC1B2.8010403@gmail.com> (message from Dmitry Alexandrov on Wed, 18 May 2016 22:25:38 +0300) Subject: Re: bug#23576: [documentation] =?utf-8?Q?=E2=80=98Using?= Emacs as a =?utf-8?Q?Server=E2=80=99=3A_=E2=80=98M-x?= set-variable RET server-name RET foo =?utf-8?Q?RET=E2=80=99?= References: <573CC1B2.8010403@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23576-done Cc: 23576-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Dmitry Alexandrov <321942@gmail.com> > Date: Wed, 18 May 2016 22:25:38 +0300 > > Chapter 38 ‘Using Emacs as a Server’ in ‘GNU Emacs Manual’ says [0] the > following: > > You can run multiple Emacs servers on the same machine by giving > each one a unique “server name”, using the variable server-name. For > example, M-x set-variable RET server-name RET foo RET sets the > server name to ‘foo’. > > [0] > https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html > > First of all, ‘M-x set-variable RET server-name RET foo RET’ just does > not work, returning “Value ‘foo’ does not match type string of > server-name”. It actually should be ‘M-x set-variable RET server-name > RET "foo" RET’, since ‘server-name’ requires a string. Fixed on the release branch. > However, I found this example pretty confusing in general: when the > server is not started yet, setting ‘server-name’ with ‘M-x set-variable’ > is impossible (variable does not exist yet); Fixed on master branch. > when the server is already running, there is no much sense in > setting it, since it does not rename the instance on-the-fly. But it affects the next one. > ¿Would not it be more useful to give as an example of how to start > multiple Emacs servers something like: > > $ emacs --eval '(setq server-name "foo")' --daemon I added this, but I don't think it should replace what's in the manual: not all the uses of the server are in daemon sessions. Thanks. From unknown Sat Aug 09 04:57:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 16 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 14 12:27:04 2017 Received: (at control) by debbugs.gnu.org; 14 Nov 2017 17:27:04 +0000 Received: from localhost ([127.0.0.1]:40478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEezI-0004XL-J1 for submit@debbugs.gnu.org; Tue, 14 Nov 2017 12:27:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEezH-0004Wt-Jz for control@debbugs.gnu.org; Tue, 14 Nov 2017 12:27:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEezB-0005as-M4 for control@debbugs.gnu.org; Tue, 14 Nov 2017 12:26:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEezB-0005ag-If for control@debbugs.gnu.org; Tue, 14 Nov 2017 12:26:57 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eEezB-00078c-6a for control@debbugs.gnu.org; Tue, 14 Nov 2017 12:26:57 -0500 Subject: control message for bug 23576 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 14 Nov 2017 12:26:57 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unarchive 23576 fixed 23576 26.1 From unknown Sat Aug 09 04:57:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Dec 2017 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator