emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-drill problem: questions are blank


From: Marco Wahl
Subject: Re: [O] org-drill problem: questions are blank
Date: Sun, 29 Mar 2015 20:54:15 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Peter Westlake <address@hidden> writes:

> On Thu, 26 Mar 2015, at 17:26, J. David Boyd wrote:
>> Peter Westlake <address@hidden> 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




reply via email to

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