From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: locate-with-filter Date: Fri, 31 Mar 2006 19:34:50 -0600 (CST) Message-ID: <200604010134.k311Yo95015753@jane.dms.auburn.edu> References: <200603160048.k2G0msu23696@raven.dms.auburn.edu> <200603170221.k2H2L1H14401@raven.dms.auburn.edu> <17435.52238.927514.585806@kahikatea.snap.net.nz> <200603181716.k2IHGpN17847@raven.dms.auburn.edu> <17436.56026.490667.58771@kahikatea.snap.net.nz> <200603190455.k2J4tEK25830@raven.dms.auburn.edu> <200603200512.k2K5CFN12390@raven.dms.auburn.edu> <200603290409.k2T49W729435@raven.dms.auburn.edu> <200603300029.k2U0TxZ11021@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1143855320 23345 80.91.229.2 (1 Apr 2006 01:35:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 01:35:20 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 03:35:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPV1G-0008U6-Ig for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 03:35:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPV1F-0005fp-Ti for ged-emacs-devel@m.gmane.org; Fri, 31 Mar 2006 20:35:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPV15-0005fk-1f for emacs-devel@gnu.org; Fri, 31 Mar 2006 20:35:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPV12-0005fQ-Io for emacs-devel@gnu.org; Fri, 31 Mar 2006 20:35:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPV12-0005fM-FB for emacs-devel@gnu.org; Fri, 31 Mar 2006 20:35:00 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPV3X-0001Hl-D5; Fri, 31 Mar 2006 20:37:35 -0500 Original-Received: from jane.dms.auburn.edu (jane.dms.auburn.edu [131.204.53.201]) by manatee.dms.auburn.edu (8.13.6/8.13.6) with ESMTP id k311Ywhq008387; Fri, 31 Mar 2006 19:34:58 -0600 (CST) Original-Received: from jane.dms.auburn.edu (localhost [127.0.0.1]) by jane.dms.auburn.edu (8.13.4+Sun/8.13.3) with ESMTP id k311YpYG015756; Fri, 31 Mar 2006 19:34:51 -0600 (CST) Original-Received: (from teirllm@localhost) by jane.dms.auburn.edu (8.13.4+Sun/8.13.3/Submit) id k311Yo95015753; Fri, 31 Mar 2006 19:34:50 -0600 (CST) X-Authentication-Warning: jane.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 30 Mar 2006 22:10:41 -0500) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.1 (manatee.dms.auburn.edu [131.204.53.104]); Fri, 31 Mar 2006 19:34:58 -0600 (CST) 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:52271 Archived-At: Richard Stallman wrote: You would have to change the bindings in the button's (text-property) keymap if you want different commands to operate on the button. The user would have to change button-map, but then he would have changed the bindings for _all_ buttons of _any_ kind, which might not be what the user wants. In addition, he would _also_ have to rebind help-follow. So this seems hopeless. So there are two approaches: 1. Say that users who want to change the behavior of the buttons should change the keymap that they use. 2. Install your change in help-follow, and then we can get rid of the buttons' text property keymap. The first possibility is very unattractive for the reasons explained above. Getting rid of the button's keymap means reimplementing help-mode without using buttons, quite a bit of work for little or no gain. If we install my three patches, there is no need to get rid of the button's RET binding. Quite to the contrary, it allows to safely hard code RET in the introductory text, which is what we should be doing anyway. The help-echo text hardcodes it too. So if RET would not follow buttons any more, the help-echo would be deceiving. An alternative to my third patch would be to simply delete help-follow and help-follow-mouse entirely. Sincerely, Luc.