all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.