From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers Date: Fri, 13 Feb 2015 08:25:11 +0100 Message-ID: <848ug21dew.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAcw-0002Zg-Oo for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 02:25:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMAcr-0000XB-8g for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 02:25:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:32906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAcr-0000Wl-2L for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 02:25:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YMAcm-0002rq-N6 for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 08:25:16 +0100 Received: from stgt-4d02ee15.pool.mediaways.net ([77.2.238.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2015 08:25:16 +0100 Received: from marcowahlsoft by stgt-4d02ee15.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2015 08:25:16 +0100 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: emacs-orgmode@gnu.org Cc: Paul Sexton 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