all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Florian.Lindner@xgm.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: HTML mode: Change words that cause indention
Date: Wed, 09 Jul 2008 16:11:57 +0200	[thread overview]
Message-ID: <4874C72D.1000205@gmail.com> (raw)
In-Reply-To: <23681ef4-916b-425d-8388-e002ddc2870d@m3g2000hsc.googlegroups.com>

Florian.Lindner@xgm.de wrote:
> 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... ;-)

Hi Florian,

Did I tell you before to try nXhtml? It has support for template 
languages, but I am not sure your template language is there yet. What 
language are you using?

   http://www.emacswiki.org/cgi-bin/wiki/NxhtmlMode

I think I just corrected a problem with indentation in the latest beta. 
(I am waiting for feedback before releasing it.)




      reply	other threads:[~2008-07-09 14:11 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
2008-07-09 14:11     ` Lennart Borgman (gmail) [this message]

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=4874C72D.1000205@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=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.