unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: how to let hs-minor-mode hide a block ended by "end"?
Date: Sun, 24 Sep 2006 12:59:40 +0200	[thread overview]
Message-ID: <87wt7t8r8j.fsf@robotron.kosmorama> (raw)
In-Reply-To: 1159088942.952292.38940@d34g2000cwd.googlegroups.com

On 24 Sep 2006 02:09:03 -0700 tsongchong@gmail.com wrote:

> Hi,
>
> I'm using LUA programming language, which begins a code block with "do"
> and ends it with "end"
>
> It seems that, by default, hs-minor-mode can only hide code blocks
> surrounded by braces "{}" or like.
>
> how can i make it to hide code between "do" and "end"?

C-h v hs-special-modes-alist RET

You'll have to write a `FORWARD-SEXP-FUNC' that takes care of
nested blocks.

David

  reply	other threads:[~2006-09-24 10:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-24  9:09 how to let hs-minor-mode hide a block ended by "end"? tsongchong
2006-09-24 10:59 ` David Hansen [this message]
     [not found] ` <mailman.7308.1159096114.9609.help-gnu-emacs@gnu.org>
2006-09-25  7:28   ` tsongchong

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=87wt7t8r8j.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.net \
    /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).