Re: [O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers

2015-02-13 Thread Nicolas Goaziou
Hello,

Marco Wahl marcowahls...@gmail.com writes:

 AFAICT a possible fix is:

 #v+
 diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el
 index a0d33aa..8154904 100644
 --- a/contrib/lisp/org-drill.el
 +++ b/contrib/lisp/org-drill.el
 @@ -1708,7 +1708,7 @@ Note: does not actually alter the item.
  (org-back-to-heading t)
  (let ((lim (save-excursion
   (outline-next-heading) (point
 -  (org-end-of-meta-data-and-drawers)
 +  (org-end-of-meta-data t)
(or (= (point) lim)
(null (re-search-forward [[:graph:]] lim t))
 #v-

 Is it sufficient to apply this fix to master?

This is correct. Thank you for taking care of it.


Regards,

-- 
Nicolas Goaziou



[O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers

2015-02-12 Thread Marco Wahl
Hi,

since the drop of org-end-of-meta-data-and-drawers contrib/org-drill
fails in master.

AFAICT a possible fix is:

#v+
diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el
index a0d33aa..8154904 100644
--- a/contrib/lisp/org-drill.el
+++ b/contrib/lisp/org-drill.el
@@ -1708,7 +1708,7 @@ Note: does not actually alter the item.
 (org-back-to-heading t)
 (let ((lim (save-excursion
  (outline-next-heading) (point
-  (org-end-of-meta-data-and-drawers)
+  (org-end-of-meta-data t)
   (or (= (point) lim)
   (null (re-search-forward [[:graph:]] lim t))
#v-

Is it sufficient to apply this fix to master?  Am I missing something?


Best regards,
  Marco
-- 
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2