From unknown Thu Aug 14 21:51:03 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#4888 <4888@debbugs.gnu.org> To: bug#4888 <4888@debbugs.gnu.org> Subject: Status: 23.1.50; emacsclient vs. daemon Reply-To: bug#4888 <4888@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:51:03 +0000 retitle 4888 23.1.50; emacsclient vs. daemon reassign 4888 emacs submitter 4888 Peter Tury severity 4888 normal thanks From tury.peter@gmail.com Sun Nov 8 06:22:23 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Nov 2009 14:22:23 +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.7 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA8EMLJt010953 for ; Sun, 8 Nov 2009 06:22:23 -0800 Received: from mail.gnu.org ([199.232.76.166]:41940 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N78er-0006V2-Hf for emacs-pretest-bug@gnu.org; Sun, 08 Nov 2009 09:22:21 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N78ep-0007xR-3I for emacs-pretest-bug@gnu.org; Sun, 08 Nov 2009 09:22:21 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:34524) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N78eo-0007wz-OZ for emacs-pretest-bug@gnu.org; Sun, 08 Nov 2009 09:22:18 -0500 Received: by bwz7 with SMTP id 7so2739333bwz.26 for ; Sun, 08 Nov 2009 06:22:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=sHWTbgrQSxKWAqdNIh52mlLmfmYYYCSlNF6WwdwPaeA=; b=KATzaDMtbvRF2wsK3xjwyOJRWmByFQZyAp6nywDrVMTDtQxl7uWWj+MN8TMsrbH+U2 jnwlttclU+qWdaebwoyc3s+HQS+xFF4B5+jSJX0+y1UUFkTWlOogMABCZD45XVxoEyK8 4OZ2JQa9NRKXOacTMoLpoTXVxoEwz/9MXFiBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=H4EpAbCSBz2eVTA2VBKNZIwZCyK1JqAWAu1n01zdOrQ+XCHYD6w/ayzLM5K2JI3RU8 3j5R4mru028DVQ3B1NorcImvEYCFIjFzaWF6Fd0R5VjBJ84lCtt0PTah8A3nuT8zIsZj g05XwIY0hC4QPl1i3TgqDyY+lnn5neXhHwoXU= MIME-Version: 1.0 Received: by 10.239.145.163 with SMTP id s35mr177129hba.42.1257690136224; Sun, 08 Nov 2009 06:22:16 -0800 (PST) Date: Sun, 8 Nov 2009 15:22:16 +0100 Message-ID: Subject: 23.1.50; emacsclient vs. daemon From: Peter Tury To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hi, I found some issues while playing around emacs --daemon. Here are the first ones. 1. In (info "(emacs) emacsclient Options") I see: 'As a special exception, if COMMAND is the empty string, then `emacsclient' starts Emacs in daemon mode and then tries connecting again.' This is not really true: as -a has a mandatory, non-empty COMMAND, it is impossible to call emacsclient this way from command line. The special exception mentioned above works only if alternate_editor environment variable is set to empty string. My suggestion is to - either change emacsclient.c to accept -a with empty string as COMMAND or - state explicitly in Info and in emacsclient.c's help text the way it really works. 2. On the same Info page an example is given this way: 'EDITOR="emacsclient --alternate-editor emacs +%d %s"' I think it should be: 'EDITOR="emacsclient --alternate-editor=emacs +%d %s"' Thanks anyway,P ---------- In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-08 on transcend-160 Windowing system distributor `The X.Org Foundation', version 11.0.10604000 From monnier@iro.umontreal.ca Sun Nov 8 08:41:55 2009 Received: (at 4888) by emacsbugs.donarmstrong.com; 8 Nov 2009 16:41:55 +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.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA8Gfr4r024118 for <4888@emacsbugs.donarmstrong.com>; Sun, 8 Nov 2009 08:41:55 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0EAB+E9kpLd+F3/2dsb2JhbACBTddAhD4EiRU X-IronPort-AV: E=Sophos;i="4.44,704,1249272000"; d="scan'208";a="48881949" Received: from 75-119-225-119.dsl.teksavvy.com (HELO pastel.home) ([75.119.225.119]) by ironport2-out.pppoe.ca with ESMTP; 08 Nov 2009 11:41:34 -0500 Received: by pastel.home (Postfix, from userid 20848) id 5642C7F0F; Sun, 8 Nov 2009 11:41:33 -0500 (EST) From: Stefan Monnier To: Peter Tury Cc: 4888@debbugs.gnu.org Subject: Re: bug#4888: 23.1.50; emacsclient vs. daemon Message-ID: References: Date: Sun, 08 Nov 2009 11:41:33 -0500 In-Reply-To: (Peter Tury's message of "Sun, 8 Nov 2009 15:22:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 'As a special exception, if COMMAND is the empty string, then > `emacsclient' starts Emacs in daemon mode and then tries > connecting again.' > This is not really true: as -a has a mandatory, non-empty COMMAND, > it is impossible to call emacsclient this way from command line. This is not true, it shoujld also work if you do emacsclient -a '' or emacsclient --alternate-editor '' ... or emacsclient --alternate-editor= ... > On the same Info page an example is given this way: > 'EDITOR="emacsclient --alternate-editor emacs +%d %s"' > I think it should be: > 'EDITOR="emacsclient --alternate-editor=emacs +%d %s"' Either way should work, Stefan From rgm@gnu.org Wed Nov 11 23:27:05 2009 Received: (at control) by emacsbugs.donarmstrong.com; 12 Nov 2009 07:27:07 +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.8 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAC7R4Ff002425 for ; Wed, 11 Nov 2009 23:27:05 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N8U5A-0003sf-09; Thu, 12 Nov 2009 02:27:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19195.47303.926275.600068@fencepost.gnu.org> Date: Thu, 12 Nov 2009 02:27:03 -0500 From: Glenn Morris To: control Subject: control severity 4902 wishlist reassign 4901 emacs,ns tags 4898 moreinfo severity 4896 wishlist close 4888 severity 4876 minor reassign 4899 spam reassign 4900 spam reassign 4903 spam reassign 4904 spam reassign 4905 notemacs From unknown Thu Aug 14 21:51:03 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, 10 Dec 2009 15:24:38 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long 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