GNU bug report logs - #52214
29.0.50; [PATCH] Don't output emacsclient message that daemon should have started if using --quiet

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Wed, 1 Dec 2021 04:42:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52214 in the body.
You can then email your comments to 52214 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52214; Package emacs. (Wed, 01 Dec 2021 04:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Porter <jporterbugs <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 01 Dec 2021 04:42:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; [PATCH] Don't output emacsclient message that daemon should
 have started if using --quiet
Date: Tue, 30 Nov 2021 20:40:59 -0800
[Message part 1 (text/plain, inline)]
When using `emacsclient -qa' and starting the Emacs daemon 
automatically, it prints the following (among other lines):

  Emacs daemon should have started, trying to connect again

However, `emacsclient --help' says:

  -q, --quiet             Don't display messages on success

Since the above message is printed even when successfully starting the 
daemon, I think it would make sense to suppress this when using 
-q/--quiet. Attached is a patch to do this.

See also the resolved bug#16117 for a similar case, which inspired this 
report. (There's bug#51327 too, which is loosely related and should 
probably be fixed -- somehow -- for Emacs 28.)
[0001-Don-t-output-emacsclient-message-that-daemon-should-.patch (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52214; Package emacs. (Wed, 01 Dec 2021 04:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 52214 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 52214 <at> debbugs.gnu.org
Subject: Re: bug#52214: 29.0.50; [PATCH] Don't output emacsclient message
 that daemon should have started if using --quiet
Date: Wed, 01 Dec 2021 05:57:19 +0100
Jim Porter <jporterbugs <at> gmail.com> writes:

> Since the above message is printed even when successfully starting the
> daemon, I think it would make sense to suppress this when using
> -q/--quiet. Attached is a patch to do this.

Thanks; pushed to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 52214 <at> debbugs.gnu.org and Jim Porter <jporterbugs <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 01 Dec 2021 04:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Dec 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.