all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Florian.Lindner@xgm.de
To: help-gnu-emacs@gnu.org
Subject: Re: HTML mode: Change words that cause indention
Date: Wed, 9 Jul 2008 04:48:27 -0700 (PDT)	[thread overview]
Message-ID: <23681ef4-916b-425d-8388-e002ddc2870d@m3g2000hsc.googlegroups.com> (raw)
In-Reply-To: 110b716c-662f-40c2-8799-adff51740308@j22g2000hsf.googlegroups.com

On 5 Jul., 08:14, Volkan YAZICI <volkan.yaz...@gmail.com> wrote:
> 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.

Ok, that sound like it is far beyond my knowledge... ;-)


  reply	other threads:[~2008-07-09 11:48 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
2008-07-09 11:48   ` Florian.Lindner [this message]
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=23681ef4-916b-425d-8388-e002ddc2870d@m3g2000hsc.googlegroups.com \
    --to=florian.lindner@xgm.de \
    --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.