emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: carsten@kragelund.me
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] [FR] Fontifying src-blocks with no language specified
Date: Fri, 17 Feb 2023 20:31:31 +0100	[thread overview]
Message-ID: <2882a71eb58514858769117689e0875b@kragelund.me> (raw)
In-Reply-To: <87pma8bi0t.fsf@localhost>

Ihor Radchenko skrev den 2023-02-17 13:20:
> carsten@kragelund.me writes:
> 
>> Fontifying src-blocks with a missing language would allow being able 
>> to
>> theme src-blocks without having the unthemed text of languages 
>> fallback
>> to whatever color the src-blocks are set to.
>> I envision this could be done with an empty string in
>> org-src-block-faces.
> 
> I do not see much problem adding this.
> See the attached patch.

Hey, this patch works great, minor issue, I believe
the line (add-to-list 'org-src-block-faces '(("" highlight))
in ORG-NEWS has an extra opening parenthesis and should
be (add-to-list 'org-src-block-faces '("" highlight))


  reply	other threads:[~2023-02-17 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 10:49 [FR] Fontifying src-blocks with no language specified carsten
2023-02-17 12:20 ` [PATCH] " Ihor Radchenko
2023-02-17 19:31   ` carsten [this message]
2023-02-18 10:48     ` Ihor Radchenko
2023-04-02 14:33       ` Ihor Radchenko

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=2882a71eb58514858769117689e0875b@kragelund.me \
    --to=carsten@kragelund.me \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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