help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cperl-mode - how people outline their code?


From: Ilya Zakharevich
Subject: Re: cperl-mode - how people outline their code?
Date: Fri, 23 Apr 2010 20:49:18 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Linux)

On 2010-04-21, LanX <rolf.langsdorf@googlemail.com> wrote:
> There plenty of questions you didn't answer.
>
> Once again "outline-minor-mode" works on headlines like "sub {" and
> "package"  so if you wanna fold chunks you have to mark them by  a
> leading headline like "  #- Chunk to be folded\n".
>
> But only appending ".*#- " to "cperl-outline-regexp" which is matching
> these headlines isn't enough!
>
> You have also to change the function "cperl-outline-level" such that
> the folding levels don't get confused.
>
> I have no big idea or time to fiddle out how to do this without
> hacking into Ilya's code

Myself, I have not used outline mode more than a time or two.

So all I can suggest is for you people giving me suggestions how the
USERS may want/need to add their own "extra" outline levels.  Given this
information, I might be able to incorporate something into the CPerl's
puny outline support...

> Maybe he is reading a willing to update his mode to allow a variable
> "cperl-outline-chunk-regexp"

... only if I know some examples of what people like to do.

Yours,
Ilya


reply via email to

[Prev in Thread] Current Thread [Next in Thread]