GNU bug report logs - #13724
Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'

Previous Next

Packages: emacs, org-mode;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 15 Feb 2013 20:06:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 13724 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 13724 <at> debbugs.gnu.org
Cc: Thorsten Jolitz <tjolitz <at> gmail.com>
Subject: Re: bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-:
	(cmd)'
Date: Fri, 15 Feb 2013 18:50:02 -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)))





This bug report was last modified 12 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.