From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tim_milstead@yahoo.co.uk Newsgroups: gmane.emacs.help Subject: Smart Indent in Emacs Date: 17 Nov 2006 06:31:45 -0800 Organization: http://groups.google.com Message-ID: <1163773905.720932.6390@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1163774544 19679 80.91.229.2 (17 Nov 2006 14:42:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2006 14:42:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 15:42:21 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gl4ul-0003Uy-9H for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 15:42:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gl4uk-0000jP-Pg for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 09:41:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 82.69.24.181 Original-X-Trace: posting.google.com 1163773909 9558 127.0.0.1 (17 Nov 2006 14:31:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 17 Nov 2006 14:31:49 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m7g2000cwm.googlegroups.com; posting-host=82.69.24.181; posting-account=qO0a6QwAAAAQ0XuQSwQXGaop4AXLvBuL Original-Xref: shelby.stanford.edu gnu.emacs.help:143152 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:38769 Archived-At: I am using emacs on Windows and Linux. I would like something I call smart indent to help display structure in my LaTeX (and other) documents. Something like this: \chapter{My Chapter} \section{My Section} This is my paragraph that is indented. Now I know this can be done but what Emacs can't do it smart indent the wrapped lines to the same level as the initial line. Please note that there are no line breaks in this paragraph I am simulating the line wrapped to the window width. Thanks in advance, Tim.