emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Michael Strey <mstrey@strey.biz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)]
Date: Tue, 02 Feb 2016 17:58:36 +0100	[thread overview]
Message-ID: <87fuxbjbgj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87egcvcke6.fsf@strey.biz> (Michael Strey's message of "Tue, 02 Feb 2016 14:27:29 +0100")

Hello,

Michael Strey <mstrey@strey.biz> writes:

> When starting an org-drill session, I expect the answer to the question
> to be hidden.  Since my last update, I see question and answer at the
> same time.
>
> I tracked the problem down to commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258.
>
> In function org-drill-hide-subheadings-if the following call of org-map-entries is
> used:
>
> (org-map-entries
>        (lambda ()
>          (when (and (not (outline-invisible-p))
>                     (> (org-current-level) drill-entry-level))
>            (when (or (/= (org-current-level) (1+ drill-entry-level))
>                         (funcall test))
>              (hide-subtree))
>            (push (point) drill-sections)))
>        "" 'tree)

Could you provide an ECM?

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-02-02 16:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 13:27 Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)] Michael Strey
2016-02-02 16:58 ` Nicolas Goaziou [this message]
2016-02-02 21:18   ` Michael Strey
2016-02-02 21:59     ` Nicolas Goaziou
2016-02-03  8:35       ` Michael Strey

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=87fuxbjbgj.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mstrey@strey.biz \
    /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).