From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: words starting with call_ confuse C-c C-c and export Date: Tue, 03 Dec 2013 21:55:28 +0100 Message-ID: <87zjohvem7.fsf@gmail.com> References: <87ob4ytoqf.wl%n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnx06-0005LJ-N1 for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 15:55:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnwzx-0006Wx-VU for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 15:55:22 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:63375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnwzx-0006Wj-Ol for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 15:55:13 -0500 Received: by mail-wg0-f41.google.com with SMTP id y10so6132710wgg.0 for ; Tue, 03 Dec 2013 12:55:12 -0800 (PST) In-Reply-To: <87ob4ytoqf.wl%n142857@gmail.com> (Daniel Clemente's message of "Tue, 03 Dec 2013 13:47:36 +0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Clemente Cc: emacs-orgmode@gnu.org, Eric Schulte Hello, Daniel Clemente 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 =E2=80=9Eme=E2=80=9C and press C-c C-c. You get =E2=80=9EC-c= C-c can do nothing > useful at this location=E2=80=9C. I expected to switch the checkbox. This should be fixed. > 2. Go to the =E2=80=9Emaybe=E2=80=9C 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=3D(maybe)") > #[(el) =E2=80=A6 > mapcar(#[(el) =E2=80=A6 > org-babel-process-params(((:comments . "") (:shebang . "") (:cache . > "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . > "code") (:results . "replace") (:var . "results=3D(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 whic= h 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.=20 Cc'ing Eric Schulte to know his opinion. Regards, --=20 Nicolas Goaziou