From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: adding subheadings Date: Fri, 20 Jul 2007 17:53:08 +0100 Message-ID: <20070720165308.GE28297@atlantic.linksys.moosehall> References: <20070715190744.GA10139@atlantic.linksys.moosehall> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBvj5-0007lE-9N for emacs-orgmode@gnu.org; Fri, 20 Jul 2007 12:53:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBvj4-0007ku-8z for emacs-orgmode@gnu.org; Fri, 20 Jul 2007 12:53:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBvj4-0007kr-2v for emacs-orgmode@gnu.org; Fri, 20 Jul 2007 12:53:10 -0400 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IBvj3-0004Nc-L4 for emacs-orgmode@gnu.org; Fri, 20 Jul 2007 12:53:09 -0400 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id l6KGr8aV023600 for ; Fri, 20 Jul 2007 11:53:08 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id l6KGr8ng023591 for emacs-orgmode@gnu.org; Fri, 20 Jul 2007 17:53:08 +0100 Content-Disposition: inline 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: org-mode mailing list On Tue, Jul 17, 2007 at 02:58:59PM -0600, Scott Jaderholm wrote: > >Would something like the following be of use to anyone other than me? > > Definitely! The general purpose part (inserting subheadings/subtodos) > is useful to me, but I don't have a TODO keywords hierarchy so the > chaining isn't personally useful. > > >(Suggested key-bindings at the bottom of the code.) > > M-j is an intuitive choice, but M-j is also nice for following > headlines with plain lists that are indented correctly. It's going to > be hard to decide which to go with. Hmm, well S-return seems to be org-table-copy-down at the moment. Surely we could overload that? > I used your code how it is and expected to get > * TODO Something > ** TODO Something > > and running (setq org-subheading-todo-alist '((\"TODO\" . \"TODO\"))) > didn't give me the expected behavior. Is there something I'm missing? The quotes don't look right there, should it be (setq org-subheading-todo-alist '(("TODO" . "TODO"))) ? What behavior do you see?