emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Re: Org-drill doesn't work...
Date: Fri, 6 Jan 2012 23:42:57 +0100	[thread overview]
Message-ID: <20120106224257.GA17268@darkstar> (raw)
In-Reply-To: <87pqewy41q.fsf@blackbird.nest.zamazal.org>

On Fri, Jan 06, 2012 at 09:27:53PM +0100, Milan Zamazal wrote:
> It may happen if there is some problem with the contents of the entries
> ("unrecognized" items are silently skipped).  I was hit by a similar
> problem but once I realized what's wrong, org-drill started to work
> perfectly for me.

thanks for you reply. it prompted me to look a bit closer at the ignored items
and i've now figured out what was wrong with them... it turns out that it is
absolutely necessary that there is some text after the header of a drill item,
before the first subheader. most of my items lacked this, however. my items
looked like this:

#+BEGIN_EXAMPLE

** Verb                                            :drill:

   :PROPERTIES:
   :DRILL_CARD_TYPE: twosided
   :END:

*** Deutsch

    <some German verb>

*** Russisch

    <Russian translation>

#+END_EXAMPLE

however, they need to look like this:

#+BEGIN_EXAMPLE

** Verb                                            :drill:

   :PROPERTIES:
   :DRILL_CARD_TYPE: twosided
   :END:

   <some text here>   <===== absolutely essential!

*** Deutsch

    <some German verb>

*** Russisch

    <Russian translation>

#+END_EXAMPLE

what is inconsistent about the way org-drill handles these is that even though
it doesn't use these faulty entries for drilling, it *does* provide them with a
unique :ID: property. so initially it doesn't look like there's anything wrong
with them...

i also didn't find an explicit mention of this in the docs, so perhaps i should
send an email to paul sexton...

but yes, now that i've figured out what i was doing wrong, org-drill works great!

-- 
Joost Kremers
Life has its moments

      reply	other threads:[~2012-01-06 22:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 21:44 Org-drill doesn't work Joost Kremers
2011-12-26 14:40 ` Bastien
2011-12-28 21:21 ` Milan Zamazal
2012-01-05 11:53   ` Joost Kremers
2012-01-06 20:27     ` Milan Zamazal
2012-01-06 22:42       ` Joost Kremers [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=20120106224257.GA17268@darkstar \
    --to=joostkremers@fastmail.fm \
    --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).