emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: org-drill-entry-empty-p should use outline-forward-same-lev


From: Phillip Lord
Subject: Re: [O] Bug: org-drill-entry-empty-p should use outline-forward-same-level and not outline-next-heading [9.1.6 (9.1.6-48-gfe7619-elpaplus @ /Users/christoffer/.emacs.d/elpa/org-plus-contrib-20180212/)]
Date: Mon, 22 Jul 2019 13:02:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

Indeed, org-drill-entry-empty-p returns t and considers this entry
empty. But why is this wrong? How are you using this kind of entry? Do
you put the question in the title?

BTW, I am maintaining org-drill at:

https://gitlab.com/phillord/org-drill/

now, so you might be better raising issues there.

Phil

address@hidden (Christoffer Stjernlöf) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>      https://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org mailing list.
> ------------------------------------------------------------------------
>
> I have noticed that some of my drill entries are skipped by org-drill,
> and only
> recently took the time to try to troubleshoot why – apparently
> org-drill-entry-empty-p returns t for my entries, because they look like
> the
> following:
>
> -----
> * Entry question? :drill:
> SCHEDULED: <2019-04-05 Fri>
> :PROPERTIES:
> ...
> :END:
>
> ** The Answer
>
> Some text
> ----
>
> Since org-drill-entry-empty-p only looks from the end of the
> metadata/properties
> and until outline-next-heading, it will consider this drill entry empty
> – even
> though this is not at all my intention. This would be fixed by replacing
> (outline-next-heading) with (outline-forward-same-level 1) in
> org-entry-empty-p.
> I'm not sure whether this has any other adverse effect, but I can't see
> how it
> would make things worse, at least.
>
> Emacs  : GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.6.0, Carbon
> Version 158 AppKit 1671.5)
>  of 2019-06-15
> Package: Org mode version 9.1.6 (9.1.6-48-gfe7619-elpaplus @
> /Users/christoffer/.emacs.d/elpa/org-plus-contrib-20180212/)
>

-- 
Phillip Lord,                           Phone: +44 (0) 191 208 7827
Biology, Medicine, Computing            Email: address@hidden
School of Computing,                    
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 5.012 Urban Sciences Building,     skype: russet_apples
Newcastle University,                   twitter: phillord
NE4 5TG

reply via email to

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