GNU bug report logs - #12682
24.2.50; make server-execute less noisy

Previous Next

Package: emacs;

Reported by: Christopher Schmidt <christopher <at> ch.ristopher.com>

Date: Fri, 19 Oct 2012 13:12:01 UTC

Severity: wishlist

Found in version 24.2.50

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 12682 in the body.
You can then email your comments to 12682 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#12682; Package emacs. (Fri, 19 Oct 2012 13:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Schmidt <christopher <at> ch.ristopher.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 19 Oct 2012 13:12:01 GMT) Full text and rfc822 format available.

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

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; make server-execute less noisy
Date: Fri, 19 Oct 2012 14:09:19 +0100 (BST)
severity: wishlist

In server-execute, there is this form:

    (message "%s" (substitute-command-keys
                   "When done with this frame, type \\[delete-frame]"))

It would be great if one could disable this messages.

        Christopher




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12682; Package emacs. (Fri, 19 Oct 2012 16:48:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#12682: 24.2.50; make server-execute less noisy
Date: Fri, 19 Oct 2012 12:46:03 -0400
Christopher Schmidt wrote:

> In server-execute, there is this form:
>
>     (message "%s" (substitute-command-keys
>                    "When done with this frame, type \\[delete-frame]"))
>
> It would be great if one could disable this messages.

Maybe it could respect emacsclient's --quiet option?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12682; Package emacs. (Fri, 19 Oct 2012 23:31:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12682 <at> debbugs.gnu.org
Subject: Re: bug#12682: 24.2.50; make server-execute less noisy
Date: Sat, 20 Oct 2012 01:28:35 +0200
On Fri, Oct 19, 2012 at 6:46 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> Maybe it could respect emacsclient's --quiet option?

I don't think it's a good match. And Christopher likely wants to
silence the message in all situations.

The fact is that many Emacs functions show messages and we don't add
options to disable them. In this case it is trivial to add an advice
in his own's .emacs:

 (defadvice server-execute (around silence-server-execute activate compile)
   (with-temp-message ""
     ad-do-it))

and the messages still get logged on *Messages* in case there's
something else going on (or the advice can be more sofisticate and
check *Messages* to be sure than nothing untold is happening).

This is a wontfix IMO.

    Juanma




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12682; Package emacs. (Sun, 21 Oct 2012 19:58:02 GMT) Full text and rfc822 format available.

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

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#12682: 24.2.50; make server-execute less noisy
Date: Sun, 21 Oct 2012 20:55:33 +0100 (BST)
Juanma Barranquero <lekktu <at> gmail.com> writes:
> On Fri, Oct 19, 2012 at 6:46 PM, Glenn Morris <rgm <at> gnu.org> wrote:
>
>> Maybe it could respect emacsclient's --quiet option?
>
> I don't think it's a good match. And Christopher likely wants to
> silence the message in all situations.
>
> The fact is that many Emacs functions show messages and we don't add
> options to disable them. In this case it is trivial to add an advice
> in his own's .emacs:
>
>  (defadvice server-execute (around silence-server-execute activate compile)
>    (with-temp-message ""
>      ad-do-it))
>
> and the messages still get logged on *Messages* in case there's
> something else going on (or the advice can be more sofisticate and
> check *Messages* to be sure than nothing untold is happening).

There are other, useful messages in server-execute.  A more
sophisticated advice is not trivial any more.  server-execute is an
internal, undocumented function.  The message may be subject to change,
the form might be refactored to another function in future versions.  I
would like to have a permanent solution.

There are many superfluous messages floating around, making my
*Messages*-buffer a pain to look at and my minibuffer a constant source
of distraction.  I will not create feature requests for all these
messages.  Right now, to me, it is just about this one and the one I
reported in bug 12370 because IMO these two provide absolutely no value
whatsoever.  I am fine with "Mark set", "Starting new Ispell process",
"Quit", etc. - but Emacs telling me the keys of its most fundamental
commands - all the time, all over again!?  I do not like that.

Having that said...

> This is a wontfix IMO.

...I am fine with wontfix.

I guess a real solution to the underlying problem would be to attach a
log-level or a category-symbol to each message, with the user being able
to disable certain categories.  I do realise this is quiet a demand and
there are lots of more important things to implement.

        Christopher




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12682; Package emacs. (Sun, 21 Oct 2012 23:37:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: 12682 <at> debbugs.gnu.org
Subject: Re: bug#12682: 24.2.50; make server-execute less noisy
Date: Mon, 22 Oct 2012 01:33:43 +0200
On Sun, Oct 21, 2012 at 9:55 PM, Christopher Schmidt
<christopher <at> ch.ristopher.com> wrote:

> There are other, useful messages in server-execute.  A more
> sophisticated advice is not trivial any more.

Not very hard, anyway.

> server-execute is an
> internal, undocumented function.  The message may be subject to change,
> the form might be refactored to another function in future versions.  I
> would like to have a permanent solution.

Fair enough.

> There are many superfluous messages floating around, making my
> *Messages*-buffer a pain to look at and my minibuffer a constant source
> of distraction.  I will not create feature requests for all these
> messages.  Right now, to me, it is just about this one and the one I
> reported in bug 12370 because IMO these two provide absolutely no value
> whatsoever.

I suppose "superfluous" is in the eye of the beholder. I find the C-x
# message a useful reminder (because I really rarely use emacsclient
without --no-wait), and it seems like a newbie-oriented message
anyway.

> ...I am fine with wontfix.

I haven't tagged it as wontfix, just stating my opinion. Someone is
bound to differ, I suppose.

> I guess a real solution to the underlying problem would be to attach a
> log-level or a category-symbol to each message, with the user being able
> to disable certain categories.  I do realise this is quiet a demand and
> there are lots of more important things to implement.

I think both messages and warnings should have a customizable way to
filter them out (with several criteria, from the very text of the
message/warning to categories, etc). For warnings that already exists
through the severity level, though it is pretty coarse.

    Juanma




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12682; Package emacs. (Mon, 06 Sep 2021 11:02:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 12682 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#12682: 24.2.50; make server-execute less noisy
Date: Mon, 06 Sep 2021 13:01:07 +0200
Juanma Barranquero <lekktu <at> gmail.com> writes:

> The fact is that many Emacs functions show messages and we don't add
> options to disable them. In this case it is trivial to add an advice
> in his own's .emacs:
>
>  (defadvice server-execute (around silence-server-execute activate compile)
>    (with-temp-message ""
>      ad-do-it))

We now have `set-message-function', which can be used by the user to
filter out messages that the user doesn't like.

> and the messages still get logged on *Messages* in case there's
> something else going on (or the advice can be more sofisticate and
> check *Messages* to be sure than nothing untold is happening).
>
> This is a wontfix IMO.

So I'm closing this bug report.

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




bug closed, send any further explanations to 12682 <at> debbugs.gnu.org and Christopher Schmidt <christopher <at> ch.ristopher.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 06 Sep 2021 11:02: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. (Mon, 04 Oct 2021 11:24:10 GMT) Full text and rfc822 format available.

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

Previous Next


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