From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#40750: [External] : bug#40750: Use error face for errors Date: Sat, 25 Sep 2021 09:59:17 -0700 Message-ID: References: <87eeie8ebe.fsf@gnus.org> <87ee9dnzp5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20896"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "40750@debbugs.gnu.org" <40750@debbugs.gnu.org>, ndame To: Drew Adams , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 25 19:00:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUB28-0005Ek-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 19:00:16 +0200 Original-Received: from localhost ([::1]:41862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUB26-0000lJ-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 13:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUB1u-0000l7-Rv for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 13:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUB1u-0003h3-Jk for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 13:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUB1u-0004HR-JK for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2021 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40750 X-GNU-PR-Package: emacs Original-Received: via spool by 40750-submit@debbugs.gnu.org id=B40750.163258916416382 (code B ref 40750); Sat, 25 Sep 2021 17:00:02 +0000 Original-Received: (at 40750) by debbugs.gnu.org; 25 Sep 2021 16:59:24 +0000 Original-Received: from localhost ([127.0.0.1]:34541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUB1I-0004GA-5x for submit@debbugs.gnu.org; Sat, 25 Sep 2021 12:59:24 -0400 Original-Received: from mail-pj1-f54.google.com ([209.85.216.54]:36848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUB1H-0004Fy-Jg for 40750@debbugs.gnu.org; Sat, 25 Sep 2021 12:59:23 -0400 Original-Received: by mail-pj1-f54.google.com with SMTP id u1-20020a17090ae00100b0019ec31d3ba2so794050pjy.1 for <40750@debbugs.gnu.org>; Sat, 25 Sep 2021 09:59:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=zvsF8i2Vaq8Eh9aHSKrXPTrVkjlX7z0sr9IVEPPs/AA=; b=iMwgclOMW01FdfRjck9txxxZ1DeoXYPABQc888PCseoxdXYPtmtUhGSLWkQXHi7oSl +6ZQFe22bSZ5oLXfY0ABYxfn/3xrba/4Jv++GdMw17AlKwynyrYXRf/ov4OCXx1chJHx k3c7kvMe7yIbBsubLYCqqYC3SvD7+GqAhNpKkyDYuLCa2JpAixx5ICYKCqtCy74Mcxyx NIYffbjGFRiU0/U7gdENqRvtg5XaITM/EgXoBeb3SA7q21rVcK7MWtZTh0YfxXEZvcE8 LkemT4i/1Lyj6Jr/rkpmIWngfGKPFGEKUeraywq+Cs0PFIIu7eGUhnD3ZosT/X5RDpAI icnw== X-Gm-Message-State: AOAM531yoKy5GvOVSmVmhu3hF7rBaz1XznVxAiaBxRg/g8ZqO/M8/vC0 Hmt49THPrtlUtlh9MDWftL7lj2d6M4sSNrktm/8= X-Google-Smtp-Source: ABdhPJxcgr1F1GFyFdauMMT57kRYku/UfLqprn9hB0R/lEDDj1oYuYCNyNvcQxpqNJnIvC81a72isqwBNbf0B1VpL58= X-Received: by 2002:a17:902:d505:b0:13e:b49:9d8d with SMTP id b5-20020a170902d50500b0013e0b499d8dmr2579969plg.22.1632589157686; Sat, 25 Sep 2021 09:59:17 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 25 Sep 2021 09:59:17 -0700 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215477 Archived-At: Drew Adams writes: > Add a user option, defaulting to no change from > the traditional behavior, which causes error and > warning messages to preserve text properties on > the strings they use. That's not what happens, see Bug#50785. > Code should be able to control the appearance > of text it uses when interacting with users. > And users should be able to override this or > (better) configure it. Having a face is exactly the way to give users control over what this looks like. Of course, the error face should not just remove any faces that are already there; that precludes making e.g. keybindings stand out with the `help-key-binding' face. So you would need to give the error-message face lower priority.