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

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

further reading for new major modes: folding, ...


From: Peter Tury
Subject: further reading for new major modes: folding, ...
Date: Mon, 16 Apr 2007 15:38:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (windows-nt)

Hi,

as a response for my previous question ("font-lock-defaults doesn't
work??") you pointed me some very useful docs to read. Now I looked
through SampleMode and the major mode creation tutorial. I am happy to
see that (hopefully) indentaion won't be so hard as I expected.

Now: what about folding? Do you have some similar nice descriptions?
My language is similar to the sample wpdl in that it (mostly) uses
keyword pairs like X, ENDX to delimit sexp-s(?)...

I thought hideshow.el (hs-minor-mode) would be good, but I think I
have to write my-mode-forward-sexp function for this... I looked into
http://www.emacswiki.org/cgi-bin/emacs-en?CategoryHideStuff and saw
http://www.emacswiki.org/cgi-bin/emacs-en/HideShow. Do you know about
an example for "non-parenthesis" languages?

Thanks again for your help in advance,
P





reply via email to

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