From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Faces customization group linked from mode groups
Date: Sat, 05 Nov 2005 09:43:55 +0200 [thread overview]
Message-ID: <87hdarodih.fsf@jurta.org> (raw)
In-Reply-To: <436BDAC7.2090704@student.lu.se> (Lennart Borgman's message of "Fri, 04 Nov 2005 23:03:51 +0100")
> There was recently a question on the gnu-emacs-help list from someone
> trying to customize the faces used in syntax highlighting C mode. He
> looked in C mode customization group but could not find it.
>
> Maybe it would be a good idea to have a link to the faces customization
> from each mode customization group? (If that is possible in a simple way?)
One solution is to add the parent group `font-lock-highlighting-faces'
to all groups of modes that support font-lock. But this has one negative
effect: the `group' link is two-directional, so the customization group
`font-lock-highlighting-faces' will display too many children links
to all such groups.
A better solution is to implement a new one-directional link to another
customization group. Currently `:link' supports four link types, and a
new link type could have the name `custom-group'. It could create a
one-directional link in the customization buffer leading to the specified
group, e.g.:
(defgroup c nil
"Support for the C language and related languages."
:link '(custom-manual "(ccmode)") ;; this is already existing link
:link '(custom-group font-lock-highlighting-faces) ;; a new link type
:group 'languages)
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-11-05 7:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 22:03 Faces customization group linked from mode groups Lennart Borgman
2005-11-05 7:43 ` Juri Linkov [this message]
2005-11-05 19:59 ` Lennart Borgman
2005-11-06 17:35 ` Richard M. Stallman
2005-11-07 14:27 ` Juri Linkov
2005-11-07 21:56 ` Richard M. Stallman
2005-11-08 12:45 ` Juri Linkov
2005-11-11 7:42 ` Richard M. Stallman
2005-11-11 19:34 ` Juri Linkov
2005-11-12 17:50 ` Richard M. Stallman
2005-11-15 0:48 ` Juri Linkov
2005-11-15 23:21 ` Richard M. Stallman
2005-11-15 0:42 ` Juri Linkov
2005-11-15 23:21 ` Richard M. Stallman
2005-11-17 7:46 ` Juri Linkov
2005-11-18 16:57 ` Richard M. Stallman
2005-11-07 14:28 ` Juri Linkov
2005-11-05 14:35 ` Richard M. Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hdarodih.fsf@jurta.org \
--to=juri@jurta.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).