From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: RE: select and META key Date: Mon, 26 Mar 2007 19:23:02 +0800 Message-ID: References: <23544965.637781174907413197.JavaMail.www@wwinf4004> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1174908215 24358 80.91.229.12 (26 Mar 2007 11:23:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 11:23:35 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org To: alinsoar@voila.fr Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 13:23:27 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HVnIN-0004yU-37 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 13:23:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVnKa-0000rR-Tr for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 06:25:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVnKK-0000i7-Kq for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2007 07:25:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVnKI-0000fZ-Vl for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2007 07:25:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVnKI-0000f9-QN; Mon, 26 Mar 2007 06:25:26 -0500 Original-Received: from bay0-omc1-s13.bay0.hotmail.com ([65.54.246.85]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVnI3-00019v-N0; Mon, 26 Mar 2007 07:23:07 -0400 Original-Received: from hotmail.com ([65.55.154.88]) by bay0-omc1-s13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 26 Mar 2007 04:23:06 -0700 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Mar 2007 04:23:06 -0700 Original-Received: from 65.55.154.123 by by143fd.bay143.hotmail.msn.com with HTTP; Mon, 26 Mar 2007 11:23:02 GMT X-Originating-IP: [216.145.54.7] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: <23544965.637781174907413197.JavaMail.www@wwinf4004> X-OriginalArrivalTime: 26 Mar 2007 11:23:06.0544 (UTC) FILETIME=[20454B00:01C76F99] X-detected-kernel: Windows 2000 SP4, XP SP1+ X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15638 gmane.emacs.devel:68586 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. Regards, Guanpeng Xu _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/