[Top][All Lists]

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

Coding conventions for `defface`

From: Tianxiang Xiong
Subject: Coding conventions for `defface`
Date: Sat, 1 Apr 2017 12:15:52 -0700

Many faces in Emacs Lisp end in `-face`, even though the Emacs Lisp manual section on `defface` says that they shouldn't: https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Faces.html

One problem is that this convention is not mentioned in the Emacs Lisp Coding Conventions section of the manual: https://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventions.html#FOOT21

This can create confusion: https://github.com/clojure-emacs/cider/pull/1966#issue-216440476

I've added an item to the Coding Conventions section of the Emacs Lisp manual about naming faces.

Enclosed: patch

Attachment: v1-0001-Add-item-to-Coding-Conventions-on-face-names.patch
Description: Text Data

reply via email to

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