Thanks for fixing this quickly.

On Thu, Feb 11, 2016 at 3:58 AM Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Kaushal Modi <kaushal.m...@gmail.com> writes:
>
> > I get an error from org-element-context if I have set
> > org-return-follows-link to t and hit RET after an empty desc list item.
> > Here is what I mean by that:
> >
> > ===== org buffer =====
> > - desc123 ::<RET>
> > <RET>
> > =====
> >
> > To better recreate this issue, save the below elisp code to a temp file,
> > say t.el, and run,
> >
> > emacs -q -l t.el
> > (Verify that emacs -q loads the master branch (dev) org-mode version. It
> > does for me as I install the dev org-mode to
> "share/emacs/site-lisp/org".)
> >
> > ===== t.el =====
> > (setq inhibit-startup-screen t)
> > (setq org-return-follows-link t) ; Commenting this line with mask this
> bug
> > (toggle-debug-on-error)
> > (pop-to-buffer-same-window (get-buffer-create "*org-temp*"))
> > (org-mode)
> > (insert "- desc123 ::\n")
> > (org-return)
> > =====
> >
> > On doing so, you should get an error backtrace like below:
> >
> > =====
> > Debugger entered--Lisp error: (search-failed "desc123")
> >   search-forward("desc123" 14)
> >   org-element-context()
> >   org-return()
> > =====
>
> Fixed. Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>

Reply via email to