GNU bug report logs - #34939
Some minibuffer behaviour is annoying

Previous Next

Package: emacs;

Reported by: pinkanon pinkanon <pinkanon.pinkanon <at> yandex.ru>

Date: Thu, 21 Mar 2019 19:20:04 UTC

Severity: wishlist

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: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: pinkanon pinkanon <pinkanon.pinkanon <at> yandex.ru>, 34939 <at> debbugs.gnu.org
Subject: bug#34939: Some minibuffer behaviour is annoying
Date: Mon, 27 May 2019 23:15:34 +0300
>> There is a special function minibuffer-message for this purpose:
>>
>>    (add-hook 'minibuffer-setup-hook
>>              (lambda ()
>>                (setq-local command-error-function
>>                            (lambda (error context _command)
>>                              (minibuffer-message
>>                               (concat context (get (car error)
>>                                                    'error-message)))))))
>
> So um, what's the best way to make this behavior the default?

This is a nice behavior but the problem is that overriding
command-error-function also removes other useful default features
such as logging error messages to the *Messages* buffer
(see more at ‘print_error_message’).




This bug report was last modified 5 years and 347 days ago.

Previous Next


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