emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Phil Estival <pe@7d.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] (cosmetic) improving block declaration colors
Date: Wed, 08 Jun 2022 21:50:36 +0800	[thread overview]
Message-ID: <87o7z3qn6b.fsf@localhost> (raw)
In-Reply-To: <2b705b3c-3eec-c466-263b-1e3224f9ea84@7d.nz>

Phil Estival <pe@7d.nz> writes:

> Having several programming books converted to org,
> I read a lot of begin/end_src expressions. The
> following patch helps lessen the visibility of
> those terms: they are syntax tokens and can be
> replaced my colors.
>
> So this gives different faces to the language
> specifiers and begin_ words, to attenuate
> begin_/end_src and emphasize the language selected.
>
> The picture in the attachment shows how source
> blocks get rendered then.  Don't mind too much
> the "begin_quote" on it, as it's intended to
> be "begin_src" under normal circumstances.

The idea is reasonable and also in line with our inline src block
fontification. However, we are currently switching the fontification
backend. Hence, I'd prefer to postpone this patch to later. It will need
to be adapted to the new fontification code.

See https://orgmode.org/list/87ee7c9quk.fsf@localhost

Best,
Ihor


      reply	other threads:[~2022-06-08 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-08  7:00 Phil Estival
2022-06-08 13:50 ` Ihor Radchenko [this message]

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=87o7z3qn6b.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pe@7d.nz \
    --subject='Re: [PATCH] (cosmetic) improving block declaration colors' \
    /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

Code repositories for project(s) associated with this 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).