From: Volkan YAZICI <volkan.yazici@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: HTML mode: Change words that cause indention
Date: Fri, 4 Jul 2008 23:14:05 -0700 (PDT) [thread overview]
Message-ID: <110b716c-662f-40c2-8799-adff51740308@j22g2000hsf.googlegroups.com> (raw)
In-Reply-To: 4662ba57-78ca-4845-83c8-f8baa2464627@p25g2000hsf.googlegroups.com
On Jul 4, 10:57 pm, Florian.Lind...@xgm.de wrote:
> Hello,
> I'm using a simple template language that is embedded in HTML. Can I
> change the words that cause an indention in Emacs HTML mode? For
> example: indent after {% for whatever in whatever %} and unindent {%
> endfor %}.
See `sgml-indent-line' and `sgml-calculate-indent' functions in lisp/
textmodes/sgml-mode.el in the emacs source tree. Also, a rough look at
the whole of the sgml-mode.el will give your a clear idea. You can add
your customized indentation routines as a minor mode hooked into sgml-
mode.
Regards.
next prev parent reply other threads:[~2008-07-05 6:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 19:57 HTML mode: Change words that cause indention Florian.Lindner
2008-07-05 6:14 ` Volkan YAZICI [this message]
2008-07-09 11:48 ` Florian.Lindner
2008-07-09 14:11 ` Lennart Borgman (gmail)
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=110b716c-662f-40c2-8799-adff51740308@j22g2000hsf.googlegroups.com \
--to=volkan.yazici@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.