* Default entry in org-src-block-faces
@ 2021-06-12 15:15 Augusto Stoffel
2021-06-19 20:16 ` Sébastien Miquel
0 siblings, 1 reply; 2+ messages in thread
From: Augusto Stoffel @ 2021-06-12 15:15 UTC (permalink / raw)
To: emacs-orgmode
Would it make sense to allow a default entry (t FACE) in
`org-src-block-faces', to be applied to all src blocks without a more
specific entry in that alist? There seems to be no other way to specify
a face to be applied to all src blocks, and only src blocks.
I also wanted to point out two minor issues in org-src.el:
- It refers to the `org-block' face without requiring `org-faces'. This
is probably never a problem in org itself, but if an external package
loads `org-src' in order to fontify some code blocks, that face might
be missing.
- The docstring of `org-src-block-faces' contains the word
"respectability".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Default entry in org-src-block-faces
2021-06-12 15:15 Default entry in org-src-block-faces Augusto Stoffel
@ 2021-06-19 20:16 ` Sébastien Miquel
0 siblings, 0 replies; 2+ messages in thread
From: Sébastien Miquel @ 2021-06-19 20:16 UTC (permalink / raw)
To: Augusto Stoffel, emacs-orgmode
Hi,
Augusto Stoffel writes:
> Would it make sense to allow a default entry (t FACE) in
> `org-src-block-faces', to be applied to all src blocks without a more
> specific entry in that alist? There seems to be no other way to specify
> a face to be applied to all src blocks, and only src blocks.
Makes sense to me.
I also wonder if there's any reason for the `org-block' face not to
apply to "greater" blocks.
--
Sébastien Miquel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-19 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-12 15:15 Default entry in org-src-block-faces Augusto Stoffel
2021-06-19 20:16 ` Sébastien Miquel
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).