bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49162: 28.0.50; [PATCH] Use named face for apropos-face-button


From: Protesilaos Stavrou
Subject: bug#49162: 28.0.50; [PATCH] Use named face for apropos-face-button
Date: Tue, 22 Jun 2021 15:11:33 +0300
User-agent: Notmuch/0.32.1 (https://notmuchmail.org) Emacs/28.0.50 (x86_64-pc-linux-gnu)

On 2021-06-22, 14:02 +0200, martin rudalics <rudalics@gmx.at> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]