emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Paul Sexton <eeeickythump@gmail.com>
Subject: Re: org-drill problem: questions are blank
Date: Sun, 29 Mar 2015 20:54:15 +0200	[thread overview]
Message-ID: <84ego77hyg.fsf@gmail.com> (raw)
In-Reply-To: 1427468711.1449616.246064085.0D5C8109@webmail.messagingengine.com

Peter Westlake <peter.westlake@pobox.com> writes:

> On Thu, 26 Mar 2015, at 17:26, J. David Boyd wrote:
>> Peter Westlake <peter.westlake@pobox.com> 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	other threads:[~2015-03-29 18:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 15:44 org-drill problem: questions are blank Peter Westlake
2015-03-26 17:26 ` J. David Boyd
2015-03-27 15:05   ` Peter Westlake
2015-03-29 18:54     ` Marco Wahl [this message]
2015-03-30 15:57       ` Peter Westlake
2015-03-30 16:54         ` Marco Wahl
2015-03-30 17:04           ` Peter Westlake
2015-03-30 17:08             ` Marco Wahl
2015-03-31  9:37               ` Peter Westlake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84ego77hyg.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=eeeickythump@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).