From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87fuxbjbgj.fsf@nicolasgoaziou.fr> References: <87egcvcke6.fsf@strey.biz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeFs-0001y3-3n for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:56:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQeFo-0006qX-UM for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:56:40 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:40915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeFo-0006pW-O6 for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:56:36 -0500 In-Reply-To: <87egcvcke6.fsf@strey.biz> (Michael Strey's message of "Tue, 02 Feb 2016 14:27:29 +0100") 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: Michael Strey Cc: emacs-orgmode@gnu.org Hello, Michael Strey 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