GNU bug report logs - #52314
Set message functions

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 5 Dec 2021 19:12:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 52314 <at> debbugs.gnu.org
Subject: bug#52314: Set message functions
Date: Thu, 08 Sep 2022 16:43:33 +0200
Juri Linkov <juri <at> linkov.net> writes:

> To address several requests, there is a patch for Emacs 29 that supports:
>
> 1. inhibiting messages selectively like discussed in bug#42865, bug#44629;
>
> 2. multi-line accumulated messages like discussed on emacs-devel
>    under subject "Intelligent stacking of messages in the echo area";
>
> 3. combining all them plus minibuffer messages into a pipeline:
>    first inhibit-message can filter out some messages, then the second
>    function can accumulate 10 old messages into a multi-line message,
>    then the third function will display them in the active minibuffer.
>
> By default, 'set-message-functions' will be '(set-minibuffer-message)'
> with the current behavior, but can be customized to
> '(inhibit-message set-multi-message set-minibuffer-message)'
> to implement the hook-like list of functions described above:

Hm...  the patch only had the defcustom and some helper functions, so
was this just to get feedback on the interface?

If so, I think it looks good -- but I'm a bit vague about what
set-multi-message would look like.




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

Previous Next


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