[Top][All Lists]

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

Re: html-mode indentation clashes with skeleton-mode

From: Lennart Borgman (gmail)
Subject: Re: html-mode indentation clashes with skeleton-mode
Date: Sun, 24 Jun 2007 12:24:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070604 Thunderbird/ Mnenhy/

Jason Dunsmore wrote:

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.

Thanks for any suggestions.

This seems to be a bug skeleton-internal/skeleton-internal-1. It is caused by skeleton calling (indent-according-to-mode) in a situation like this


where X is the cursor position. This will give


I think skeleton-internal/skeleton-internal-1 must delay calling (indent-according-to-mode) until the line is finished (ie after inserting "</body>\n" in this case).

reply via email to

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