all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: html-mode indentation clashes with skeleton-mode
Date: Fri, 29 Jun 2007 10:27:23 -0400	[thread overview]
Message-ID: <jwvfy4aalbu.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 87bqf6iank.fsf@nospam.gmail.com

> 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

      parent reply	other threads:[~2007-06-29 14:27 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
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 [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=jwvfy4aalbu.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.