From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' Date: Sun, 03 Feb 2013 21:01:39 +0100 Message-ID: <8738xddv4s.fsf@googlemail.com> References: <877gmpdxid.fsf@googlemail.com> <10035.1359920583@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U25lB-00019V-7v for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 15:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U25lA-0005Mg-BT for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 15:01:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:36227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U25lA-0005Mc-51 for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 15:01:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U25lQ-0002e2-4J for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 21:02:08 +0100 Received: from e178116032.adsl.alicedsl.de ([85.178.116.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Feb 2013 21:02:08 +0100 Received: from tjolitz by e178116032.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Feb 2013 21:02:08 +0100 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: emacs-orgmode@gnu.org Nick Dokos 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