From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.bugs Subject: bug#49162: 28.0.50; [PATCH] Use named face for apropos-face-button Date: Tue, 22 Jun 2021 15:11:33 +0300 Message-ID: <87mtriaykq.fsf@protesilaos.com> References: <878s333rc3.fsf@protesilaos.com> <83eecuunuw.fsf@gnu.org> <325c9dd4-2f6b-f8a8-bd87-02a8b6f28ba7@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14940"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 49162@debbugs.gnu.org To: martin rudalics , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 22 14:12:15 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 1lvfGI-0003ef-1n for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 14:12:14 +0200 Original-Received: from localhost ([::1]:42552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvfGH-0007lW-1l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 08:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvfG6-0007lH-Ev for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 08:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvfG6-0003oE-7O for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 08:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvfG5-0006Gt-WE for bug-gnu-emacs@gnu.org; Tue, 22 Jun 2021 08:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Jun 2021 12:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49162 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49162-submit@debbugs.gnu.org id=B49162.162436390424078 (code B ref 49162); Tue, 22 Jun 2021 12:12:01 +0000 Original-Received: (at 49162) by debbugs.gnu.org; 22 Jun 2021 12:11:44 +0000 Original-Received: from localhost ([127.0.0.1]:38020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvfFn-0006GI-U9 for submit@debbugs.gnu.org; Tue, 22 Jun 2021 08:11:44 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:49861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvfFl-0006G5-QU for 49162@debbugs.gnu.org; Tue, 22 Jun 2021 08:11:42 -0400 Original-Received: (Authenticated sender: public@protesilaos.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 3EF35FF810; Tue, 22 Jun 2021 12:11:34 +0000 (UTC) In-Reply-To: <325c9dd4-2f6b-f8a8-bd87-02a8b6f28ba7@gmx.at> 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:208848 Archived-At: On 2021-06-22, 14:02 +0200, martin rudalics wrote: > >> +*** New face 'apropos-face-button'. > > > > The name should be apropos-button-face, IMO. > > `apropos-button' IMO. Thank you Martin and Eli! I picked that symbol because it was already given by the implicit face. You can try it with emacs -Q: - M-x apropos RET font-lock-variable RET - Place point over the underlined "Face" text and M-x describe-char - In the resulting Help buffer, you will find the reference to 'apropos-face-button', whose specification is defined thus: Category apropos-face-button: action [Show] apropos-label "Face" apropos-short-label "F" evaporate t face (font-lock-variable-name-face button) follow-link t help-echo "mouse-2, RET: Display more help on this face" keymap [Show] mouse-face highlight rear-nonsticky t supertype button type apropos-face What do you think? -- Protesilaos Stavrou https://protesilaos.com