From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: file or headline-local template for new subtree? Date: Tue, 14 Jul 2015 23:31:59 +0200 Message-ID: <874ml6mnn4.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF7r2-00054H-O5 for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 17:35:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF7qz-0004Cn-EU for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 17:35:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:46705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF7qz-0004Bd-7b for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 17:35:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZF7qx-0000xR-FV for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 23:35:03 +0200 Received: from tsn109-201-154-143.dyn.nltelcom.net ([109.201.154.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 23:35:03 +0200 Received: from rasmus by tsn109-201-154-143.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 23:35:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Matt Price writes: > I have this new system, in which I create a new subtree for every paper I > grade. I'd love to have the new subtree automatically populated by a > mostly-empty table on cration. Is this something I can do on a per-file > basis; or perhaps even something I can change with every level 1 heading? > I can think of a couple uses for this, actually. I'm fond of org-structure-template-alist, but it might not be powerful enough for what you want here. On a per file basis you could bind some letter in org-structure-template-alist. ATM it cannot guess how to insert a subtree. But there's org-insert-subheading. Rasmus -- El Rey ha muerto. ¡Larga vida al Rey!