unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mario Lang <mlang@blind.guru>
To: emacs-devel@gnu.org
Subject: Why does signaling an error not call set-message-function?
Date: Tue, 05 Apr 2022 10:01:58 +0200	[thread overview]
Message-ID: <87tub8hsax.fsf@blind.guru> (raw)

Hi.

I just realized that only a certain type of message goes through
`set-message-function'.  In particular, things like

(signal 'end-of-buffer nil)

write to the echo area but do not trigger set-message-function.

This is a bit unexpected.  Is there an equivalent hook for
error messages going to the echo area?

-- 
CYa,
  ⡍⠁⠗⠊⠕



             reply	other threads:[~2022-04-05  8:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05  8:01 Mario Lang [this message]
2022-04-05 11:38 ` Why does signaling an error not call set-message-function? Eli Zaretskii
2022-04-05 12:05   ` Mario Lang
2022-04-05 12:21     ` Eli Zaretskii
2022-04-05 12:55       ` Mario Lang
2022-04-05 13:58         ` T.V Raman
2022-04-05 13:14       ` Stefan Monnier
2022-04-05 13:20         ` Eli Zaretskii
2022-04-05 13:34           ` Stefan Monnier
2022-04-05 13:39             ` Eli Zaretskii
2022-04-05 14:19               ` Stefan Monnier
2022-04-05 16:07                 ` T.V Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tub8hsax.fsf@blind.guru \
    --to=mlang@blind.guru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).