Re: [O] Minor org mode for achieve code folding effects

2012-01-16 Thread David Rogoff
David Rogoff david at therogoffs.com writes: Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding a bit on Carsten's

Re: [O] Minor org mode for achieve code folding effects

2012-01-12 Thread David Rogoff
Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding a bit on Carsten's post: Tassilo Horn wrote some convenience functions

Re: [O] Minor org mode for achieve code folding effects

2012-01-11 Thread Eric S Fraga
Giovanni Giorgi j...@gioorgi.com writes: Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. Giovanni, I wonder, having thought about this some more, whether using org mode is the correct solution? (as

Re: [O] Minor org mode for achieve code folding effects

2012-01-11 Thread Leo Alekseyev
For instance, when I was doing a lot of Java programming, I used hideshow.el all the time to hide block and function bodies.  Works very well (although the default key bindings are annoying to me).  Have a look!  It's a standard package in emacs, at least in Emacs 24 but much earlier than

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Eric S Fraga
Giovanni Giorgi j...@gioorgi.com writes: Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. Carsten has already given you one possible solution; another is to use org + babel with tangling to have each

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Leo Alekseyev
On Tue, Jan 10, 2012 at 3:08 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Giovanni Giorgi j...@gioorgi.com writes: Hi all,  I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. Carsten has already given you one possible

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread David Rogoff
Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding a bit on Carsten's post: Tassilo Horn wrote some convenience functions

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread David Rogoff
David Rogoff January 10, 2012 4:34 PM Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Leo Alekseyev
On Tue, Jan 10, 2012 at 7:21 PM, David Rogoff da...@therogoffs.com wrote: David Rogoff da...@therogoffs.com January 10, 2012 4:34 PM Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Tassilo Horn
Leo Alekseyev dnqu...@gmail.com writes: I've done a little bit of digging into how Tassilo's code works, and realized that it's somewhat broken in the following way: if a mode provides its own outline-level function, chances are, his code will break (this is why c-mode doesn't work). Even if

[O] Minor org mode for achieve code folding effects

2012-01-09 Thread Giovanni Giorgi
Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. I have found this article using outline mode: http://stackoverflow.com/questions/1085170/how-to-achieve-code-folding-effects-in-emacs but frankly I find it

Re: [O] Minor org mode for achieve code folding effects

2012-01-09 Thread Carsten Dominik
On Jan 9, 2012, at 4:14 PM, Giovanni Giorgi wrote: Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. I have found this article using outline mode: