emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: colored code background in org 8.3
Date: Tue, 07 Jun 2016 17:07:47 +0200	[thread overview]
Message-ID: <87vb1l11h8.fsf@gmx.us> (raw)
In-Reply-To: dh82twh55j31.fsf@example.com

Sebastien Vauban <sva-news@mygooglest.com>
writes:

> Hello all,
>
> Rasmus <rasmus@gmx.us> writes:
>> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>>
>>> I am finally getting around to switching over to org 8.3... One thing
>>> I miss already is the colored background in the code blocks. I recall
>>> that was removed. Has anyone looked into a way to put it back?
>>
>> I use the attached patch for some "interactive slides" with babel.
>
> Could it be put into the official code base, for all users to enjoy
> colored backgrounds without having to patch their Org by hand?

Sure, eventually.  Let me know if you have tested the patch and it works
for you.

I don’t know much about faces, but it should work across all relevant
versions of Emacs.

Aside: Speaking of prettifying src blocks, with prettify-symbols-mode I
managed to make src-blocks look like this when the cursor is somewhere else

    λ LANGUAGE ☰

and like this otherwise

     #+begin_src LANGUAGE :keyword₁ value₁ ⋯ :keywordₙ valueₙ

Rasmus

-- 
Vote for proprietary math!

  reply	other threads:[~2016-06-07 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 11:18 colored code background in org 8.3 John Kitchin
2016-06-03 22:12 ` Rasmus
2016-06-05 12:46   ` John Kitchin
2016-06-07 11:33   ` Sebastien Vauban
2016-06-07 15:07     ` Rasmus [this message]
2016-06-07 16:02       ` Samuel W. Flint
2016-06-09 11:43   ` Nicolas Goaziou
2016-06-09 13:45     ` 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=87vb1l11h8.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).