Re: Bug: org-block face isn't applied to special blocks

2020-09-14 Thread Sébastien Miquel
As far as src blocks being treated differently, there's already the ~org-src-block-faces~ variable. 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

Re: Bug: org-block face isn't applied to special blocks

2020-09-13 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > As far as I can tell, with 8a083514a7 from master, the situation is > now as follows. > > The org-block face is applied >  - to src blocks, when the language is recognized >  - to example, export blocks >  - to verse and quote blocks, if ~org-fontify-quot

Re: Bug: org-block face isn't applied to special blocks

2020-09-11 Thread Eric S Fraga
On Thursday, 10 Sep 2020 at 20:17, Sébastien Miquel wrote: > 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 o

Re: Bug: org-block face isn't applied to special blocks

2020-09-10 Thread Sébastien Miquel
Hi Bastien, As far as I can tell, with 8a083514a7 from master, the situation is now as follows. The org-block face is applied  - to src blocks, when the language is recognized  - to example, export blocks  - to verse and quote blocks, if ~org-fontify-quote-and-verse-blocks~ is ~t~. It isn't

Re: Bug: org-block face isn't applied to special blocks

2020-09-06 Thread Bastien
Hi Sébastien Sébastien Miquel writes: > 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 f

Re: Bug: org-block face isn't applied to special blocks

2020-09-04 Thread Sébastien Miquel
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 t

Re: Bug: org-block face isn't applied to special blocks

2020-09-04 Thread Bastien
Hi Sébastien, Sébastien Miquel 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-

Bug: org-block face isn't applied to special blocks

2020-02-29 Thread Sébastien Miquel
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-endli