emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'
@ 2013-02-03 19:10 Thorsten Jolitz
  2013-02-03 19:43 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Thorsten Jolitz @ 2013-02-03 19:10 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-12 21:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-03 19:10 Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' Thorsten Jolitz
2013-02-03 19:43 ` Nick Dokos
2013-02-03 20:01   ` Thorsten Jolitz
2013-02-11 14:43     ` Bastien
2013-02-12 16:55       ` Thorsten Jolitz
2013-02-12 21:32         ` Bastien

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).