all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Overriding some face attributes without changing the default(s) one(s)
@ 2014-06-06 11:32 Alexandre LAURENT
  2014-06-07  6:55 ` Alex Kost
  2014-06-07 18:52 ` Michael Heerdegen
  0 siblings, 2 replies; 8+ messages in thread
From: Alexandre LAURENT @ 2014-06-06 11:32 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am trying to customize the whitespace-mode face for "long" lines.
By default, a specific face is defined for long lines but it is kind
of ugly in my case.
I would actually like these lines to look the same color as usual with
weight = bold, i.e. keeping the syntax highlighting (keywords,
strings, function names, etc.), but overriding weight or underline
attributes.

From http://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html,
it seems that setting some attributes to undefined "tells Emacs to
refer to a parent face", but not sure what the parent is in this case
anyway.

Moreover, if I don't set foreground / background at all, these are
just resets to the default face (I suppose).

Since there are multiple different faces for syntax highlighting, and
only one for long lines, I'm not sure that this is even possible. But
if it is, any ideas?

Thanks,

-- 
Alexandre LAURENT



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-09 18:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 11:32 Overriding some face attributes without changing the default(s) one(s) Alexandre LAURENT
2014-06-07  6:55 ` Alex Kost
2014-06-07 18:52 ` Michael Heerdegen
2014-06-07 23:09   ` Alexandre LAURENT
2014-06-08  6:02     ` Alex Kost
2014-06-08 20:23       ` Alexandre LAURENT
2014-06-09  6:26         ` Alex Kost
2014-06-09 18:10           ` Alexandre LAURENT

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.