[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'
From: |
Thorsten Jolitz |
Subject: |
Re: [O] Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' |
Date: |
Sun, 03 Feb 2013 21:01:39 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> The function is called differently in the two cases:
>
>
> * backtrace with ESC ESC : (org-babel-mark-block)
>
> org-babel-mark-block()
> eval((org-babel-mark-block) nil)
> eval-expression((org-babel-mark-block) nil)
> call-interactively(eval-expression nil nil)
>
>
> * backtrace with M-x org-babel-mark-block
>
> org-babel-mark-block()
> call-interactively(org-babel-mark-block record nil)
> command-execute(org-babel-mark-block record)
> execute-extended-command(nil "org-babel-mark-block")
> call-interactively(execute-extended-command nil nil)
>
>
> I don't know if that accounts for the difference - my guess is that
> it probably does, but I don't know how.
Interesting, I have to check what happens when I use this function in a
program. Kind of strange, though, is that a bug in
'org-babel-mark-block' - or in Emacs itself?
--
cheers,
Thorsten