[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Erroneous selection extension in Emacs version 22.1 for Win32
From: |
martin rudalics |
Subject: |
Re: Erroneous selection extension in Emacs version 22.1 for Win32 |
Date: |
Tue, 26 Jun 2007 14:03:28 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> I tried your fix, but it does not seem to help (I get the same symptoms). The
only thing I noticed is that the text
>
> (overlay-start mouse-drag-overlay))
>
> is on line 1007 of mouse.el and not on 1013. Is this significant?
My patch was against CVS-1.316 of mouse.el. Your six lines difference
is probably due to a patch I applied earlier. Maybe the patch didn't
apply correctly in your case. Please make sure (if necessary manually)
that your code around the proposed change in `mouse-drag-track' appears
(untabified) as:
.....
;; The end that comes from where we started the drag.
;; Mark goes there.
(region-commencement
(- (+ (overlay-end mouse-drag-overlay)
(overlay-start mouse-drag-overlay))
region-termination))
last-command this-command)
;; Turn off tracking.
(when (eq transient-mark-mode 'identity)
(setq transient-mark-mode nil))
(push-mark region-commencement t t)
(goto-char region-termination)
(if (not do-mouse-drag-region-post-process)
;; Skip all post-event handling, return immediately.
(delete-overlay mouse-drag-overlay)
;; Don't let copy-region-as-kill set deactivate-mark.
....
Note also that mouse.el is preloaded. Hence you must either re-make
Emacs or load mouse.el separately (if you can't make).