From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Capture template to capture in current buffer Date: Thu, 10 Nov 2016 12:35:57 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4neL-0006fE-Cc for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4neI-0007Fw-AM for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:36:09 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:60040) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4neH-0007F2-Oq for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:36:06 -0500 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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: =2D-8<---------------cut here---------------start------------->8--- (setq org-capture-templates `( ;; ;;;;;;;;;;;;;;;;:: ;; In File Logging :: ;; ;;;;;;;;;;;;;;;;:: ("c" "Changes to be logged in buffer"=20=20=20=20 entry (file+headline (buffer-file-name) "CHANGES Log")=20=20=20 "* %^{Header of CHANGES item}\nLOGGED: %T \n- link :: %a \n- a= uthor :: Rainer M Krug, email: Rainer@krugs.de\n %?") )) =2D-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 =2D- 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: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYJFuiAAoJENvXNx4PUvmCoicH/iv6vZWZRSZrnAsynCbGc6n3 RM2CEQzlJphGy86rv1onVGez7BOGLQe38HuEvggYfQkttAzZgZRGC7eyvDYQA54Z 2L/8F3BD2+4DrkOFLcgruN1Le9SpXPO6d47IL9pTrZvbqX7NLIF7UZAgbiVX/lYz rPdFPgQRYbK7VAGsozOHOsGwhAAu+Ri3gkJrEja3M3EJ3/M9hSaX96C0VqQhX1FW FTkR9X90a+aaOAN8Iw5WR/JGUpZa4egWBgsomkWy++0ezifwliBe+Qr7VkIEI289 GwDfBRWYjdQBxl3H7f4pwiMvnUIqXo+k0QrgjBKGxaJ318iKm7gfoqsEGelhsZE= =25te -----END PGP SIGNATURE----- --=-=-=--