From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' Date: Sun, 03 Feb 2013 20:10:18 +0100 Message-ID: <877gmpdxid.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U24xb-0000Mc-9h for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 14:10:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U24xY-0000rj-KK for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 14:10:37 -0500 Received: from plane.gmane.org ([80.91.229.3]:45098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U24xY-0000rX-DX for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 14:10:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U24xo-0001dw-07 for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 20:10:52 +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 20:10:51 +0100 Received: from tjolitz by e178116032.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Feb 2013 20:10:51 +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 Hi List, just wondering (and curious) if this is a bug or (in some way) expected behaviour: Say point is at the beginning of the first line of an Org-mode source block: ,------------------------------------------------ | #+begin_src plantuml :file er-class-diagram.png | scale 600 width ... # point at beg-of-line `------------------------------------------------ Now, when I call interactive command org-babel-mark-block' either with 'M-x org-babel-mark-block' or 'C-c C-v C-M-h', the body of the source block is (visibly) marked as expected (transient-mark-mode is on). But with the point at the same position, evaluating with 'M-:' ,-------------------------------------- | Eval: (org-babel-mark-block) `-------------------------------------- returns the position of point without (visibly) marking the source-block body. -- cheers, Thorsten