emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-dr


From: Michael Strey
Subject: [O] 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 14:27:29 +0100


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

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)


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.3.3 (release_8.3.3-725-gdd15fe @ 
/usr/share/emacs/site-lisp/org/)
-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]