GNU bug report logs -
#36858
27.0.50; display bugs with display-fill-column-indicator-mode
Previous Next
Reported by: Davor Rotim <rotim.davor <at> gmail.com>
Date: Tue, 30 Jul 2019 18:12:01 UTC
Severity: normal
Found in version 27.0.50
Done: Ergus <spacibba <at> aol.com>
Bug is archived. No further changes may be made.
Full log
Message #89 received at 36858 <at> debbugs.gnu.org (full text, mbox):
Not really intending to jump in here, but I
wonder if an enhancement like one of these
would be possible/useful. No idea whether
this really makes sense or is relevant to
this thread - just thinking out loud.
* Add a :set keyword for `defface'.
* Add an optional SET-FUNCTION arg to
`face-spec-set'. It would be invoked just
after the face gets set to SPEC.
Presumably, with something like that, code
could specify, for a given face, that setting
its attributes in certain ways would entail
performing some additional action.
For example, if background is set, without
also underlining (example - not limited to
this case), then the face would not be
applied to an eol char.
---
Otherwise, isn't it possible for the Org
code to check the face attributes and act
accordingly wrt the eol char?
Yes, this is a more general issue than just
for Org. That's why I was thinking of
something like the suggestion above: have
face-setting let you know what the current
case is (e.g. have it set a variable, which
you can test).
This bug report was last modified 5 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.