Re: Q for Emacs users: code-folding (hideshow)

2010-07-17 Thread Teemu Likonen
* 2010-07-16 06:29 (-0700), ernest wrote: > I tried the outline-mode and it seemed to work. It can collapse > different blocks of code, such as functions, classes, etc. > > However, I never got used to it because of the bizarre key bindings. I use outline-minor-mode and the code below to make key

Re: Q for Emacs users: code-folding (hideshow)

2010-07-17 Thread Anssi Saari
David Robinow writes: > Really, if you can't be bothered to set your key bindings to something > you prefer, then I don't think Emacs is the right tool for you. Uh, I absolutely think Emacs is the right tool for me, but I don't think I've never changed any key bindings in the 20 years I've used

Re: Q for Emacs users: code-folding (hideshow)

2010-07-16 Thread David Robinow
On Fri, Jul 16, 2010 at 9:29 AM, ernest wrote: > On 15 Jul, 18:45, kj wrote: >> This is a question _for Emacs users_ (the rest of you, go away :)  ). >> >> How do you do Python code-folding in Emacs? >> >> Thanks! >> >> ~K > > I tried the outline-mode and it seemed to work. It can > collapse diff

Re: Q for Emacs users: code-folding (hideshow)

2010-07-16 Thread Andreas Waldenburger
On Fri, 16 Jul 2010 06:29:46 -0700 (PDT) ernest wrote: > On 15 Jul, 18:45, kj wrote: > > This is a question _for Emacs users_ (the rest of you, go away :) > >  ). > > > > How do you do Python code-folding in Emacs? > > > > Thanks! > > > > ~K > > I tried the outline-mode and it seemed to work. I

Re: Q for Emacs users: code-folding (hideshow)

2010-07-16 Thread ernest
On 15 Jul, 18:45, kj wrote: > This is a question _for Emacs users_ (the rest of you, go away :)  ). > > How do you do Python code-folding in Emacs? > > Thanks! > > ~K I tried the outline-mode and it seemed to work. It can collapse different blocks of code, such as functions, classes, etc. Howeve

Re: Q for Emacs users: code-folding (hideshow)

2010-07-16 Thread thebjorn
On Jul 15, 10:34 pm, Peter wrote: > On Jul 16, 2:45 am, kj wrote: > > > This is a question _for Emacs users_ (the rest of you, go away :)  ). > > > How do you do Python code-folding in Emacs? > > > Thanks! > > > ~K > [...] > Anybody else now of any better ideas or whatever? Now that I think > abo

Re: Q for Emacs users: code-folding (hideshow)

2010-07-15 Thread Peter
On Jul 16, 2:45 am, kj wrote: > This is a question _for Emacs users_ (the rest of you, go away :)  ). > > How do you do Python code-folding in Emacs? > > Thanks! > > ~K I don't - when I first looked at folding-mode (I assume this is what you are referring too?) I couldn't be bothered putting the