From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: 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 Message-ID: <87egcvcke6.fsf@strey.biz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQaza-0004o9-MU for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 08:27:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQazX-0003n2-HH for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 08:27:38 -0500 Received: from mx1.supremebox.com ([198.23.53.39]:54208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQazX-0003mu-9u for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 08:27:35 -0500 Received: from [77.5.251.87] (helo=localhost) by mx1.supremebox.com with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aQazT-0000DO-Uc for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 13:27:33 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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