emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: swflint@flintfam.org (Samuel W. Flint)
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: colored code background in org 8.3
Date: Tue, 07 Jun 2016 11:02:46 -0500	[thread overview]
Message-ID: <87lh2h7zrt.fsf@shannon.flintfam.org> (raw)
In-Reply-To: <87vb1l11h8.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 07 Jun 2016 17:07:47 +0200")

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

:: Rasmus  writes:

Rasmus> 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?

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

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

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

Rasmus>     λ LANGUAGE ☰

Rasmus> and like this otherwise

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

How do you do this?

Thanks,

Sam

-- 
Samuel W. Flint
4096R/266596F4
      (9477 D23E 389E 40C5 2F10  DE19 68E5 318E 2665 96F4)
(λs.s s) λs.s s

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-06-07 16:03 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
2016-06-07 16:02       ` Samuel W. Flint [this message]
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=87lh2h7zrt.fsf@shannon.flintfam.org \
    --to=swflint@flintfam.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).