unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Tury <tury.peter@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: further reading for new major modes: folding, ...
Date: Mon, 16 Apr 2007 15:38:10 +0200	[thread overview]
Message-ID: <u647wmocd.fsf@nokia.com> (raw)

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	other threads:[~2007-04-16 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16 13:38 Peter Tury [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u647wmocd.fsf@nokia.com \
    --to=tury.peter@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).