From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: p tags and indenting in Html Mode Date: Sun, 30 Aug 2009 20:48:03 -0400 Message-ID: <4A9B1DC3.3020704@eku.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251715509 22569 80.91.229.12 (31 Aug 2009 10:45:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 10:45:09 +0000 (UTC) To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 12:45:03 2009 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 1Mi4Nj-00088c-3F for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 12:45:03 +0200 Original-Received: from localhost ([127.0.0.1]:49956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi4Ni-0003Z5-53 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 06:45:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mhv4B-0006T7-Tz for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 20:48:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mhv49-0006Su-Kl for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 20:48:14 -0400 Original-Received: from [199.232.76.173] (port=43381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mhv49-0006Sr-H7 for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 20:48:13 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.123]:64928) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mhv49-0001kn-1G for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 20:48:13 -0400 Original-Received: from [127.0.0.1] (really [76.177.51.182]) by cdptpa-omta04.mail.rr.com with ESMTP id <20090831004809910.QMUO6799@cdptpa-omta04.mail.rr.com> for ; Mon, 31 Aug 2009 00:48:11 +0000 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-Mailman-Approved-At: Mon, 31 Aug 2009 06:34:33 -0400 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:67680 Archived-At: Hi, Html mode recognizes that

tags don't need to be closed, so successive tags get indented to the same level. But when an unclosed

tag is followed by a heading (e.g.,

), the heading gets indented as if it were within the previous

, as do all subsequent tags that aren't

tags. In other words, the heading is indented further than the

tags that were there before. How can I get html mode to keep the indentation at the same level? I put a small example below to clarify. I've tried google and the mail archives, but searching on html mode, p tags, indenting etc. gave me lots of apparently unrelated info. Thanks for your help! Tyler GNU Emacs 22.3.1 (i386-mingw-nt6.0.6002) of 2008-09-06 Windows Vista (I know this is not the newest version of Emacs, but until I get time to get my work machine switched over to Debian I'm stuck with this) what I get now:

Catalog Description

Structure and function of vascular plants.

When and Where

Lectures, Moore 123:
Tuesday 9:30
Labs, Moore 202:
Tuesday 12:30

Textbooks

blah blah blah What I'd like:

Catalog Description

Structure and function of vascular plants.

When and Where

Lectures, Moore 123:
Tuesday 9:30
Labs, Moore 202:
Tuesday 12:30

Textbooks

blah blah blah