|
From: | Sébastien Miquel |
Subject: | Re: Bug: org-block face isn't applied to special blocks |
Date: | Mon, 14 Sep 2020 17:17:19 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
How about the following : + Make the ~org-block~ face apply to every block + either - add an ~org-src-block~ face - modify ~org-src-block-faces~ to allow a catch-all case It'd be nice for those to apply to unrecognized languages + keep ~org-fontify-quote-and-verse-blocks~I think the only users that would notice the difference are the few (?) who use special blocks and expect them not to be fontified. All they'd have to do to restore the previous behavior is set the ~org-src-block~ and unset the ~org-block~ faces.
It isn't applied - to src blocks, when the language isn't recognized - to special blocks (that is, blocks with arbitrary names) I make heavy use of special blocks and I'd like this face to apply to them.I also make heavy use of special blocks but, for me, these are often more like verse or quote blocks (i.e. the contents of the block are prose) than src blocks so I would not want them to be treated as src blocks are. I think we'll need to have (yet) another option to control this?
[Prev in Thread] | Current Thread | [Next in Thread] |