From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angela Bellavance Newsgroups: gmane.emacs.help Subject: Need help customizing "TAB" for HTML Date: Thu, 25 Jan 2007 18:21:07 -0600 Message-ID: <45B94973.9060102@fnal.gov> 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: sea.gmane.org 1169770903 24545 80.91.229.12 (26 Jan 2007 00:21:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2007 00:21:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 26 01:21:36 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 1HAEqW-0004K5-BN for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jan 2007 01:21:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAEqV-0002j0-Qo for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jan 2007 19:21:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAEqL-0002gl-4G for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 19:21:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAEqJ-0002eG-JG for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 19:21:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAEqI-0002eD-UK for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 19:21:23 -0500 Original-Received: from mailgw1.fnal.gov ([131.225.111.11]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HAEqI-0008L2-Ir for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 19:21:22 -0500 Original-Received: from mailav1.fnal.gov (mailav1.fnal.gov [131.225.111.18]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0JCG008Z58ZDMJ@mailgw1.fnal.gov> for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 18:21:21 -0600 (CST) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav1.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2007012518212131528 for ; Thu, 25 Jan 2007 18:21:21 -0600 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0JCG005018TDLS@mailgw2.fnal.gov> (original mail from bellavan@fnal.gov) for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 18:21:21 -0600 (CST) Original-Received: from [131.225.162.157] (HuskerD0.dhcp.fnal.gov [131.225.162.157]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPA id <0JCG003AV8ZLL6@mailgw2.fnal.gov> for help-gnu-emacs@gnu.org; Thu, 25 Jan 2007 18:21:21 -0600 (CST) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) X-detected-kernel: Solaris 9 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:40660 Archived-At: Hello, I am using emacs to create HTML documents and am getting frustrated with the default settings for TAB. When I type TAB to indent a line, it always seems to add at least two spaces more than the indent on the previous line. This occurs even when the previous line contains only one tag that does not have a matching closing tag. I would prefer that TAB would line up under the start of the previous line unless I have left a tag open. Ideally this would happen even if I manually adjust where the previous line is indented to. Here's an example. Here's what it looks like when I use the default TAB in HTML-mode on the following text:

Shift Guide

Most Recent Update:
$Author: bellavan $
$Revision: 1.59 $
I would like it to look like this:

CDF SAM Shift Guide

Most Recent Update:
$Author: bellavan $
$Revision: 1.59 $
Or even better, this:

CDF SAM Shift Guide

Most Recent Update:
$Author: bellavan $
$Revision: 1.59 $
where I have manually moved the tag "" back to the beginning of the line and used TAB to align the rest of the lines. Does anyone have any suggestions? Thanks! Angela