From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: indentation cycling Date: Thu, 8 Oct 2009 15:12:25 -0700 Message-ID: <20524da70910081512l7b93a9afpa6f0969dc5cc0be9@mail.gmail.com> References: <20524da70910071107s55fff3ecj4d92f2bc9511b970@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw1EC-0007Pp-N5 for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 18:12:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw1E7-0007Ow-GB for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 18:12:51 -0400 Received: from [199.232.76.173] (port=56661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw1E7-0007Op-65 for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 18:12:47 -0400 Received: from mail-iw0-f198.google.com ([209.85.223.198]:55315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw1E6-0008VR-Sn for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 18:12:47 -0400 Received: by iwn36 with SMTP id 36so4109641iwn.24 for ; Thu, 08 Oct 2009 15:12:45 -0700 (PDT) In-Reply-To: <20524da70910071107s55fff3ecj4d92f2bc9511b970@mail.gmail.com> 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: emacs-orgmode@gnu.org I had had this idea around for a while, and did not do my customary check before posting. There is one conflict with org-cycle that I did not mention. org-cycle seems, at least for me, to do indent-relative-maybe, perhaps as part of org-indent-line-function. This is useful for, for example, pseudo-code. The fix is simply to include the result of indent-relative-maybe as one stage of the cycle. Again, if we don't overload org-cycle, then there is no conflict, but overloading org-cycle IMO leverages user intuition. Even if this all seems complicated, please take this thread as an invitation to discuss indentation cycling. I think that it can increase the convenience of entering lists to be able to start a list with a single command (idea 1), to indent using the same command (idea 1), and to toggle or cycle continuation line vs. bullet (idea 2). > [2] For the org-cycle case: > [4] For the org-cycle case: Thanks.