all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Dunsmore <jason.public@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: html-mode indentation clashes with skeleton-mode
Date: Tue, 26 Jun 2007 18:08:04 GMT	[thread overview]
Message-ID: <877ipqh9mh.fsf@gmail.com> (raw)
In-Reply-To: mailman.2561.1182680672.32220.help-gnu-emacs@gnu.org

"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:

> Jason Dunsmore wrote:
>> Hi,
>>
>> 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.
>>
>> 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
>
>   <body>
>   X
>
> where X is the cursor position. This will give
>
>   <body>
>      X
>
> 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).

Is there a way to disable html-mode indentation in Emacs 22?

  parent reply	other threads:[~2007-06-26 18:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-23 22:11 html-mode indentation clashes with skeleton-mode Jason Dunsmore
2007-06-24 10:24 ` Lennart Borgman (gmail)
     [not found] ` <mailman.2561.1182680672.32220.help-gnu-emacs@gnu.org>
2007-06-26 18:08   ` Jason Dunsmore [this message]
2007-06-26 18:53     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.2649.1182884025.32220.help-gnu-emacs@gnu.org>
2007-06-26 21:37       ` Jason Dunsmore
2007-06-27  0:08         ` Lennart Borgman (gmail)
2007-06-29 14:27 ` Stefan Monnier

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=877ipqh9mh.fsf@gmail.com \
    --to=jason.public@gmail.com \
    --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.