From unknown Sat Aug 16 10:50:30 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#3053 <3053@debbugs.gnu.org> To: bug#3053 <3053@debbugs.gnu.org> Subject: Status: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer Reply-To: bug#3053 <3053@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:50:30 +0000 retitle 3053 "emacsclient -a emacs" produces "No server editing buffers exi= st" when closing buffer reassign 3053 emacs submitter 3053 Danai SAE-HAN (=E9=9F=93=E9=81=94=E8=80=90) severity 3053 normal thanks From danai.saehan@gmail.com Sun Apr 19 07:41:22 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Apr 2009 14:41:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3JEfJiu006942 for ; Sun, 19 Apr 2009 07:41:20 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvYCs-0007zS-OL for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:41:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvYCs-0007z2-BO for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:41:18 -0400 Received: from [199.232.76.173] (port=38479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvYCs-0007yo-58 for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:41:18 -0400 Received: from yw-out-1718.google.com ([74.125.46.152]:14012) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvYCr-0005D9-Pe for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:41:17 -0400 Received: by yw-out-1718.google.com with SMTP id 9so2552340ywk.66 for ; Sun, 19 Apr 2009 07:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=NWIfBFBiYSleuNuCnE/ymtonYzeAzGzso0i7vSdPDKo=; b=ZjivVXC7GHjRfZfMIRxHfUHe8ZpHKxF82CS6kDwAj7UWpxPhsTk8SzBfMUwb82Dhng KDBVyi0TKhr4mNwB6cbMIgmXn/WhlJSS7BT6cqd0Fx4iaTPzmqTpGT4gRuaOPYYfd+dc IwnjbIsq0CMecTBus/GSBR9xdotAsnEZzTUS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=AA7OIacJBtz6B6IAXsboT/l+ytDWXPcctvkZxp1CBGhUJR62Ub9zNHE0GIlz17NR/9 lFWJmADT2U4IUrEF8j1hSun3gsC80lYblJdfXDzaSMb/lJ9QCxA2Fc0qZCYL+nwI69FV 26VdUCjyFULjftwmatbg3Uf9PZe3XENty9rsg= MIME-Version: 1.0 Received: by 10.150.203.13 with SMTP id a13mr4379471ybg.98.1240152076579; Sun, 19 Apr 2009 07:41:16 -0700 (PDT) From: =?UTF-8?B?RGFuYWkgU0FFLUhBTiAo6Z+T6YGU6ICQKQ==?= Date: Sun, 19 Apr 2009 16:41:01 +0200 Message-ID: Subject: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) [Please put me in CC when you reply.] Hi As suggested per the online Emacs manual [1], I have set the $EDITOR variable to emacsclient with the -a argument. [2009-04-19 16:17:37] danai@danai:~/examples/examples-current $ echo $EDITOR emacsclient --alternate-editor emacs +%d %s When $EDITOR gets called from scripts, such as "reportbug" on Debian, and Emacs is not started yet, a new instance of Emacs will be launched (as can be expected). However, I cannot close back the buffer with C-x #. Pressing this shortcut so will result in a message "No server editing buffers exist". I can still save the file with C-x C-s and then close the buffer with C-x k, because "reportbug" uses a file in /tmp, but I would like to see that the classic way of closing a buffer from an external call is retained (i.e. C-x #). When Emacs is already started, emacsclient opens correctly and I can close the buffer with C-#. [2009-04-19 16:17:39] danai@danai:~/examples/examples-current $ emacs --version GNU Emacs 22.3.1 Copyright (C) 2008 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. [2009-04-19 16:22:50] danai@danai:~/examples/examples-current $ cat /etc/debian_version squeeze/sid [1] http://www.gnu.org/software/emacs/manual/html_node/emacs/Invoking-emacsclient.html Best regards -- Danai From monnier@IRO.UMontreal.CA Mon Apr 20 09:21:09 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 20 Apr 2009 16:21:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3KGL5Ok018405 for <3053@emacsbugs.donarmstrong.com>; Mon, 20 Apr 2009 09:21:07 -0700 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n3KGL6Ti024420; Mon, 20 Apr 2009 12:21:06 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 123728089C; Mon, 20 Apr 2009 12:21:05 -0400 (EDT) From: Stefan Monnier To: =?utf-8?Q?Danai_SAE-HAN_=28=E9=9F=93=E9=81=94=E8=80=90=29?= Cc: 3053@debbugs.gnu.org Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer Message-ID: References: Date: Mon, 20 Apr 2009 12:21:04 -0400 In-Reply-To: ("Danai SAE-HAN =?utf-8?B?XCIo6Z+T6YGU6ICQKVwiIidz?= message of "Sun, 19 Apr 2009 16:41:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3257=0 > When $EDITOR gets called from scripts, such as "reportbug" on Debian, > and Emacs is not started yet, a new instance of Emacs will be launched > (as can be expected). However, I cannot close back the buffer with > C-x #. Pressing this shortcut so will result in a message "No server > editing buffers exist". You probably want to use the new "-a ''" argument, which will start an Emacs in server mode. Stefan From cyd@stupidchicken.com Wed Apr 22 18:46:18 2009 Received: (at control) by emacsbugs.donarmstrong.com; 23 Apr 2009 01:46:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3N1kG9n006285 for ; Wed, 22 Apr 2009 18:46:17 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 5F7C657E246; Wed, 22 Apr 2009 21:48:11 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 3053 Date: Wed, 22 Apr 2009 21:48:11 -0400 Message-ID: <8763gw5eec.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 3053 thanks From danai.saehan@gmail.com Fri Apr 24 02:00:08 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 24 Apr 2009 09:00:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3O9057k017271 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 02:00:06 -0700 Received: by yw-out-2324.google.com with SMTP id 2so391543ywt.31 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 02:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cQf+Q+OMp3dKTrtvv66/SbRJ9MwcWUBjxi2Htv5oeeM=; b=nvanYSo5//dugV+wRnCdJE7Up3razYB8XFRQQOPp9aluKfUzkvyIkvb+l97v9Dw/Fw gGb3GrCCconwB2/pcYyknXw9UAkRfxKENr4VFDFo0ZdGjzZldfql/+00BsBvzw7qHLZ/ Y8VbaX2rzesmOCS7nuIskD3wIiSSJJBAR5dfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=A/BOmn+mu9c8mZvxgvjHqLpQpQhxDsZ1rEl9lKQjQl1ZqH03EomxMsa7hKbVjZKL2m lz+laAJ1gRQb9YL2+gY4Pf43Ybn+G1rP8I/GjtYnUuHTBSipC3qUQd0wAHGUBamQFiYV mn/QfXsVq+Cwy1vA39dZY+SixUIORboEn8vIU= MIME-Version: 1.0 Received: by 10.151.119.10 with SMTP id w10mr2118789ybm.226.1240563605127; Fri, 24 Apr 2009 02:00:05 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Apr 2009 11:00:05 +0200 Message-ID: Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer From: =?UTF-8?B?RGFuYWkgU0FFLUhBTiAo6Z+T6YGU6ICQKQ==?= To: Stefan Monnier Cc: 3053@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi > You probably want to use the new "-a ''" argument, which will start an Emacs in server mode. Is the -a behaviour from the development version different from Emacs 22? Best regards -- Danai From monnier@iro.umontreal.ca Fri Apr 24 06:28:26 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 24 Apr 2009 13:28:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3ODSLXn027958 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 06:28:23 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQFAHtb8UlMCrUB/2dsb2JhbACBUNAOg3QFhS4 X-IronPort-AV: E=Sophos;i="4.40,241,1238990400"; d="scan'208";a="37550965" Received: from 76-10-181-1.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.1]) by ironport2-out.teksavvy.com with ESMTP; 24 Apr 2009 09:28:15 -0400 Received: by pastel.home (Postfix, from userid 20848) id D53717EFE; Fri, 24 Apr 2009 09:28:15 -0400 (EDT) From: Stefan Monnier To: =?utf-8?Q?Danai_SAE-HAN_=28=E9=9F=93=E9=81=94=E8=80=90=29?= Cc: 3053@debbugs.gnu.org Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing Message-ID: References: Date: Fri, 24 Apr 2009 09:28:15 -0400 In-Reply-To: ("Danai SAE-HAN =?utf-8?B?KOmfk+mBlOiAkCkiJ3M=?= message of "Fri, 24 Apr 2009 11:00:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> You probably want to use the new "-a ''" argument, which will start >> an Emacs in server mode. > Is the -a behaviour from the development version different from Emacs 22? Yes, in the case where "-a ''" is used. Stefan From danai.saehan@gmail.com Fri Apr 24 17:08:57 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 25 Apr 2009 00:08:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3P08swZ019498 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 17:08:55 -0700 Received: by yx-out-2324.google.com with SMTP id 8so833195yxg.31 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 17:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=vAfhSfa9YN4KsMA4ifMJkOO+jrJwb2ja+5fVz5LNqks=; b=Jus4302Rjk2SzOn2KRLvV7W3+qZtcxPfjqXZwtGYZ9DcxKxs6DVmSqgugsg9HN+Bq/ OdvQKDKxfWeEBhNRYTE10pW4dC/vSWACTp6dC1Y+w8+ILnSrwG5z5TG/BDP9BRr87zFZ PfJxNtzr8lCfxbdwdcI66Cx8/KP+ME61k6Ak0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=LvIYU81/AoCWH60GXtVrVg3btg75nSbmzujCaT/6lmOoaY4Wnu2MOg3QgcsEjlofwL tRFMbXVKK6VwAqn+JB3OldYVT/WCdMKVxgt7Y4Ol7RGJxJenJnTMAXGPk3+UKBWOLIeR jbCvnGt4jLDXkZfan7PynJ660FO1JGgokn4J4= MIME-Version: 1.0 Received: by 10.150.229.16 with SMTP id b16mr4727245ybh.41.1240618134149; Fri, 24 Apr 2009 17:08:54 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?RGFuYWkgU0FFLUhBTiAo6Z+T6YGU6ICQKQ==?= Date: Sat, 25 Apr 2009 02:08:39 +0200 Message-ID: Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing To: Stefan Monnier Cc: 3053@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Stefan I have compiled "EMACS_PRETEST_23_0_92.tar.gz" and tried the following command: [2009-04-25 02:01:27] danai@danai:/usr/src/EMACS_PRETEST_23_0_92/lib-src $ ./emacsclient -a "../src/emacs" ../Makefile ./emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". Now a new Emacs instance is started, and my own ~/.emacs is loaded which includes "(server-start)". When I close the "Makefile" buffer with "C-x #" I still get the same message: "No server editing buffers exist". In other words: when emacsclient fails to load because there is no server running, it will launch "../src/emacs ../Makefile". What I would like to see instead, is that it will launch "../src/emacs" first, and then try "emacsclient ../Makefile" again. This behaviour seems more logical to me. Best regards -- Danai From monnier@iro.umontreal.ca Fri Apr 24 18:06:21 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 25 Apr 2009 01:06:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3P16Hhh003326 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 18:06:18 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwFAF/+8UlMCrUB/2dsb2JhbACBUM4tg3QFhS4 X-IronPort-AV: E=Sophos;i="4.40,244,1238990400"; d="scan'208";a="37582159" Received: from 76-10-181-1.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.1]) by ironport2-out.teksavvy.com with ESMTP; 24 Apr 2009 21:06:11 -0400 Received: by pastel.home (Postfix, from userid 20848) id E7CCC7EFE; Fri, 24 Apr 2009 21:06:11 -0400 (EDT) From: Stefan Monnier To: =?utf-8?Q?Danai_SAE-HAN_=28=E9=9F=93=E9=81=94=E8=80=90=29?= Cc: 3053@debbugs.gnu.org Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing Message-ID: References: Date: Fri, 24 Apr 2009 21:06:11 -0400 In-Reply-To: ("Danai SAE-HAN =?utf-8?B?KOmfk+mBlOiAkCkiJ3M=?= message of "Sat, 25 Apr 2009 02:08:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > $ ./emacsclient -a "../src/emacs" ../Makefile Any reason why you didn't try the "-a ''" that I suggested? I.e. ./emacsclient -a "" ../Makefile Stefan From danai.saehan@gmail.com Fri Apr 24 18:14:15 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 25 Apr 2009 01:14:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-gx0-f158.google.com (mail-gx0-f158.google.com [209.85.217.158]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3P1ECCM004759 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 18:14:13 -0700 Received: by gxk2 with SMTP id 2so3218667gxk.1 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 18:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=CYnEn+tdSu0gl1AAP8YcPDZJD0nfenO4XlfCFnLLvsk=; b=qrHp794K8tr+pu3Q1jm/HwXi4+5vpjCzdugkPQM1rC5ydkWcRH2T+ZmtEhrF9lmT5u 0ZnTQ3U6zSNsXVAsIVhIh72Vr8iNfQYwJ6zZhs4AaGUkLAMFz2ZsB4KqbQ8k0zfXjTbP 0QFD3Dpk3+TC+QZ6ImuTzv0a3QhkwkfLpEmrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=GWpfA1SWJEicg8BibNzAW3YlGxMyBJeKUfJtWvGvsUnLD2bWY1H4AIUAYMpfBoLF7y XSAqt6tA7W1A4iN06ynwMr16hzsGrAGO4Mk0Ta2b2yPFyigx31N5DsOhvFOTm5bfQVgC VUt+hPi2EIsEdQXA5o1ghFMH3P8z/Q/HPSIUQ= MIME-Version: 1.0 Received: by 10.151.147.16 with SMTP id z16mr4786107ybn.92.1240622047200; Fri, 24 Apr 2009 18:14:07 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?RGFuYWkgU0FFLUhBTiAo6Z+T6YGU6ICQKQ==?= Date: Sat, 25 Apr 2009 03:13:52 +0200 Message-ID: Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing To: Stefan Monnier Cc: 3053@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Stefan 2009/4/25 Stefan Monnier : >> =C2=A0 $ ./emacsclient -a "../src/emacs" ../Makefile > > Any reason why you didn't try the "-a ''" that I suggested? > I.e. ./emacsclient -a "" ../Makefile Because I get an error: [2009-04-25 03:10:40] danai@danai:/usr/src/EMACS_PRETEST_23_0_92/lib-src $ ./emacsclient -a "" ../Makefile ./emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". In Emacs I get a Backtrace with the following output: Debugger entered--Lisp error: (error "Unknown option `--daemon'") signal(error ("Unknown option `--daemon'")) error("Unknown option `%s'" "--daemon") command-line-1(("--daemon")) command-line() normal-top-level() Best regards --=20 Danai From monnier@iro.umontreal.ca Fri Apr 24 20:34:31 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 25 Apr 2009 03:34:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3P3YQLe009371 for <3053@emacsbugs.donarmstrong.com>; Fri, 24 Apr 2009 20:34:28 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwFAMIh8klMCrUB/2dsb2JhbACBUM18g3QFhS4 X-IronPort-AV: E=Sophos;i="4.40,245,1238990400"; d="scan'208";a="37585892" Received: from 76-10-181-1.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.1]) by ironport2-out.teksavvy.com with ESMTP; 24 Apr 2009 23:34:21 -0400 Received: by pastel.home (Postfix, from userid 20848) id B84B27EFE; Fri, 24 Apr 2009 23:34:20 -0400 (EDT) From: Stefan Monnier To: =?utf-8?Q?Danai_SAE-HAN_=28=E9=9F=93=E9=81=94=E8=80=90=29?= Cc: 3053@debbugs.gnu.org Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing Message-ID: References: Date: Fri, 24 Apr 2009 23:34:20 -0400 In-Reply-To: ("Danai SAE-HAN =?utf-8?B?KOmfk+mBlOiAkCkiJ3M=?= message of "Sat, 25 Apr 2009 03:13:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >>> =A0 $ ./emacsclient -a "../src/emacs" ../Makefile >>=20 >> Any reason why you didn't try the "-a ''" that I suggested? >> I.e. ./emacsclient -a "" ../Makefile > Because I get an error: > [2009-04-25 03:10:40] danai@danai:/usr/src/EMACS_PRETEST_23_0_92/lib-src > $ ./emacsclient -a "" ../Makefile > ./emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > In Emacs I get a Backtrace with the following output: > Debugger entered--Lisp error: (error "Unknown option `--daemon'") > signal(error ("Unknown option `--daemon'")) > error("Unknown option `%s'" "--daemon") > command-line-1(("--daemon")) > command-line() > normal-top-level() Looks like `emacsclient' finds an older `emacs' which doesn't understand the --daemon argument. Can you try to make sure that the `emacs' in the PATH is 23.0.92? Stefan From danai.saehan@gmail.com Sat Apr 25 04:18:35 2009 Received: (at 3053) by emacsbugs.donarmstrong.com; 25 Apr 2009 11:18:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3PBIVlJ005312 for <3053@emacsbugs.donarmstrong.com>; Sat, 25 Apr 2009 04:18:32 -0700 Received: by yw-out-2324.google.com with SMTP id 2so707014ywt.31 for <3053@emacsbugs.donarmstrong.com>; Sat, 25 Apr 2009 04:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=QzAQ0Kx5KgvDG6WrBJu4up6M5GVdlrmfX+jB0G6OATg=; b=TaFjJgudJrHeO5uRAfjx91tvXyOic4ep9Lyt0UJs+eELnYpmLnBgDdrMwL9wju59Li WiPfvG1tfopKYducUZ5A/hP560Ofu4GY/20YXWkLBn8yy/90hr40k7zzC+XhQawOJ6fT 1fkFtDSDe8R0pfQqWL+VTw05IeHlIcCLNHPy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=lWl0w8YuOw5hxX+xYu0On02YS9dw57l42zA2s0IrZgcgf5R7/VSVZxya78BP4evRBl hUqTLpN2ZxWOkmtKx/Zbg6FzGuNnxqjrL0wIcirjxTKJ6QbOdAVYBA2O/Jrh/NyJFp0z cnEkMXw1o+ExS6xyQV1f3ByJEoE7g4REpTRTI= MIME-Version: 1.0 Received: by 10.150.229.16 with SMTP id b16mr5713114ybh.41.1240658311116; Sat, 25 Apr 2009 04:18:31 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?RGFuYWkgU0FFLUhBTiAo6Z+T6YGU6ICQKQ==?= Date: Sat, 25 Apr 2009 13:18:16 +0200 Message-ID: Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing To: Stefan Monnier Cc: 3053@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Stefan 2009/4/25 Stefan Monnier : > > Looks like `emacsclient' finds an older `emacs' which doesn't understand > the --daemon argument. =C2=A0Can you try to make sure that the `emacs' in= the > PATH is 23.0.92? You are absolutely right; my bad. I have now symlinked src/emacs to ~/bin/emacs (which comes earlier in the PATH) and it works. Thanks for all your help, Stefan! --=20 Danai From unknown Sat Aug 16 10:50:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 May 2009 14:24:09 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator