emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] words starting with call_ confuse C-c C-c and export


From: Nicolas Goaziou
Subject: Re: [O] words starting with call_ confuse C-c C-c and export
Date: Tue, 03 Dec 2013 21:55:28 +0100

Hello,

Daniel Clemente <address@hidden> writes:

>   Hi, with org-mode from today on Emacs 23.4.1 and with this 2-line file:
>
> - [ ] call_me
> - [ ] try funcall_lambda (maybe)
>
>
> 1. Go to the „me“ and press C-c C-c. You get „C-c C-c can do nothing
> useful at this location“. I expected to switch the checkbox.

This should be fixed.

> 2. Go to the „maybe“ and press C-c C-c. I got:
>
> Debugger entered--Lisp error: (void-function maybe)
>   (maybe)
>   eval((maybe))
>   org-babel-read("(maybe)")
>   org-babel-ref-parse("results=(maybe)")
>   #[(el) …
>   mapcar(#[(el) …
>   org-babel-process-params(((:comments . "") (:shebang . "") (:cache .
> "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports .
> "code") (:results . "replace") (:var . "results=(maybe)") (:hlines .
> "no") (:session . "none")))
>   org-babel-lob-execute(("lambda (maybe)" nil 13 nil))
>   org-babel-lob-execute-maybe()
>   org-babel-execute-maybe()
>   org-babel-execute-safely-maybe()
>   run-hook-with-args-until-success(org-babel-execute-safely-maybe)
>   org-ctrl-c-ctrl-c(nil)
>
>
> 3. Similar confusions happen on export; the word Fcall_interactively which 
> appeared in a gdb backtrace was crashing the HTML exportation.
>
>
>   I think something similar happened to me years ago, and I had to
>   avoid all call_ words!

We may tweak `org-babel-inline-lob-one-liner-regexp' in order to make it
harder to trigger it unwillingly. 

Cc'ing Eric Schulte to know his opinion.


Regards,

-- 
Nicolas Goaziou



reply via email to

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