From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers Date: Fri, 13 Feb 2015 14:06:05 +0100 Message-ID: <87386aufk2.fsf@nicolasgoaziou.fr> References: <848ug21dew.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMFvb-0008LP-RF for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 08:05:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMFvW-0004mN-Rq for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 08:05:03 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:42108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMFvW-0004mI-Mb for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 08:04:58 -0500 In-Reply-To: <848ug21dew.fsf@gmail.com> (Marco Wahl's message of "Fri, 13 Feb 2015 08:25:11 +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: Marco Wahl Cc: Paul Sexton , emacs-orgmode@gnu.org Hello, Marco Wahl 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