emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Kyle Meyer <kyle@kyleam.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: insert default template when I create a new org buffer?
Date: Thu, 2 Jul 2015 15:30:31 +0100	[thread overview]
Message-ID: <87zj3fghbd.fsf@pandian.default> (raw)
In-Reply-To: <87si97h4mn.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 1 Jul 2015 18:53:04 -0400")

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

      parent reply	other threads:[~2015-07-02 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01  0:40 insert default template when I create a new org buffer? Matt Price
2015-07-01  6:49 ` Eric S Fraga
2015-07-01 22:37   ` Matt Price
2015-07-01 22:53     ` Kyle Meyer
2015-07-01 23:07       ` Kyle Meyer
2015-07-02 14:30       ` Eric S Fraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj3fghbd.fsf@pandian.default \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).