From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: A better indentation for lists Date: Thu, 22 Nov 2007 21:20:00 +0100 Message-ID: <9E98448A-91CD-463B-9030-80E3D9D1A2E3@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvIWz-0007fL-Gf for emacs-orgmode@gnu.org; Thu, 22 Nov 2007 15:20:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvIWy-0007dZ-Q5 for emacs-orgmode@gnu.org; Thu, 22 Nov 2007 15:20:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvIWx-0007d4-RH for emacs-orgmode@gnu.org; Thu, 22 Nov 2007 15:20:11 -0500 Received: from wr-out-0506.google.com ([64.233.184.232]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvIWx-0002dG-Gn for emacs-orgmode@gnu.org; Thu, 22 Nov 2007 15:20:11 -0500 Received: by wr-out-0506.google.com with SMTP id 37so1584873wra for ; Thu, 22 Nov 2007 12:20:11 -0800 (PST) In-Reply-To: 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: Leo Cc: emacs-orgmode@gnu.org After some puzzling, I tend to agree that this is a better proposal, so I will give it a try in the next version. Thanks, Leo, for the detailed description. There are, of course, remaining problems, like the first text lines after a list - it will be indented to the list level when pressing tab. I don't think that it is possible to implement this in a bullet-proof way, all we can ami for is something that is comfortable for most. - Carsten On 12Nov2007, at 11:15 PM, Leo wrote: > Dear all, > > The indentation of lists has annoyed me for quite a while. The > following > behavior can be observed: > > > * Head > - 1 > - 2 > + 3 > - 4 > > If we need -4 to be on the same level as 1 and 2, we need to move 4 to > form the following: > > > * Head > - 1 > - 2 > + 3 > - 4 > > Now if I reindent the buffer, will go back to , > i.e. the indentation of list is not robust at all. > > Thus I propose the following: > > i. TAB can only move an item if it is before the first indentation > level > > > > * Head * Head > - 1 - 1 > - 2 ==>> - 2 > + 3 + 3 > - 4 - 4 > > ii. M- for moving to other levels for example if 3 should > be a sublist, move cursor to it and press > > * Head > - 1 > - 2 > + 3 > - 4 > > I feel this behavior is more robust than current one. > > HTH, > -- > .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. > > Use the most powerful email client -- http://gnus.org/ > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode