unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 40750@debbugs.gnu.org, ndame <ndame@protonmail.com>
Subject: bug#40750: Use error face for errors
Date: Thu, 21 Jan 2021 18:38:52 +0100	[thread overview]
Message-ID: <874kja5gwj.fsf@gnus.org> (raw)
In-Reply-To: <871ree5h29.fsf@tcd.ie> (Basil L. Contovounesios's message of "Thu, 21 Jan 2021 17:35:26 +0000")

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> I agree, but in theory there could be a customisable face for this that
> defaults to the current default.

That's true.

> But is it even possible to systematically tell whether a given message
> corresponds to an error?

I imagined `error' (and `signal'?) putting a face on the return value
from `format-message':

  (signal 'error (list (apply #'format-message args))))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-21 17:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 18:54 bug#40750: Use error face for errors ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-21 16:06 ` Lars Ingebrigtsen
2021-01-21 17:35   ` Basil L. Contovounesios
2021-01-21 17:38     ` Lars Ingebrigtsen [this message]
2021-09-25  2:41   ` Stefan Kangas
2021-09-25  2:42     ` Lars Ingebrigtsen
2021-09-25 15:46       ` bug#40750: [External] : " Drew Adams
2021-09-25 16:59         ` Stefan Kangas
2022-05-23 11:55           ` Lars Ingebrigtsen
2021-11-02  6:31 ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=874kja5gwj.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=40750@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=ndame@protonmail.com \
    /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).