From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Dunsmore Newsgroups: gmane.emacs.help Subject: Re: html-mode indentation clashes with skeleton-mode Date: Tue, 26 Jun 2007 18:08:04 GMT Message-ID: <877ipqh9mh.fsf@gmail.com> References: <87bqf6iank.fsf@nospam.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182883267 16760 80.91.229.12 (26 Jun 2007 18:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2007 18:41:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 20:41:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I3FyJ-0000U5-VA for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2007 20:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3FyI-0006Nt-I9 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2007 14:41:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!feedme.ziplink.net!newspeer1.nwr.nac.net!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc01.POSTED!066ebd94!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:+p82+QwhlZ5+50o2bp+j77BhO7Y= Original-Lines: 37 Original-NNTP-Posting-Host: 72.67.153.83 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trnddc01 1182881284 72.67.153.83 (Tue, 26 Jun 2007 14:08:04 EDT) Original-NNTP-Posting-Date: Tue, 26 Jun 2007 14:08:04 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:149708 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45296 Archived-At: "Lennart Borgman (gmail)" 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 > > > X > > where X is the cursor position. This will give > > > X > > I think skeleton-internal/skeleton-internal-1 must delay calling > (indent-according-to-mode) until the line is finished (ie after > inserting "\n" in this case). Is there a way to disable html-mode indentation in Emacs 22?