GNU bug report logs - #8710
23.3.50; diff-refine-hunk deactivate active region

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sat, 21 May 2011 13:08:02 UTC

Severity: minor

Found in version 23.3.50

Fixed in version 24.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8710 in the body.
You can then email your comments to 8710 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#8710; Package emacs. (Sat, 21 May 2011 13:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Sat, 21 May 2011 13:08:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3.50; diff-refine-hunk deactivate active region
Date: Sat, 21 May 2011 21:06:43 +0800
1. Make a diff-mode buffer (e.g. from vc-diff)
2. Activate a region
3. Press C-c C-b

Active region deactivated.

This, for example, disallows user to set-mark at the beginning of a hunk
and then M-n to select it.




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Mon, 23 May 2011 17:05:02 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Mon, 23 May 2011 17:05:02 GMT) Full text and rfc822 format available.

Message #10 received at 8710-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: 8710-done <at> debbugs.gnu.org
Subject: Re: bug#8710: 23.3.50; diff-refine-hunk deactivate active region
Date: Mon, 23 May 2011 14:04:25 -0300
Version: 24.1

> 1. Make a diff-mode buffer (e.g. from vc-diff)
> 2. Activate a region
> 3. Press C-c C-b

> Active region deactivated.

Good point.  I've installed the patch below into the trunk, which should
fix it.


        Stefan


--- lisp/vc/smerge-mode.el	2011-05-12 07:07:06 +0000
+++ lisp/vc/smerge-mode.el	2011-05-23 17:01:29 +0000
@@ -991,6 +991,7 @@
 used to replace chars to try and eliminate some spurious differences."
   (let* ((buf (current-buffer))
          (pos (point))
+         deactivate-mark         ; The code does not modify any visible buffer.
          (file1 (make-temp-file "diff1"))
          (file2 (make-temp-file "diff2")))
     ;; Chop up regions into smaller elements and save into files.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Jun 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 2 days ago.

Previous Next


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