emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: emacs-orgmode@gnu.org, Eric Schulte <schulte.eric@gmail.com>
Subject: Re: words starting with call_ confuse C-c C-c and export
Date: Tue, 03 Dec 2013 21:55:28 +0100	[thread overview]
Message-ID: <87zjohvem7.fsf@gmail.com> (raw)
In-Reply-To: <87ob4ytoqf.wl%n142857@gmail.com> (Daniel Clemente's message of "Tue, 03 Dec 2013 13:47:36 +0700")

Hello,

Daniel Clemente <n142857@gmail.com> 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	other threads:[~2013-12-03 20:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03  6:47 words starting with call_ confuse C-c C-c and export Daniel Clemente
2013-12-03 20:55 ` Nicolas Goaziou [this message]
2013-12-06 19:09   ` Eric Schulte
2013-12-06 19:46     ` Nicolas Goaziou
2013-12-06 21:12       ` Eric Schulte
2013-12-14 11:25         ` Nicolas Goaziou
2013-12-15 21:37           ` Eric Schulte
2013-12-15 22:43             ` Nicolas Goaziou
2013-12-16 15:12               ` Eric Schulte
2013-12-16 16:58                 ` Nicolas Goaziou
2014-03-06 22:12                   ` Eric Schulte
2014-03-10 14:28                     ` Nicolas Goaziou
2014-03-10 14:44                       ` Eric Schulte
2014-03-11 14:11                         ` Nicolas Goaziou
2014-03-11 15:57                           ` Eric Schulte
2014-03-11 20:49                             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjohvem7.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n142857@gmail.com \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).