emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 13724@debbugs.gnu.org
Cc: Thorsten Jolitz <tjolitz@gmail.com>
Subject: bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'
Date: Fri, 15 Feb 2013 18:50:02 -0500	[thread overview]
Message-ID: <jwvhald16mi.fsf-monnier+emacs__40962.2083454908$1360972272$gmane$org@gnu.org> (raw)
In-Reply-To: <jwvr4kh32y7.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 15 Feb 2013 12:30:55 -0500")

> ,-------------------------
> | M-: (org-mark-element) RET
> `-------------------------
> moves point to the beginning of source-block (body) and returns the
> position of point without (visibly) marking the source-block body.

Indeed, thank you.  Should be fixed now, thanks to the patch below,


        Stefan


--- lisp/simple.el	2013-02-12 04:46:18 +0000
+++ lisp/simple.el	2013-02-15 17:35:00 +0000
@@ -1328,7 +1327,8 @@
 	(setq debug-on-error new-value))))
 
   (let ((print-length eval-expression-print-length)
-	(print-level eval-expression-print-level))
+	(print-level eval-expression-print-level)
+        (deactivate-mark))
     (if eval-expression-insert-value
 	(with-no-warnings
 	 (let ((standard-output (current-buffer)))

      parent reply	other threads:[~2013-02-15 23:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvr4kh32y7.fsf-monnier+emacs@gnu.org>
2013-02-15 20:41 ` bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' Bastien
2013-02-15 23:50 ` Stefan Monnier [this message]

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='jwvhald16mi.fsf-monnier+emacs__40962.2083454908$1360972272$gmane$org@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=13724@debbugs.gnu.org \
    --cc=tjolitz@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).