Hello, Evalling (progn (switch-to-buffer "org-test.org") (org-mode) (insert "* good day\n") ; no "\n" implies no error. (setq debug-on-error t) (org-meta-return)) makes an error
git bisect says: ,---- | 3c933adaf627bc8a58cfefb62ff0f2d5df640673 is the first bad commit `---- That commit simply introduced (org-element-at-point) into (org-at-property-p), so I also ran a git bisect session with (org-element-at-point) instead of (org-meta-return) in the above because I guess org-element-at-point shouldn't actually make an error. Here is the result: ,---- | 94bcc7e2828a42d5448757ab28cadbf663c9ff6d is the first bad commit | commit 94bcc7e2828a42d5448757ab28cadbf663c9ff6d | Author: Nicolas Goaziou <n.goaz...@gmail.com> | Date: Mon Feb 11 14:42:16 2013 +0100 | | org-element: Fix parsing of orphaned keyword at the end of an element | | * lisp/org-element.el (org-element--current-element): Add a limit | argument. | (org-element--collect-affiliated-keywords): Fix parsing of orphaned | keyword at the end of an element. | * testing/lisp/test-org-element.el: Add test. | | :040000 040000 180072bc91d21e7c3c893792e9a162268068477e e0e8d22d8a06f0601a585010be45d40dbb91b866 M lisp | :040000 040000 ce3fa869b4f17ed3b3edce74f38cfdce8e70d4f4 58c55594d5f851eb8a8a19eaf12b3a6bd6884cfe M testing | bisect run success `---- I don't know what the solution is because I don't understand the link between affiliated keywords and the fact that (>= (point) limit) (this is the clause which is entered in the cond in org-element--current-element) -- Nico.