From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Westlake Subject: Re: org-drill problem: questions are blank Date: Mon, 30 Mar 2015 16:57:48 +0100 Message-ID: <1427731068.2739677.247101361.710E3616@webmail.messagingengine.com> References: <1427384664.1084665.245605865.3BD2D7B0@webmail.messagingengine.com> <1427468711.1449616.246064085.0D5C8109@webmail.messagingengine.com> <84ego77hyg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycc4X-0002Ya-9P for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:57:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycc4U-00046k-19 for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:57:53 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycc4T-00046Z-UZ for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:57:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8E3C420B09 for ; Mon, 30 Mar 2015 11:57:45 -0400 (EDT) In-Reply-To: <84ego77hyg.fsf@gmail.com> 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: Marco Wahl , emacs-orgmode@gnu.org Cc: Paul Sexton Marco, Thanks for the suggestion, but this doesn't make the bug go away for me. Peter. On Sun, 29 Mar 2015, at 19:54, Marco Wahl wrote: > 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 > >