GNU bug report logs -
#11213
24.0.95; (Maybe/Wish): Should color-themes be buffer local?
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Tue, 10 Apr 2012 20:10:02 UTC
Severity: wishlist
Found in version 24.0.95
Done: Jambunathan K <kjambunathan <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 11213 <at> debbugs.gnu.org (full text, mbox):
Hello Chong
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> ODT exporter uses htmlfontify.el to export source blocks with some
>> fancy colors.[2] The implication is that an ODT file created out of an
>> Org file (with src blocks) will look and feel differently based on
>> individual user's font lock settings. If there was/were a way to
>> activate a theme on per-buffer basis, then I would like to use it
>> within the ODT exporter.
>
> Your description is not too clear, but I guess what you're trying to say
> is that you want the htmlfontified output to use some standard set of
> faces, independent of the user's face settings.
You have understood me correctly.
> Probably the best way to do that is to set up face remappings in the
> to-be-exported buffer. See the Face Remapping node in the Lisp manual
> for details.
Given a(ny) theme, let's say "adwaita-theme.el", can someone give me a
recipe which runs through all the face definitions defined in that theme
file and hand it off to `face-remapping-alist'.
I don't see any references to remap in cus-face.el and I think it will
take sometime for me to "massage" face definitions in a theme file in to
a form that is understood by `face-remapping-alist'. I hope such a
massaging is possible.
Again, any ready to use recipe is most welcome.
Jambunathan K.
This bug report was last modified 11 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.