emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Florian Lindner <mailinglists@xgm.de>
Cc: bzg@gnu.org, emacs-orgmode@gnu.org,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: Capture template stopped working: nil
Date: Fri, 30 Jun 2017 13:13:33 +0200	[thread overview]
Message-ID: <m2y3s9n2xu.fsf@charm-wifi.irisa.fr> (raw)
In-Reply-To: <a16db0e0-bd34-d057-2ae5-d1b62bfe9512@xgm.de> (Florian Lindner's message of "Fri, 30 Jun 2017 12:20:49 +0200")

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

Hello,

"FL" == Florian Lindner <mailinglists@xgm.de> writes:

FL> Hey Nicolas, hey Bastien,
FL> might you give a hint why

FL>  ("j" "Journal" item
FL>   (file+datetree "journal.org")
FL>   "%?\n%i" :kill-buffer t)

FL> which still gives the same error: org-capture: Capture template ‘j’: nil

I'm having the same problem (see the thread "Capture template 'C':
nil"), also with an "item" template. I suspect there is a bug in that
specific case (since "entry" template works fine) where one must
specify the full path of the file.

The really surprising thing is that org actually finds the file (there
is text appended to it).

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-05: 409.65, 2016-05: 407.70

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2017-06-30 11:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25 19:04 Capture template stopped working: nil Florian Lindner
2017-06-25 19:09 ` Nicolas Goaziou
2017-06-25 19:23   ` Florian Lindner
2017-06-30 10:20     ` Florian Lindner
2017-06-30 11:13       ` Alan Schmitt [this message]
2017-06-30 12:39       ` Nicolas Goaziou
2017-06-25 19:44   ` Bastien
2017-06-25 20:24     ` Nicolas Goaziou
2017-06-25 21:25       ` Bastien Guerry
2017-06-25 21:38         ` Nicolas Goaziou
2017-06-30 12:23           ` Bastien
2017-07-01  9:03             ` Nicolas Goaziou

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=m2y3s9n2xu.fsf@charm-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=mailinglists@xgm.de \
    /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).