all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Johan Bockgård" <bojohan@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: master 1be349c 1/2: * lisp/emacs-lisp/package.el: Define custom faces
Date: Sun, 06 Sep 2015 00:15:24 +0200	[thread overview]
Message-ID: <87vbboo6mb.fsf@gnu.org> (raw)
In-Reply-To: <CAAdUY-KUGqUa0ww4o3D9Wkw35PzYSy2vP-ia1iJXGg-9ZwnSRA@mail.gmail.com> (Artur Malabarba's message of "Sat, 5 Sep 2015 23:09:53 +0100")

Artur Malabarba <bruce.connor.am@gmail.com> writes:

>> The convention is to not end face names with "-face".
>
> Cool. I prefer to not end the names with `-face', but I was just
> following the lead of the font-lock faces.

The font-lock face are different for historical reasons.

> For reference, is this convention stated anywhere? I couldn't find it
> in (info "(elisp) Defining Faces").

It says right there:

    -- Macro: defface face spec doc [keyword value]…
        This macro declares FACE as a named face whose default face spec is
        given by SPEC.  You should not quote the symbol FACE, and it should
        not end in ‘-face’ (that would be redundant).



  reply	other threads:[~2015-09-05 22:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150806102825.25477.3457@vcs.savannah.gnu.org>
     [not found] ` <E1ZNIPS-0006dx-Nh@vcs.savannah.gnu.org>
2015-09-05 21:44   ` master 1be349c 1/2: * lisp/emacs-lisp/package.el: Define custom faces Johan Bockgård
2015-09-05 22:09     ` Artur Malabarba
2015-09-05 22:15       ` Johan Bockgård [this message]
2015-09-06 13:05         ` Artur Malabarba
2015-09-07  9:48         ` Oleh Krehel
2015-09-10 11:31           ` Alexis

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

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

  git send-email \
    --in-reply-to=87vbboo6mb.fsf@gnu.org \
    --to=bojohan@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.