From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: bitten by lexical-binding Date: Sun, 22 Nov 2015 15:28:00 +0100 Message-ID: <87ziy6az2n.fsf@web.de> References: <9b834ee9-4f63-42ca-98b4-c0f14986642e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448202523 16006 80.91.229.3 (22 Nov 2015 14:28:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 14:28:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 22 15:28:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a0Vd2-0002Px-Jb for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2015 15:28:32 +0100 Original-Received: from localhost ([::1]:56248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Vd2-0001CO-Hh for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2015 09:28:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Vcp-0001CJ-Lb for emacs-devel@gnu.org; Sun, 22 Nov 2015 09:28:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0Vck-0000xK-1h for emacs-devel@gnu.org; Sun, 22 Nov 2015 09:28:19 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Vcj-0000wx-RG for emacs-devel@gnu.org; Sun, 22 Nov 2015 09:28:13 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a0Vcf-0001it-Qt for emacs-devel@gnu.org; Sun, 22 Nov 2015 15:28:09 +0100 Original-Received: from ip-90-186-2-125.web.vodafone.de ([90.186.2.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Nov 2015 15:28:09 +0100 Original-Received: from michael_heerdegen by ip-90-186-2-125.web.vodafone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Nov 2015 15:28:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-90-186-2-125.web.vodafone.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:50xDwxmkh3fm5gGKlt/zcs2nIQc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195015 Archived-At: Drew Adams writes: > Starting with Emacs 25, `mouse-drag-track' does not accept > the second arg. But invoking it without that argument meant > that (my version of) `mouse-drag-region' no longer copied > the text to the kill ring, when `mouse-drag-copy-region'=t. > That was the problem. Can't reproduce here, built from Nov 21 2015. I copied your code into a file, one time with lexical binding enabled, one time without. In emacs -Q, I loaded that file and set mouse-drag-copy-region -> t. With both file versions, the region was copied to the kill ring after dragging with the mouse. Michael.