emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Changing org-block background with org-src-fontify-natively
Date: Sat, 26 Dec 2015 20:09:57 +0100	[thread overview]
Message-ID: <2015-12-26T20-04-05@devnull.Karl-Voit.at> (raw)

Hi!

,----[ my current settings for org-block ]
| (defface org-block
|   ;; defface org-block-background was removed from org:
|   ;;    http://emacs.stackexchange.com/questions/14824/org-block-background-font-not-having-effect
|   '((t (:background "#000000")))
|   "Face used for the source block background.")
|
| (setq org-src-fontify-natively t)
`----

With this, I get the #000000 background for blocks like example,
quote, and src. If I do specify a src type like "sh", I guess that
org-src-fontify-natively overrides my setting. At least I get the
effect that with a given src type, the background is not #000000 but
the pre-defined background of my theme (wombat).

So, is there a way to modify (only) the background colour also for
source blocks with a given type and active org-src-fontify-natively?

Thanks!

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

             reply	other threads:[~2015-12-26 19:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 19:09 Karl Voit [this message]
2015-12-26 21:17 ` Changing org-block background with org-src-fontify-natively Karl Voit
2015-12-27  5:55   ` Xebar Saram
2015-12-27  9:42     ` Karl Voit
2016-01-03 17:06       ` John Kitchin
2016-01-12  9:52         ` Karl Voit
2016-01-12 11:37           ` John Kitchin
2016-01-12 11:53             ` Karl Voit
2016-01-12 13:26               ` John Kitchin
2016-01-13  4:33                 ` Nick Dokos
2016-01-13 12:27                   ` John Kitchin
2016-01-14 16:59                   ` Karl Voit
2016-01-15  0:47                     ` John Kitchin
2016-01-15  8:35                       ` Andreas Leha
2016-06-09 15:05                         ` Rasmus
2016-06-10  5:24                           ` Samuel W. Flint
2016-06-10  5:32                             ` Xebar Saram
2016-06-11 11:40                             ` Rasmus
2016-06-11 14:44                               ` Samuel W. Flint
2016-06-12  0:30                               ` Ken Mankoff
2016-06-12 22:06                                 ` Rasmus
2016-06-13 12:34                               ` Alan Schmitt
2016-06-13 17:12                                 ` Rasmus
2016-06-14 15:23                                   ` Alan Schmitt
2016-06-10 23:33                           ` John Kitchin

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=2015-12-26T20-04-05@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).