Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-14 Thread Alan Schmitt
On 2016-06-13 19:12, Rasmus writes: >> One thing I don't understand is how I reveal what is hidden by the >> burger symbol. I move my cursor around, including on top of the burger, >> and nothing changes. Should I run some command to reveal it? > > Indeed. That's the main selling point of pretti

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-13 Thread Rasmus
Hi Alan, Alan Schmitt writes: >>> How exactly do you get the pencil instead of the #+BEGIN_SRC and >>> #+END_SRC? >> >> Prettify-symbols-mode, I'm using the version that will be shipped with >> Emacs 25.1. Details here: >> >> https://pank.eu/blog/pretty-babel-src-blocks.html > > This is gre

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-13 Thread Alan Schmitt
On 2016-06-11 13:40, Rasmus writes: > swfl...@flintfam.org (Samuel W. Flint) writes: > >> How exactly do you get the pencil instead of the #+BEGIN_SRC and >> #+END_SRC? > > Prettify-symbols-mode, I'm using the version that will be shipped with > Emacs 25.1. Details here: > > https://pank.eu/

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-12 Thread Rasmus
Ken Mankoff writes: > On 2016-06-11 at 07:40, Rasmus wrote: >> Prettify-symbols-mode, I'm using the version that will be shipped with >> Emacs 25.1. Details here: >> >> https://pank.eu/blog/pretty-babel-src-blocks.html > > That post says, > >>> It might be nice to reveal the burger whenever

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-11 Thread Ken Mankoff
On 2016-06-11 at 07:40, Rasmus wrote: > Prettify-symbols-mode, I'm using the version that will be shipped with > Emacs 25.1. Details here: > > https://pank.eu/blog/pretty-babel-src-blocks.html That post says, >> It might be nice to reveal the burger whenever the cursor is on the >> same li

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-11 Thread Samuel W. Flint
> Rasmus writes: R> swfl...@flintfam.org (Samuel W. Flint) writes: >> How exactly do you get the pencil instead of the #+BEGIN_SRC and >> #+END_SRC? R> Prettify-symbols-mode, I'm using the version that will be shipped R> with Emacs 25.1. Details here: R> https:/

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-11 Thread Rasmus
swfl...@flintfam.org (Samuel W. Flint) writes: > How exactly do you get the pencil instead of the #+BEGIN_SRC and > #+END_SRC? Prettify-symbols-mode, I'm using the version that will be shipped with Emacs 25.1. Details here: https://pank.eu/blog/pretty-babel-src-blocks.html Xebar Saram wri

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-10 Thread John Kitchin
That is some rock-star stuff! Thanks! Rasmus writes: > Andreas Leha writes: > >> My Org mode experience would also benefit a lot from having source block >> backgrounds again and with per-language configurable background colour. > > That’s possible with the attache patch. An example of the horr

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-09 Thread Xebar Saram
On Fri, Jun 10, 2016 at 8:24 AM, Samuel W. Flint wrote: > How exactly do you get the pencil instead of the #+BEGIN_SRC and > #+END_SRC? > and the different background colors per code block type (different background for python. lisp etc :)) thx Z

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-09 Thread Samuel W. Flint
> Rasmus writes: R> Andreas Leha writes: >> My Org mode experience would also benefit a lot from having >> source block backgrounds again and with per-language configurable >> background colour. R> That’s possible with the attache patch. An example of the R> horrors

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-09 Thread Rasmus
Andreas Leha writes: > My Org mode experience would also benefit a lot from having source block > backgrounds again and with per-language configurable background colour. That’s possible with the attache patch. An example of the horrors you can subject yourself to is also attached. -- Lasciate

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-15 Thread Andreas Leha
Hi, John Kitchin writes: > It doesn't sounds like there is a way to do language specific colors. > Karl Voit writes: >> * Nick Dokos wrote: [ ... ] >> >> It would be fine to have both: org-src-fontify-natively *and* a >> background colour I can set. I'd like to 'back' this feature request.

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-14 Thread John Kitchin
It doesn't sounds like there is a way to do language specific colors. Karl Voit writes: > * Nick Dokos wrote: >> >> M-x describe-face RET org-block RET > > With this, I see that "background" is set to the colour I want to > have. > > However, what's the face-variable that defines the background o

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-14 Thread Karl Voit
* Nick Dokos wrote: > > M-x describe-face RET org-block RET With this, I see that "background" is set to the colour I want to have. However, what's the face-variable that defines the background of blocks with a specified language? Or does it interfere with my "(setq org-src-fontify-natively t)"

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-13 Thread John Kitchin
I guess that gives away I am still using 8.2.10! I have never figured out how to get a higher version of that through elpa/melpa/http://orgmode.org/elpa/. Nick Dokos writes: > John Kitchin writes: > >> That is pretty weird. It should be defined in org-faces.el. What org version >> are you using

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-12 Thread Nick Dokos
John Kitchin writes: > That is pretty weird. It should be defined in org-faces.el. What org version > are you using? > It was deleted in this commit: commit f8b42e8ebeeecdef59a8a7cbc4324264a5162197 Author: Bastien Guerry Date: Mon Jul 28 18:54:00 2014 +0200 Don't use an overlay for src

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-12 Thread John Kitchin
That is pretty weird. It should be defined in org-faces.el. What org version are you using? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchi

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-12 Thread Karl Voit
* John Kitchin wrote: > I halso have no org-block-background in my setup: C-h v org-block-! > > Are faces supposed to show as variable? I have no clue. Unfortunately, my elisp knowledge is very small. > in my setup, this is defined in org-faces. > > Maybe you can do something as mundane as > (se

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-12 Thread John Kitchin
I halso have no org-block-background in my setup: C-h v org-block-! Are faces supposed to show as variable? in my setup, this is defined in org-faces. Maybe you can do something as mundane as (set-face-background 'org-block-background "plum2") in your init file. Maybe Karl Voit writes: > *

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-12 Thread Karl Voit
* John Kitchin wrote: > What do you have org-block-background set to? There is no org-block-background in my setup: C-h v org-block- only offers org-block-entry-blocking and org-block-regexp. Org-mode version 8.3.2 (release_8.3.2-200-gc2eeac) > I use the leuven theme, which gives this a light y

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-03 Thread John Kitchin
What do you have org-block-background set to? I use the leuven theme, which gives this a light yellow background for me. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7

Re: [O] Changing org-block background with org-src-fontify-natively

2015-12-27 Thread Karl Voit
* Xebar Saram wrote: > > Hi all Hi Xebar! > so i have zero technical skills or knowledge, but i have been looking for a > way to have a different background in org-src blocks so that bash > backgrounds will have a black color, lisp a white color etc. > from what i understand (but i may be totall

Re: [O] Changing org-block background with org-src-fontify-natively

2015-12-26 Thread Xebar Saram
Hi all so i have zero technical skills or knowledge, but i have been looking for a way to have a different background in org-src blocks so that bash backgrounds will have a black color, lisp a white color etc. from what i understand (but i may be totally off here) Karl, thats what your trying to a

Re: [O] Changing org-block background with org-src-fontify-natively

2015-12-26 Thread Karl Voit
* Karl Voit wrote: > > 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? Addendum: https://stackoverflow.com/a/30139612 shows my situation whereas the setup of John Kitchin https://www.youtube.com/watch?v=N7A

[O] Changing org-block background with org-src-fontify-natively

2015-12-26 Thread Karl Voit
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 "#00"))) | "Face used for the source block