help-gnu-emacs
[Top][All Lists]
Advanced

[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:

> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/f51d7cc058221c52/85bfbc4da33f3c3c

> ..and shown in this screen capture:
> http://script.hu/skel.png

> 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.


        Stefan


reply via email to

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