From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Subject: Re: indentation for section headings vs bulleted lists Date: Sun, 20 Feb 2011 13:19:43 +0100 Message-ID: <87d3mmzyn4.fsf@gmail.com> References: <20110218063938.GA11859@aether.rnxn4ps> <87ei75hght.fsf@gnu.org> <20110219023428.GA5405@aether.rnxn4ps> <87hbc0s6y8.fsf@gnu.org> <20110220072227.GA23385@aether.rnxn4ps> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=45684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pr8GS-0006EZ-Un for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 07:19:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pr8GR-0001Gt-U9 for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 07:19:48 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:37221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pr8GR-0001Ge-I2 for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 07:19:47 -0500 Received: by fxm5 with SMTP id 5so287355fxm.0 for ; Sun, 20 Feb 2011 04:19:46 -0800 (PST) In-Reply-To: <20110220072227.GA23385@aether.rnxn4ps> (Linus Arver's message of "Sat, 19 Feb 2011 23:22:28 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Linus Arver Cc: emacs-orgmode@gnu.org, Bastien Hello, Linus Arver writes: > Again, I'm very curious why org-mode's indenting code treats bulleted > lists differently than section headings. This is due to a combination of org-indent-mode and visual-line-mode. Actually, it's a a two-parts problem. Firstly, org-indent-mode only works by sections. That means the whole section gets the same indent prefix, whatever can be inside. Thus, lists cannot be treated differently for now. Secondly, org-indent-mode is not indenting anything: it only fakes it. While this is fine for headings, this causes problems with lists, which are depending on real indentation. Anyway, I'm on it. I'll post a patch as soon as I find and implement a decent way to solve this. Regards, -- Nicolas