From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: how to test whether region is active during a mouse event? Date: Thu, 6 Aug 2009 09:16:20 -0700 Message-ID: References: <1907CCC7DE424D73AA8FD0E2F798DF49@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249575404 6231 80.91.229.12 (6 Aug 2009 16:16:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 16:16:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 18:16:37 2009 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 1MZ5dt-0003eo-92 for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 18:16:37 +0200 Original-Received: from localhost ([127.0.0.1]:40545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ5ds-0001YB-Ep for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 12:16:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ5dn-0001XW-Vc for emacs-devel@gnu.org; Thu, 06 Aug 2009 12:16:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ5dj-0001VJ-Ap for emacs-devel@gnu.org; Thu, 06 Aug 2009 12:16:31 -0400 Original-Received: from [199.232.76.173] (port=41766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ5dj-0001VE-7J for emacs-devel@gnu.org; Thu, 06 Aug 2009 12:16:27 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:58924) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZ5di-0006ST-KY for emacs-devel@gnu.org; Thu, 06 Aug 2009 12:16:27 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n76GGpdk002414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 6 Aug 2009 16:16:53 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n76GGm5P031662; Thu, 6 Aug 2009 16:16:48 GMT Original-Received: from dradamslap1 (/141.144.168.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Aug 2009 09:16:21 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoWrTImh3wX1nW6QDy09qmiRiiHIQAA0r9A In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010202.4A7B01D6.003E:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:113739 Archived-At: > > I want to be able to check whether the region is active > > during the overall button-click action. > > I don't know what that means. Could you describe it more precisely? Please see the rest of the thread. See in particular David DLH's first post, on 2009-08-02. Summary: David DLH explained the cause of the problem. He suggested a possible workaround. I decided anyway to abandon my attempt to distinguish whether the region is active when the mouse is clicked (either `down' or `click' modifier - both had problems).