From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Dehmann Newsgroups: gmane.emacs.help Subject: fill-paragraph: multi-level indentations / enumerations? Date: Thu, 5 Feb 2009 08:32:22 -0800 (PST) Organization: http://groups.google.com Message-ID: <8990a4ca-9688-43b8-9b51-cfc09ab9ff46@k9g2000vbl.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233928888 23203 80.91.229.12 (6 Feb 2009 14:01:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 14:01:28 +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 Feb 06 15:02:42 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 1LVRHu-00033N-CF for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 15:02:34 +0100 Original-Received: from localhost ([127.0.0.1]:38434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVRGb-0000zZ-9F for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 09:01:13 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!k9g2000vbl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 128.220.117.40 Original-X-Trace: posting.google.com 1233851543 1279 127.0.0.1 (5 Feb 2009 16:32:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 5 Feb 2009 16:32:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k9g2000vbl.googlegroups.com; posting-host=128.220.117.40; posting-account=S9AQIAoAAAB4GxI-BGAtHONr33Ny0Xlu User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166614 X-Mailman-Approved-At: Thu, 05 Feb 2009 22:36:09 -0500 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:61939 Archived-At: The fill-paragraph function in my emacs 21.4.1 (on linux) is missing some basic understanding of multi-level indentations or enumerations. If I am in text-mode and I type (1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah (1.1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah and fill-paragraph will change it to this: (1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah (1.1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah But of course I want the correct indentation instead: (1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah (1.1) blah blah blah blah blah blah blah blah blah blah blah blah blah blah How can I do that? Can I modify the fill-paragraph function so that it understands hierarchical indentations? My emacs version on the Mac does it, so there obviously is a way to get it. Thanks, Markus