emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Re: problem with org-capture
Date: Tue, 01 Dec 2015 14:51:57 -0600	[thread overview]
Message-ID: <87r3j5kibs.fsf@fastmail.fm> (raw)
In-Reply-To: <87d1uq7f6e.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 1 Dec 2015 08:20:57 +0000")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Hello again,
>
> at the risk of again raising an issue that is actually my fault :-(, I
> am having a problem with org-capture.  I have been using the same
> templates for yonks but, all of a sudden, my templates don't work.  For
> instance,
>
> #+begin_src emacs-lisp
>   (setq org-capture-templates
>         '(("t" "todo" entry (file+datetree "~/s/notes/tasks.org")
>            "* TODO %^{Task} %^G\nSCHEDULED: %t\n%i%?")))
> #+end_src
>
> I do not get prompted for the task nor asked for tags.
>
> I do see that there have been changes recently to org-capture and a few
> emails flying by regarding recursive captures but I didn't think they
> applied to my use cases...  I could be wrong.
>
> Any pointers to what I need to change to get things working again would
> be most welcome!

I can confirm this bug. None of the prompt shortcuts work in capture
templates. For instance, the following capture template...

(setq org-capture-templates
      '(("a" "Appointment" entry
                 (file "~/org/inbox.org") "* %^{Appt}\n %^t%?\n %U\n %i")))

...simply inserts the following in a buffer without any prompts or
expansion...

* %^{Appt}
 %^t
 [2015-12-01 Tue 14:51]

The problematic commit is the one having to do with recursive todos:

bd3a2cbf2f69d4de5ad7d41893bf418e91c23fb2

Best,
Matt

  reply	other threads:[~2015-12-01 20:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01  8:20 problem with org-capture Eric S Fraga
2015-12-01 20:51 ` Matt Lundin [this message]
2015-12-01 21:35   ` Eric S Fraga
2015-12-01 22:22 ` Nicolas Goaziou
2015-12-02 12:26   ` Eric S Fraga
2015-12-02 21:24     ` Nicolas Goaziou
2015-12-02 22:57       ` Charles Millar
2015-12-03  9:02         ` Nicolas Goaziou
2015-12-03 12:12           ` Charles Millar
2015-12-03 10:02       ` Eric S Fraga
2015-12-03 17:05       ` Matt Lundin
2015-12-03 21:11         ` Mike McLean
2015-12-03 22:38           ` Nicolas Goaziou
2015-12-04  0:28             ` Charles Millar
2015-12-04  0:57             ` Mike McLean
2015-12-04  8:55             ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2011-02-16  9:25 Problem " Chris Lowis
2011-02-16 14:20 ` Bastien

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=87r3j5kibs.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /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).