* colored src blocks question
@ 2021-06-01 16:30 John Kitchin
2021-06-01 18:51 ` Tom Gillespie
2021-06-02 3:08 ` Tim Cross
0 siblings, 2 replies; 4+ messages in thread
From: John Kitchin @ 2021-06-01 16:30 UTC (permalink / raw)
To: org-mode-email
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: colored src blocks question
2021-06-01 16:30 colored src blocks question John Kitchin
@ 2021-06-01 18:51 ` Tom Gillespie
2021-06-01 20:21 ` John Kitchin
2021-06-02 3:08 ` Tim Cross
1 sibling, 1 reply; 4+ messages in thread
From: Tom Gillespie @ 2021-06-01 18:51 UTC (permalink / raw)
To: John Kitchin; +Cc: org-mode-email
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: colored src blocks question
2021-06-01 18:51 ` Tom Gillespie
@ 2021-06-01 20:21 ` John Kitchin
0 siblings, 0 replies; 4+ messages in thread
From: John Kitchin @ 2021-06-01 20:21 UTC (permalink / raw)
To: Tom Gillespie; +Cc: org-mode-email
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: colored src blocks question
2021-06-01 16:30 colored src blocks question John Kitchin
2021-06-01 18:51 ` Tom Gillespie
@ 2021-06-02 3:08 ` Tim Cross
1 sibling, 0 replies; 4+ messages in thread
From: Tim Cross @ 2021-06-02 3:08 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-02 3:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-01 16:30 colored src blocks question John Kitchin
2021-06-01 18:51 ` Tom Gillespie
2021-06-01 20:21 ` John Kitchin
2021-06-02 3:08 ` Tim Cross
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.