unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* further reading for new major modes: folding, ...
@ 2007-04-16 13:38 Peter Tury
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Tury @ 2007-04-16 13:38 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: further reading for new major modes: folding, ...
       [not found] <mailman.2131.1176731403.7795.help-gnu-emacs@gnu.org>
@ 2007-04-17  7:33 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2007-04-17  7:33 UTC (permalink / raw)
  To: help-gnu-emacs

() Peter Tury <tury.peter@gmail.com>
() Mon, 16 Apr 2007 15:38:10 +0200

   Do you know about
   an example for "non-parenthesis" languages?

vhdl mode does folding via hideshow.
its block delimiters are verbose, as well.

thi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-17  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2131.1176731403.7795.help-gnu-emacs@gnu.org>
2007-04-17  7:33 ` further reading for new major modes: folding, Thien-Thi Nguyen
2007-04-16 13:38 Peter Tury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).