emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Re: Anyone doing any fancy customizations of source blocks?
Date: Fri, 19 Jun 2020 15:12:43 +0200	[thread overview]
Message-ID: <87r1ubdws4.fsf@fastmail.fm> (raw)
In-Reply-To: <m2imfnkyj1.fsf@nwalsh.com>


On Fri, Jun 19 2020, Norman Tovey-Walsh wrote:
> What’s the trick to get the background color to extend across 
> the entire line?

In Emacs 27, add an `:extend t` property to the face. In Emacs 26 
and earlier, IIRC, you need to make sure that the newline at the 
end of the line is also fontified. (That may actually be necessary 
in Emacs 27 as well, in addition to the `:extend` property...)

-- 
Joost Kremers
Life has its moments


  reply	other threads:[~2020-06-19 13:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02 18:54 Anyone doing any fancy customizations of source blocks? William Denton
2020-06-02 19:23 ` John Kitchin
2020-06-03 18:23   ` Diego Zamboni
2020-06-03 20:09     ` briangpowell .
2020-06-04  6:29       ` Diego Zamboni
2020-06-19  4:04     ` William Denton
2020-06-19  7:19       ` Diego Zamboni via General discussions about Org-mode.
2020-06-19 12:53       ` Norman Tovey-Walsh
2020-06-19 13:12         ` Joost Kremers [this message]
2020-06-19 14:21           ` Norman Tovey-Walsh
2020-06-08 14:29   ` Rasmus

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=87r1ubdws4.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-orgmode@gnu.org \
    /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).