From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel Subject: RE: select and META key Date: Mon, 26 Mar 2007 13:58:27 +0200 (CEST) Message-ID: <13775401.819711174910307038.JavaMail.www@wwinf4006> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174910323 31817 80.91.229.12 (26 Mar 2007 11:58:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 11:58:43 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Herbert Euler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 13:58:35 2007 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 1HVnqM-0006qp-Jg for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 13:58:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVnsa-0007HI-WA for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 07:00:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVnsX-0007EQ-Dy for emacs-devel@gnu.org; Mon, 26 Mar 2007 08:00:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVnsW-0007D2-2u for emacs-devel@gnu.org; Mon, 26 Mar 2007 08:00:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVnsV-0007Cv-SS for emacs-devel@gnu.org; Mon, 26 Mar 2007 07:00:47 -0500 Original-Received: from smtp1.voila.fr ([193.252.22.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVnqG-00080W-Kl for emacs-devel@gnu.org; Mon, 26 Mar 2007 07:58:28 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4008.voila.fr (SMTP Server) with ESMTP id 16792D8000AD; Mon, 26 Mar 2007 13:58:27 +0200 (CEST) Original-Received: from wwinf4006 (wwinf4006 [172.22.157.33]) by mwinf4008.voila.fr (SMTP Server) with ESMTP id 0C986D8000A8; Mon, 26 Mar 2007 13:58:27 +0200 (CEST) X-ME-UUID: 20070326115827517.0C986D8000A8@mwinf4008.voila.fr X-Originating-IP: [89.34.170.37] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 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:68588 Archived-At: > >> > >1. Emacs -Q > >> > > > >> > >2. open en elisp file. for example edebug.el > >> > > > >> > >3. Press left mouse button and select a region. Before to release left > >> > >mouse button press ALT. While keepeng ALT pressed release mouse button > >> > > > >> > >Result: a region is selected, and it cannot be unsected. > >> > > > >> > >This is a bug or an feature of emacs unknown by me? > >> > > >> > I think it is secondary selection. See also (info "(emacs) Secondary > >> > Selection"). > >> > > >> > > >> > >> > >>You are right. Thanks. > > > >However, there is surely a bug. Since you press the Meta key > >only before releasing mouse-1, the event is slightly different from > >pressing the Meta key before pressing mouse-1: in the former > >case the first event is `down-mouse-1', and in the latter the > >first event is `M-down-mouse-1'. Although the outcome is the > >event `M-drag-mouse-1' in both cases, `mouse-drag-secondary' > >seems not to get executed and other secondary selection > >relating commands, such as `mouse-yank-secondary' fails to be > >executed. > > And the opposite behaves in this way: > > 1. Press M-mouse-1 to generate a M-down-mouse-1 event. > 2. Move mouse to generate a mouse-movement event. > 3. First release the Meta key and then mouse-1. > > The outcome is drag-mouse-1 event. However, secondary > selection has been successfully executed and pressing > M-mouse-2 can certainly yank secondary selected texts. > > Are these behaviors desired? > I do not have time now for this issue. I will check as soon as I do. It is just evervant because the selection does not dissapear. Thanks.