From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: auctex indentation Date: 24 Jul 2005 15:16:05 +1000 Message-ID: <87sly4wzqi.fsf@tiger.rapttech.com.au> References: <87u0ilbsfr.fsf@madamex.madamex.dk> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122182489 21799 80.91.229.2 (24 Jul 2005 05:21:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2005 05:21:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 24 07:21:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DwYvX-0001Hd-Iq for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jul 2005 07:21:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DwYuz-0008AA-Np for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jul 2005 01:20:53 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp1-192.lns1.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1122182165 59.167.1.192 (24 Jul 2005 14:46:05 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:132600 Original-To: help-gnu-emacs@gnu.org 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:28118 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28118 Mads Jensen writes: > Hi NG, > > I am trying to configure the auctex indenting, but that's easier > said than done. Currently I have this in my .emacs: > > (setq LaTeX-item-indent 0 > LaTeX-indentation 4) > > But it's only LaTeX-item-indent, that works like I want, ie. indents the > items in an environment two spaces more than the \begin{..} and \end{..} > delimeters. How can I do the same with the commands, that are inside > \begin{document} and \end{document} ? I tried reading the manual, which > is how I found out about LaTeX-item-indent. I am sure it's just a matter > of choosing the right value for LaTeX-indentation !? > > Kind regards, > -- > Mads Jensen - mail sent to address ends in /dev/null > s/spam/madsj for emailing me > gpg: 7E775BDA > > It is impossible to make anything foolproof because fools are so > ingenious. Thats a pretty odd/unusual indentation style you want. Most people wouldn't like it as it just wastes useful screen area without any real benefit since you nly have a single begin/end document anyway. However, I'm sure it can be done (though I don't know about the situation with multiple include files etc). I would just try tweaking some of the variables under the customize group for auctex and see how you go. If you cannot get any joy, I'd suggest contacting the auctex developers. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!