|
From: | Sébastien Miquel |
Subject: | Re: Bug: org-block face isn't applied to special blocks |
Date: | Fri, 4 Sep 2020 19:47:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Hi Bastien, With latest org-mode master, and emacs -q,run (defface org-block '((t (:background "#494949" :extend t))) "") before loading org-mode,
then visit an org buffer containing the three following blocks.When I do so, the org-block face only gets applied to the src block, and not to the quote block, nor the special block.
#+BEGIN_theorem #+END_theorem #+BEGIN_SRC sh #+END_SRC #+BEGIN_QUOTE #+END_QUOTE Regards,
Hi Sébastien, Sébastien Miquel <sebastien.miquel@posteo.eu> writes:Afaict, the org-block face isn't applied to special blocks. Its documentation implies it applies to any block. The relevant function is org-fontify-meta-lines-and-blocks-1. It may be a simple matter of changing the logic a bit and adding (add-face-text-property bol-after-beginline beg-of-endline 'org-block t).Is it still the case with latest master? If so, can you provide a minimal example? Thanks,
[Prev in Thread] | Current Thread | [Next in Thread] |