From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Scott Jaderholm" Subject: Re: adding subheadings Date: Tue, 17 Jul 2007 14:58:59 -0600 Message-ID: References: <20070715190744.GA10139@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAu8N-0008Sx-22 for emacs-orgmode@gnu.org; Tue, 17 Jul 2007 16:59:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAu8L-0008Sl-Lu for emacs-orgmode@gnu.org; Tue, 17 Jul 2007 16:59:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAu8L-0008Si-G2 for emacs-orgmode@gnu.org; Tue, 17 Jul 2007 16:59:01 -0400 Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAu8L-0002DI-0F for emacs-orgmode@gnu.org; Tue, 17 Jul 2007 16:59:01 -0400 Received: by rv-out-0910.google.com with SMTP id c27so32669rvf for ; Tue, 17 Jul 2007 13:59:00 -0700 (PDT) In-Reply-To: <20070715190744.GA10139@atlantic.linksys.moosehall> Content-Disposition: inline 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: Adam Spiers Cc: org-mode mailing list Hi Adam, On 7/15/07, Adam Spiers wrote: > First post so go easy on me ;-) Thanks! > 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. 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? Thanks again for the code, Scott