help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with the "You can run the command ..." message


From: Emanuel Berg
Subject: Re: problem with the "You can run the command ..." message
Date: Tue, 05 Apr 2022 01:55:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen wrote:

>> Try, with a region
>>
>>   M-x count-region RET
>
> Do you mean `count-words-region' maybe? - because Emacs doesn't have
> that command.

You are right, I had that

  (defalias 'count-region #'count-words-region)

Actually that alias isn't bad as it is shorter and
`count-words-region' doesn't just count words.

>> You see the answer in the echo area for only a short while,
>> then it gets replaced with
>>
>>   You can run the command ‘count-region’ with M-x cou-r RET
>>
>> so you can't see the data queried for just one second ago.
>> Not good!
>
> Can be slightly annoying yes, the usefulness of the feature
> is arguable.

ikr?

And when in doubt intuitively and one can easily think of
_two_ reasons not to do something, the one shouldn't do it.
(Works vice versa as well.)

> But note that if you wait for another short while, the
> result is back - and it stays.

OK. Well, now it is disabled anyway. It seems this

  (setq suggest-key-bindings             nil
        extended-command-suggest-shorter nil)

did it.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]