From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: org-drill problem: questions are blank Date: Sun, 29 Mar 2015 20:54:15 +0200 Message-ID: <84ego77hyg.fsf@gmail.com> References: <1427384664.1084665.245605865.3BD2D7B0@webmail.messagingengine.com> <1427468711.1449616.246064085.0D5C8109@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcIMC-0004JW-45 for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 14:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcIM8-0004d7-T7 for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 14:54:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:46685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcIM8-0004Y9-MB for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 14:54:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YcIM3-0005g9-9K for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 20:54:39 +0200 Received: from x4d02d4e7.dyn.telefonica.de ([77.2.212.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Mar 2015 20:54:39 +0200 Received: from marcowahlsoft by x4d02d4e7.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Mar 2015 20:54:39 +0200 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 Cc: Paul Sexton Peter Westlake writes: > On Thu, 26 Mar 2015, at 17:26, J. David Boyd wrote: >> Peter Westlake writes: >> >> > From time to time Org-drill shows me a blank window instead of a >> > question. The frame, mode line and prompt to answer are visible, but >> > there's nothing in the window at all. As a workaround I can type "t" to >> > edit the tags, and the question will appear. >> > >> > A sample file is enclosed. It's a new file without any of the org-drill >> > property drawers just to keep the example short and to avoid having to >> > wait for the question to be scheduled to be shown again, but the problem >> > *does* still happen when the drawers are present. >> > >> > To reproduce the bug, run org-drill in drillbug.org; the question "MC" >> > gives a blank screen. >> > >> > I'm using org-drill with the latest version of Org-mode, git commit >> > 2f58e3c011ec84f621905332d8df68b83da580d9, on Emacs 24.3.1, 2014-09-30. >> > >> > Peter. >> >> There's no attached file... > > Ugh! There is now, sorry. Thanks! I can reproduce your issue with a relatively fresh emacs 25 and org from git. AFAICS the window gets blanked sometimes in function org-toggle-latex-fragment of org.el in line --8<---------------cut here---------------start------------->8--- ;; Work around a bug that doesn't restore window's start ;; when widening back the buffer. (set-window-start nil window-start) --8<---------------cut here---------------end--------------->8--- A workaround would be to comment out just this line. I don't know if this is a reliable fix though. HTH -- http://www.wahlzone.de GPG: 0x49010A040A3AE6F2