[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Intelligent stacking of messages in the echo area
From: |
Ihor Radchenko |
Subject: |
Re: Intelligent stacking of messages in the echo area |
Date: |
Wed, 25 Dec 2019 12:21:53 +0800 |
> Then maybe we should allow a function as well.
Good idea. Instead of piling up heuristics into set-multi-message, it
may be better to run an abnormal hook. See the attached.
> The idea about filtering driven by regular expressions.
Do you know a good regexp to match a keystroke sequence?
It seems easier for me to compare with this-command-keys.
Best,
Ihor
multi-message.el
Description: application/emacs-lisp
Eli Zaretskii <address@hidden> writes:
>> From: Ihor Radchenko <address@hidden>
>> Cc: address@hidden, address@hidden, address@hidden
>> Date: Tue, 24 Dec 2019 17:24:29 +0800
>>
>> > I'd rather think a better way would be to have a variable which allows
>> > to filter messages by regular expressions: any message that matches a
>> > regexp in a list will not be stacked.
>>
>> It is a good idea. However, generating a universal regexp for, say, eldoc
>> may be challenging.
>
> Then maybe we should allow a function as well.
>
>> >> Also, it would be great to avoid stacking the echo-keystrokes, but I
>> >> have no clue how to detect them.
>> >
>> > See above.
>>
>> I cannot find what you refer to.
>
> The idea about filtering driven by regular expressions.