From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Marco Wahl <marcowahlsoft@gmail.com>
Cc: Paul Sexton <eeeickythump@gmail.com>, emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87386aufk2.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <848ug21dew.fsf@gmail.com> (Marco Wahl's message of "Fri, 13 Feb 2015 08:25:11 +0100")
Hello,
Marco Wahl <marcowahlsoft@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
prev parent reply other threads:[~2015-02-13 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-13 7:25 [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers Marco Wahl
2015-02-13 13:06 ` Nicolas Goaziou [this message]
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=87386aufk2.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=eeeickythump@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=marcowahlsoft@gmail.com \
/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).