From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: insert default template when I create a new org buffer? Date: Thu, 2 Jul 2015 15:30:31 +0100 Message-ID: <87zj3fghbd.fsf@pandian.default> References: <877fqk1ieo.fsf@ucl.ac.uk> <87si97h4mn.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfWD-0005JB-MH for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 10:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAfW8-0004YO-3I for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 10:31:13 -0400 Received: from mail-db3on0135.outbound.protection.outlook.com ([157.55.234.135]:1504 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfW7-0004W2-Ql for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 10:31:08 -0400 In-Reply-To: <87si97h4mn.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 1 Jul 2015 18:53:04 -0400") 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: Kyle Meyer Cc: Org Mode On Wednesday, 1 Jul 2015 at 18:53, Kyle Meyer wrote: [...] > Perhaps you could add it to find-file-hook (not tested): or ,----[ C-h v find-file-not-found-functions RET ] | find-file-not-found-functions is a variable defined in `files.el'. | Its value is nil | | This variable may be risky if used as a file-local variable. | | Documentation: | List of functions to be called for `find-file' on nonexistent file. | These functions are called as soon as the error is detected. | Variable `buffer-file-name' is already set up. | The functions are called in the order given until one of them returns non-nil. | | [back] `---- -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1216-gb856f6.dirty