emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Changing org-block background with org-src-fontify-natively
@ 2015-12-26 19:09 Karl Voit
  2015-12-26 21:17 ` Karl Voit
  0 siblings, 1 reply; 25+ messages in thread
From: Karl Voit @ 2015-12-26 19:09 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-06-14 16:50 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-26 19:09 Changing org-block background with org-src-fontify-natively Karl Voit
2015-12-26 21:17 ` 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

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).