[Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-14 Thread Dan Davison
"David O'Toole" writes: > I've got a preliminary patch that adds optional "native" fontification > for source blocks. It uses the block's declared mode to fontify the > block text. So now blocks look the way they should, and this opens the > way to further enhancements. I've tested David's patch

[Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-09 Thread Dan Davison
Dan Davison writes: > "David O'Toole" writes: > >> I've got a preliminary patch that adds optional "native" fontification >> for source blocks. It uses the block's declared mode to fontify the >> block text. So now blocks look the way they should, and this opens the >> way to further enhancement

[Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-03 Thread David O'Toole
Hi, I don't have much more to do on the patch. I suspect it could be slow with larger files, perhaps it could be programmed to only refontify changed blocks (i.e. use the caching mechanism for block results to prevent redundant fontifying. Perhaps someone who knows about babel internals can help?

[Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-03 Thread Dan Davison
"David O'Toole" writes: > I've got a preliminary patch that adds optional "native" fontification > for source blocks. It uses the block's declared mode to fontify the > block text. So now blocks look the way they should, and this opens the > way to further enhancements. Hi David, This is great!

Re: [Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-03 Thread Erik Iverson
On 08/03/2010 06:14 PM, David O'Toole wrote: I've placed a screenshot of the fontification here: http://imagebin.ca/view/iRVK_as7.html Wow, great job. I once hacked something horrible together that involved several tricks to actually change the mode of the buffer when entering a source bloc

[Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-03 Thread David O'Toole
I've placed a screenshot of the fontification here: http://imagebin.ca/view/iRVK_as7.html On Tue, Aug 3, 2010 at 7:12 PM, David O'Toole wrote: > I've got a preliminary patch that adds optional "native" fontification > for source blocks. It uses the block's declared mode to fontify the > block te