[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html-mode indentation clashes with skeleton-mode

From: Stefan Monnier
Subject: Re: html-mode indentation clashes with skeleton-mode
Date: Fri, 29 Jun 2007 10:27:23 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> Since I've upgraded to Emacs 22, html-mode hasn't worked correctly
> with skeleton-mode.  It's the same problem described in this post:


> ..and shown in this screen capture:

> Is there a way to prevent this or disable html-mode indentation
> altogether?  I've tried setting indent-tabs-mode to nil with no luck.
> I'm using Emacs 22.1.1.

Fix your skeleton.  As the doc indicates, \n inserts a newline and then
indents the new line.  In your case you want to indent the current line
before inserting the \n, so you want to add > before \n.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]