From unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer Reply-To: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= , 3053@debbugs.gnu.org Resent-From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Apr 2009 14:45:44 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12401520826948 (code B ref -1); Sun, 19 Apr 2009 14:45:44 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Date: Sun, 19 Apr 2009 16:41:01 +0200 Message-ID: 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer Reply-To: Stefan Monnier , 3053@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Apr 2009 16:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.124024446918411 (code B ref 3053); Mon, 20 Apr 2009 16:25:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Cc: 3053@debbugs.gnu.org Message-ID: References: Date: Mon, 20 Apr 2009 12:21:04 -0400 In-Reply-To: ("Danai SAE-HAN =?UTF-8?Q?\"(=E9=9F=93=E9=81=94=E8=80=90)\""'s?= 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer Reply-To: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= , 3053@debbugs.gnu.org Resent-From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 24 Apr 2009 09:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.124056360917383 (code B ref 3053); Fri, 24 Apr 2009 09:05:04 +0000 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: From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Stefan Monnier , 3053@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 24 Apr 2009 13:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.124057970727985 (code B ref 3053); Fri, 24 Apr 2009 13:30:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Cc: 3053@debbugs.gnu.org Message-ID: References: Date: Fri, 24 Apr 2009 09:28:15 -0400 In-Reply-To: ("Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)"'s?= 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= , 3053@debbugs.gnu.org Resent-From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Apr 2009 00:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.124061813819509 (code B ref 3053); Sat, 25 Apr 2009 00:15:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Date: Sat, 25 Apr 2009 02:08:39 +0200 Message-ID: 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Stefan Monnier , 3053@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Apr 2009 01:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.12406215813357 (code B ref 3053); Sat, 25 Apr 2009 01:15:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Cc: 3053@debbugs.gnu.org Message-ID: References: Date: Fri, 24 Apr 2009 21:06:11 -0400 In-Reply-To: ("Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)"'s?= 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= , 3053@debbugs.gnu.org Resent-From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Apr 2009 01:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.12406220554789 (code B ref 3053); Sat, 25 Apr 2009 01:20:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Date: Sat, 25 Apr 2009 03:13:52 +0200 Message-ID: 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Stefan Monnier , 3053@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Apr 2009 03:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.12406304719386 (code B ref 3053); Sat, 25 Apr 2009 03:40:03 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Cc: 3053@debbugs.gnu.org Message-ID: References: Date: Fri, 24 Apr 2009 23:34:20 -0400 In-Reply-To: ("Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)"'s?= 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 unknown Fri Aug 15 21:25:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3053: "emacsclient -a emacs" produces "No server editing Reply-To: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= , 3053@debbugs.gnu.org Resent-From: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Apr 2009 11:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3053 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3053-submit@emacsbugs.donarmstrong.com id=B3053.12406583155318 (code B ref 3053); Sat, 25 Apr 2009 11:25:04 +0000 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: Danai SAE-HAN =?UTF-8?Q?(=E9=9F=93=E9=81=94=E8=80=90)?= Date: Sat, 25 Apr 2009 13:18:16 +0200 Message-ID: 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