From: Ara.T.Howard@... Date: 2005-06-24T07:40:38+09:00 Subject: Re: traits-0.4.0 - the coffee release --8323328-1134210830-1119566282=:5683 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1134210830-1119566282=:5683" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1134210830-1119566282=:5683 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 24 Jun 2005, Nikolai Weibull wrote: > Ara.T.Howard wrote: > >> On Fri, 24 Jun 2005, Nikolai Weibull wrote: >> >>> Ara.T.Howard wrote: >>> >>>>> IMHO, those folding markers in the source code are uggly :( >>> >>>> i do agree that they're ugly but the usefulness in vim is simply too >>>> great to stop me from using them... >>> >>> Why do you dedent them to column 1? Anyway, you can use >>> foldmethod=3Dsyntax with the vim-ruby.rubyforge.org versions (if not th= e >>> one in 6.3 (7.0 has been updated I believe)) to do what you=E2=80=99re = doing, >>> which is more or less folding the body of methods, >> >> i can't deal with the syntax level highlighting... it's too comprehensiv= e. >> what i generally do is start out with no folds >> >> class C >> def initialize >> end >> end >> >> as it grows i'll start added folds into methods. when i move up to > > You know that there are quite a number of options to fine-tune these > kinds of things for syntax-directed folding, right? For example, look > at 'foldnestmax', which is (again) precisely what you want. > >> module M >> class C >> end >> class B >> end >> end >> >> i start folding classes, etc. also, the marker method works perfectly f= or >> perl too... > > OK, two things: > > 1. Why Perl as an example? > > 2. Yes, but we=E2=80=99re not discussing Perl. > > Finally, I use foldmethod=3Dmarker by default, but I don=E2=80=99t use th= em quite > like you do. I like markers for exact folding. Computers have a hard > time getting these things right, but as far as I can tell, they can do > precisely what you want correctly, > nikolai i concede sir! ;-) seriously, i'll read the :help folding section and rethink. kind regards. -a --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | My religion is very simple. My religion is kindness. | --Tenzin Gyatso =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D --8323328-1134210830-1119566282=:5683-- --8323328-1134210830-1119566282=:5683--