Hi guys
maybe this discussion in gnu.emacs.help is of interest for you?
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/c842e8524560b904/877f19161584dfa8?show_docid=877f19161584dfa8
cheers
rolf
---------- Forwarded message ----------
From: Ilya Zakharevich <
nospam-ab...@ilyaz.org>
Date: 23 Apr., 22:49
Subject: cperl-mode - how people outline their code?
To: gnu.emacs.help
On 2010-04-21, LanX <
rolf.langsd...@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