emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#8710: closed (23.3.50; diff-refine-hunk deactiva


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#8710: closed (23.3.50; diff-refine-hunk deactivate active region)
Date: Mon, 23 May 2011 17:05:02 +0000

Your message dated Mon, 23 May 2011 14:04:25 -0300
with message-id <address@hidden>
and subject line Re: bug#8710: 23.3.50; diff-refine-hunk deactivate active 
region
has caused the GNU bug report #8710,
regarding 23.3.50; diff-refine-hunk deactivate active region
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
8710: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8710
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#8710: 23.3.50; diff-refine-hunk deactivate active region Date: Mon, 23 May 2011 14:04:25 -0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
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.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]