From: Norman Tovey-Walsh <ndw@nwalsh.com>
To: emacs-orgmode@gnu.org
Subject: Re: Anyone doing any fancy customizations of source blocks?
Date: Fri, 19 Jun 2020 13:53:06 +0100 [thread overview]
Message-ID: <m2imfnkyj1.fsf@nwalsh.com> (raw)
In-Reply-To: <alpine.DEB.2.02.2006182358210.11566@shell.miskatonic.org>
[-- Attachment #1.1: Type: text/plain, Size: 922 bytes --]
> On 3 June 2020, Diego Zamboni wrote:
>> I use the config John mentioned and I like it - though I use different
>> symbols. Here's my config if you want an example:
>> https://github.com/zzamboni/dot-emacs/blob/master/init.org#source-code-blocks
This example reminded me of something that’s been puzzling me. In the
screenshot, the background color of lines that begin and end a source
block extend all the way across the screen.
When I change the faces for org block begin/end to something with a
background color, the color only extends to the end of the characters on
that line. The same is true if I change the background color of the
content of the block.
This is quite distracting. I thought “this must be the consequence of
some other mode I’m using or something” and I decided to test that. I
fired up “emacs -q” and loaded the code pointed to by the post above.
What I get is:
[-- Attachment #1.2: Screen Shot 2020-06-19 at 1.49.40 PM.png --]
[-- Type: image/png, Size: 18243 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 450 bytes --]
What’s the trick to get the background color to extend across the entire line?
<
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/
> ...it is significant that we are called the 'information society'—not
> the thinking society, not the deliberative society, not the society of
> reason and rationality.--Lloyd Morrisett
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2020-06-19 12:53 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 [this message]
2020-06-19 13:12 ` Joost Kremers
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=m2imfnkyj1.fsf@nwalsh.com \
--to=ndw@nwalsh.com \
--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).