emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Augusto Stoffel <arstoffel@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Default entry in org-src-block-faces
Date: Sat, 12 Jun 2021 17:15:03 +0200	[thread overview]
Message-ID: <878s3fi07c.fsf@gmail.com> (raw)

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

             reply	other threads:[~2021-06-12 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 15:15 Augusto Stoffel [this message]
2021-06-19 20:16 ` Default entry in org-src-block-faces Sébastien Miquel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s3fi07c.fsf@gmail.com \
    --to=arstoffel@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).