From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: [lennart.borgman@gmail.com: C-h k does not catch text properies keymaps] Date: Mon, 05 Mar 2007 23:35:07 +0100 Message-ID: <45EC9B1B.6050006@gmail.com> References: <87r6s3zp63.fsf@stupidchicken.com> <85r6s3jsib.fsf@lola.goethe.zz> <45EC8CB5.60307@gmail.com> <87zm6rmjc1.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173134157 25763 80.91.229.12 (5 Mar 2007 22:35:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2007 22:35:57 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 05 23:35:49 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 1HOLmU-0006zn-GE for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 23:35:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOLmT-0005Gs-KN for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 17:35:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOLm6-00057S-00 for emacs-devel@gnu.org; Mon, 05 Mar 2007 17:35:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOLm4-000554-0B for emacs-devel@gnu.org; Mon, 05 Mar 2007 17:35:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOLm3-00054t-KF for emacs-devel@gnu.org; Mon, 05 Mar 2007 17:35:19 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HOLlz-0004ZW-Fg; Mon, 05 Mar 2007 17:35:15 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:59941 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HOLlx-0000lp-7y; Mon, 05 Mar 2007 23:35:14 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 In-Reply-To: <87zm6rmjc1.fsf@stupidchicken.com> X-Antivirus: avast! (VPS 000721-1, 2007-03-03), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HOLlx-0000lp-7y. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HOLlx-0000lp-7y 97a86fc6d798ee128a144f9705ab9046 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:67388 Archived-At: Chong Yidong wrote: > "Lennart Borgman (gmail)" writes: > >>> Actually, it _is_ correct. Do >>> >>> M-x debug-on-entry RET mouse-drag-region RET >>> >>> and you'll find that clicking at that spot indeed first runs >>> mouse-drag-region. >> >> Ok, thanks. I can see it is partly correct and useful. But the >> information about the other function, should not that be shown too? > > What I see in the help buffer, following your test code, is the > following; both the down-mouse and up-mouse event are reported, so I > don't think there's a bug present: > > at that spot runs the command mouse-drag-region > which is an interactive compiled Lisp function in `mouse.el'. > It is bound to . > (mouse-drag-region start-event) > > Set the region to the text that the mouse is dragged over. > Highlight the drag area as you move the mouse. > This must be bound to a button-down mouse event. > In Transient Mark mode, the highlighting remains as long as the mark > remains active. Otherwise, it remains until the next input event. > > If the click is in the echo area, display the `*Messages*' buffer. > > ----------------- up-event ---------------- > > at that spot runs the command (lambda nil "This is the lambda for mouse-1" (interactive) (message "lambda for mouse-1 here")) > which is an interactive Lisp function. > It is bound to . > (anonymous) > > This is the lambda for mouse-1 I do not see the up-event part on CVS Emacs from 2007-03-04 on w32.