From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Changing org-block background with org-src-fontify-natively Date: Sat, 26 Dec 2015 20:09:57 +0100 Message-ID: <2015-12-26T20-04-05@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCuEK-0008AN-En for emacs-orgmode@gnu.org; Sat, 26 Dec 2015 14:10:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCuEH-0006hV-96 for emacs-orgmode@gnu.org; Sat, 26 Dec 2015 14:10:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:34446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCuEH-0006gs-2C for emacs-orgmode@gnu.org; Sat, 26 Dec 2015 14:10:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aCuEF-0005Id-Ca for emacs-orgmode@gnu.org; Sat, 26 Dec 2015 20:10:11 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Dec 2015 20:10:11 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Dec 2015 20:10:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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