[-- Attachment #1.1: Type: text/plain, Size: 490 bytes --] Hi, I am looking at org-src-block-faces. It sort of works, but I thought it should change the whole block, and not just the background of the text in the block. Is that the intended behavior, or am I missing something? [image: image.png] Thanks, John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu [-- Attachment #1.2: Type: text/html, Size: 912 bytes --] [-- Attachment #2: image.png --] [-- Type: image/png, Size: 112656 bytes --]
[-- Attachment #1: Type: text/plain, Size: 92 bytes --] Hi John, Are you perhaps missing the :extend t directive in the font spec? Best, Tom > [-- Attachment #2: Type: text/html, Size: 337 bytes --]
[-- Attachment #1: Type: text/plain, Size: 661 bytes --] YES! I remembered something about extend, but couldn't find it anywhere. That solved my problem. It might be a good idea to add that to the doc string for `org-src-block-faces`, maybe with some version note that it applies to. Thanks so much! John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Tue, Jun 1, 2021 at 2:52 PM Tom Gillespie <tgbugs@gmail.com> wrote: > Hi John, > Are you perhaps missing the :extend t directive in the font spec? Best, > Tom > >> [-- Attachment #2: Type: text/html, Size: 1516 bytes --]
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> Hi,
> I am looking at org-src-block-faces. It sort of works, but I thought it should change the whole block, and not just the background of the text in the block.
> Is that the intended behavior, or am I missing something?
>
> image.png
>
> Thanks,
>
> John
>
I find this is affected a lot by the colour theme the user has
installed. I've noticed that with some themes, the full block has a
different background while other themes have no distinct background for
source blocks at all and others only have it for the begin/end lines.
--
Tim Cross