emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Capture template to capture in current buffer


From: Rainer M Krug
Subject: [O] Capture template to capture in current buffer
Date: Thu, 10 Nov 2016 12:35:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Hi

I am trying to get an in-buffer logging to work. I want to log some
changes in the file and I am using the following template, which was
working some (longer?) time ago:

--8<---------------cut here---------------start------------->8---
(setq org-capture-templates
      `(
        ;; ;;;;;;;;;;;;;;;;::
        ;; In File Logging ::
        ;; ;;;;;;;;;;;;;;;;::
        ("c"   "Changes to be logged in buffer"    
         entry   (file+headline (buffer-file-name) "CHANGES Log")   
         "* %^{Header of CHANGES item}\nLOGGED: %T \n- link     :: %a \n- 
author   :: Rainer M Krug, email: address@hidden %?")
        ))
--8<---------------cut here---------------end--------------->8---

But now I get the following error message when using the capture
template:

,----
| if: Target buffer ".notes" for file+headline should be in Org mode
`----

Any suggestions on how I can get this to work?

Thanks,

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug

PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]