From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59961: [PATCH] ; * lib-src/emacsclient.c: Add parameters option information. Date: Sun, 11 Dec 2022 12:26:16 +0200 Message-ID: <83a63uuth3.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59961@debbugs.gnu.org To: lu4nx Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 11:27:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4JY8-0003vO-KJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 11:27:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4JY0-0005PL-6M; Sun, 11 Dec 2022 05:27:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4JXy-0005O7-Qi for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4JXy-0001hf-3d for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4JXx-0008RJ-SJ for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2022 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59961-submit@debbugs.gnu.org id=B59961.167075438432422 (code B ref 59961); Sun, 11 Dec 2022 10:27:01 +0000 Original-Received: (at 59961) by debbugs.gnu.org; 11 Dec 2022 10:26:24 +0000 Original-Received: from localhost ([127.0.0.1]:46296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4JXM-0008Qs-D9 for submit@debbugs.gnu.org; Sun, 11 Dec 2022 05:26:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4JXL-0008Qk-H6 for 59961@debbugs.gnu.org; Sun, 11 Dec 2022 05:26:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4JXF-0001fx-J5; Sun, 11 Dec 2022 05:26:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=03LiFdkZtUTSXK8CN8UX4dybLRnUTBLJg3sOjn9Tcvo=; b=Vu1lEzIgCMT/ JTu0dyCoe44DWhiOWnjvawkOoeLHHegBkrJJ9GdcFk26sGMXea1iVy41Vf8nlMqnmcpqoigfuhz2c GFPGCwGIw8BmXlEEsiBsc2ivdvDv9dKWNS13CQteDsoU7S4BGB3vS4CxClCHrzbvdBXzHMcUFBZ06 DVXbG/IeehuAKSZYmm3J1xlj3hH50HaunvEo/NY4pixUlhuXXfP3L6PZ9r5YsbSXziB27ZmxG9+9m 6zbe0k7Bn5GHhlRXra7yZGBNALqpn5WWgJ415cP9rlmHg9rVMql9UsDKRmtG0Klo64+3WDBQuMTJb SfMg8uZdJ6ElMjTsuVoHyg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4JXF-00058G-3O; Sun, 11 Dec 2022 05:26:17 -0500 In-Reply-To: (message from lu4nx on Sun, 11 Dec 2022 17:32:32 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250589 Archived-At: > Cc: lu4nx > From: lu4nx > Date: Sun, 11 Dec 2022 17:32:32 +0800 > > --- > lib-src/emacsclient.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c > index af488128ba..a0c5b84bc5 100644 > --- a/lib-src/emacsclient.c > +++ b/lib-src/emacsclient.c > @@ -1669,10 +1669,10 @@ set_socket (bool no_exit_if_error) > /* No implicit or explicit socket, and no alternate editor. */ > message (true, "%s: No socket or alternate editor. Please use:\n\n" > #ifdef SOCKETS_IN_FILE_SYSTEM > -"\t--socket-name\n" > +"\t--socket-name=SOCKET\n" > #endif > -"\t--server-file (or environment variable EMACS_SERVER_FILE)\n\ > -\t--alternate-editor (or environment variable ALTERNATE_EDITOR)\n", > +"\t--server-file=SERVER (or environment variable EMACS_SERVER_FILE)\n\ > +\t--alternate-editor=EDITOR (or environment variable ALTERNATE_EDITOR)\n", > progname); > exit (EXIT_FAILURE); > } The --help message already says that. Why do we need that in an error message as well?