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 15:17:40 -0400 Message-ID: <4A9AD054.2070206@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 1251715449 22391 80.91.229.12 (31 Aug 2009 10:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 10:44: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:44:02 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 1Mi4Mh-0007ru-PM for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 12:44:01 +0200 Original-Received: from localhost ([127.0.0.1]:49247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi4Mh-000307-5Y for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 06:43:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhpxJ-0000dL-2u for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 15:20:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhpxH-0000bL-80 for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 15:20:48 -0400 Original-Received: from [199.232.76.173] (port=58154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhpxH-0000b0-2f for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 15:20:47 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:61312) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhpxG-0002xY-PN for help-gnu-emacs@gnu.org; Sun, 30 Aug 2009 15:20:46 -0400 Original-Received: from [127.0.0.1] (really [76.177.51.182]) by cdptpa-omta02.mail.rr.com with ESMTP id <20090830191745171.JXUV6096@cdptpa-omta02.mail.rr.com> for ; Sun, 30 Aug 2009 19:17:45 +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:67679 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

Prerequisite: BIO 121. Structure and functions vascular plants; morphology, classification, life histories, ecology and evolution of autotrophs, plantlike protists, and fungi. 3 Lec/3 Lab.

When and Where

Lectures, Moore 123:
Tuesday and Thursday, 9:30 to 10:45
Labs, Moore 202:
Tuesday 12:30 to 3:15

Textbooks

blah blah blah What I'd like:

Catalog Description

Prerequisite: BIO 121. Structure and functions vascular plants; morphology, classification, life histories, ecology and evolution of autotrophs, plantlike protists, and fungi. 3 Lec/3 Lab.

When and Where

Lectures, Moore 123:
Tuesday and Thursday, 9:30 to 10:45
Labs, Moore 202:
Tuesday 12:30 to 3:15

Textbooks

blah blah blah