From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: Erroneous selection extension in Emacs version 22.1 for Win32 Date: Tue, 26 Jun 2007 14:03:28 +0200 Message-ID: <46810090.8080907@gmx.at> References: <234179.27310.qm@web58611.mail.re3.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182859579 20553 80.91.229.12 (26 Jun 2007 12:06:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2007 12:06:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Bostjan Vilfan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 14:06:15 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I39nx-0001wD-Mv for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2007 14:05:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I39nx-0003kK-33 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2007 08:05:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I39nP-0003B9-N9 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2007 08:05:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I39nL-000395-N1 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2007 08:05:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I39nK-00038p-Td for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2007 08:05:19 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I39nK-0006Vz-Lm for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2007 08:05:18 -0400 Original-Received: (qmail invoked by alias); 26 Jun 2007 12:05:17 -0000 Original-Received: from N733P030.adsl.highway.telekom.at (EHLO [62.47.35.158]) [62.47.35.158] by mail.gmx.net (mp050) with SMTP; 26 Jun 2007 14:05:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1983I0+wKZ8ONSKiTTuGqh4ahm0Ir6qEkBO+TmH4b ez1wrNyLr5KZ/H User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <234179.27310.qm@web58611.mail.re3.yahoo.com> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16001 Archived-At: > 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).