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: Mon, 4 Feb 2008 21:02:47 +0000 Message-ID: <8e24944a0802041302n45064c4fm2ac428ceda204254@mail.gmail.com> References: <8e24944a0710161629r1ec1afadj60352dc92c264217@mail.gmail.com> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202158986 25212 80.91.229.12 (4 Feb 2008 21:03:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 21:03:06 +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 Mon Feb 04 22:03:26 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 1JM8TL-0000Y1-2I for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 22:03:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM8St-0006VD-1w for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 16:02:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JM8Sq-0006TA-2H for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:02:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JM8So-0006Qt-KM for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:02:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM8So-0006Qk-Ih for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:02:50 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.240]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JM8So-0004Ck-6D for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:02:50 -0500 Original-Received: by an-out-0708.google.com with SMTP id c25so474829ana.84 for ; Mon, 04 Feb 2008 13:02:49 -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:content-transfer-encoding:content-disposition:references; bh=Cf2+mQE46tnTH3QS3Ye+SOwWdf32VDYPKcuE2KR7pu8=; b=KBh/HFgfLpekU5LEUXLklS+/vh6PgojV5zWO+yOEXuOIbGyPnOympQXjn9jIFIhNcfCNlbzCbLSePnGkT9bWm8en69iAn06hHyRlwuHTORY/LbeGdzx1xm3X+2dKWmwbKZULNN+3f5Q8YNamlhS/C6tZCXtgQzRZPqAZRIp1ih0= 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:content-transfer-encoding:content-disposition:references; b=S+YB8jWhY+jmLTU7XQGH94k5U1ZbIVTFHkT5vB82FRDq/9433aLfsh/O7OyVg4qwpoO01x9yWWfUOsjzqOuBLdmmInZDHmJ8xg6MpqPB/9yPhAHgoFiEmCsq34/xFFJIrIiuZitcyzB4IOrnPSV/9Lj76wkPf0dGNqkfn5UsrD4= Original-Received: by 10.142.128.6 with SMTP id a6mr3800809wfd.135.1202158967819; Mon, 04 Feb 2008 13:02:47 -0800 (PST) Original-Received: by 10.142.111.4 with HTTP; Mon, 4 Feb 2008 13:02:47 -0800 (PST) In-Reply-To: <8e24944a0802030512t77c4ca20s6d059df50295ebd2@mail.gmail.com> Content-Disposition: inline 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:88191 Archived-At: On 03/02/2008, David De La Harpe Golden wrote: > On 03/02/2008, Jan D. wrote: > > Are you saying that one can't set mark, move the point with the mouse > > and then do stuff like M-w, C-x C-x anymore? If so, I think that is > > totally unacceptable, it makes mouse-set-point almost unusable. > > > > Well, agreed: Or not... > It "only" causes a problem with mixed keyboard/mouse-1 i.e. > (d) hit keyboard C-SPC to set mark and then use mouse-1-click > (mouse-set-point) with the expectation of defining an active region. > > Uh. Did (d) work before? It probably did, I just don't have an > unmutilated emacs to hand to check. > No, it didn't work that way without the patch: when you mouse-set-point (mouse-1-click) in CVS emacs, the region deactivates anyway, which _is_ normal behaviour in X11 applications come to think of it (mouse-1-drag highlight some text in firefox, mouse-1-click somewhere else...). The insertion of deactivate-mark into mouse-set-point makes the region deactivate immediately before the point move rather than immediately afterward. 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.