From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David De La Harpe Golden" Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Tue, 5 Feb 2008 03:38:16 +0000 Message-ID: <8e24944a0802041938j5528d9b3nb72e1c8d9a960dd6@mail.gmail.com> References: <8e24944a0801281152w733c977akda93089a52701219@mail.gmail.com> <8e24944a0801281659sa5a9115rf4533184413a8b20@mail.gmail.com> <8e24944a0802011115h77423fd1p2eae15a1e46bca1a@mail.gmail.com> <8e24944a0802011617k66c49283id9478dc3d5168bdf@mail.gmail.com> <8e24944a0802030338i1ce3397yba581ffedbe2f118@mail.gmail.com> <47A5B737.8000804@swipnet.se> <8e24944a0802030512t77c4ca20s6d059df50295ebd2@mail.gmail.com> <8e24944a0802041302n45064c4fm2ac428ceda204254@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7527_20567028.1202182696617" X-Trace: ger.gmane.org 1202182712 25181 80.91.229.12 (5 Feb 2008 03:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 03:38:32 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 05 04:38:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMEe4-00067G-OX for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 04:38:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMEdc-0002sg-Ca for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 22:38:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMEdZ-0002sb-0A for emacs-devel@gnu.org; Mon, 04 Feb 2008 22:38:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMEdW-0002sO-QC for emacs-devel@gnu.org; Mon, 04 Feb 2008 22:38:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMEdW-0002sL-LW for emacs-devel@gnu.org; Mon, 04 Feb 2008 22:38:18 -0500 Original-Received: from wx-out-0506.google.com ([66.249.82.233]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMEdX-0002zw-6o for emacs-devel@gnu.org; Mon, 04 Feb 2008 22:38:19 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s7so2137805wxc.24 for ; Mon, 04 Feb 2008 19:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=1tYl7964t9COYizp9WroqQmJckpiJa+MUPcwOWsofac=; b=EZBSAKHOTmgx/3BiRq433ViHI/T2aAQQ0TD1fVpUaFNPl41Ch9uESkBWgHDqqpTeswi+HWrxTJM6dXGZQ+p9OYv6f2ukJAQmqpA7hZbW2tsjl202dO4ArUK9AlkzugxlTlnJV9+m7ZFo+hWbmlfQj81Q6TtuMj6THSj/S98JvtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=vi/zBvmiDkuRg1mxUNXj7BJC2RRbG2rqJzOkMB5xycvfBd77ZaLQ9n4c0Mv0qWgnmTq1HKBc+sAtXUh0B+VY9gqdtUt/eDs/3t6OAXj6Jts7ePEyp17oiHXX3icOMakfWD9pzzsdrGv3H9T9HldXBIL8gjg5IJrsfI7efZVdDZI= Original-Received: by 10.142.217.17 with SMTP id p17mr3954874wfg.99.1202182696611; Mon, 04 Feb 2008 19:38:16 -0800 (PST) Original-Received: by 10.142.111.4 with HTTP; Mon, 4 Feb 2008 19:38:16 -0800 (PST) In-Reply-To: <8e24944a0802041302n45064c4fm2ac428ceda204254@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88223 Archived-At: ------=_Part_7527_20567028.1202182696617 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 04/02/2008, David De La Harpe Golden wrote: > That didn't matter > before (because nothing was trying to propagate out the active region > when the point moved), with select-active-regions the order of > move-point/deactivate-mark vs. deactivate-mark/move-point during > mouse-set-point is significant. > > Guess should next trace exactly where in the call stack the region > deactivation is occurring in unpatched emacs. > Right. This happens (unconditionally as far as I can see) in mouse-drag-track, which happens on mouse down. Moving the deactivate-mark to happen before the initial point move (which mouse-drag-track does with mouse-set-point...) rather than after fixes the select-active-regions behaviour, and I doubt it matters much otherwise? [and avoids damaging mouse-set-point's behaviour for those who like to unbind dragging from the mouse and use different buttons to set the mark and point, say...] ------=_Part_7527_20567028.1202182696617 Content-Type: text/x-diff; name=mouse-drag-track-deactivate-mark-earlier.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_fc9wc6vy Content-Disposition: attachment; filename=mouse-drag-track-deactivate-mark-earlier.diff SW5kZXg6IGxpc3AvbW91c2UuZWwKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL3NvdXJjZXMvZW1hY3Mv ZW1hY3MvbGlzcC9tb3VzZS5lbCx2CnJldHJpZXZpbmc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Zy1vdmVybGF5IG1vdXNlLWRyYWctb3Zlcmxh eSBzdGFydC1wb2ludCBzdGFydC1wb2ludAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBj bGljay1jb3VudCkKICAgICAob3ZlcmxheS1wdXQgbW91c2UtZHJhZy1vdmVybGF5ICd3aW5kb3cg c3RhcnQtd2luZG93KQotICAgIChkZWFjdGl2YXRlLW1hcmspCiAgICAgKGxldCAoZXZlbnQgZW5k IGVuZC1wb2ludCBsYXN0LWVuZC1wb2ludCkKICAgICAgICh0cmFjay1tb3VzZQogCSh3aGlsZSAo cHJvZ24K ------=_Part_7527_20567028.1202182696617--