emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] org-return after an empty description list item gives erro


From: Nicolas Goaziou
Subject: Re: [O] [BUG] org-return after an empty description list item gives error
Date: Thu, 11 Feb 2016 10:00:32 +0100

Hello,

Kaushal Modi <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]