From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Getting the click position in a string Date: Wed, 26 Apr 2006 13:32:44 +0200 Message-ID: References: <85fyk2ugle.fsf@lola.goethe.zz> <85fyk0rbrk.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146051315 31915 80.91.229.2 (26 Apr 2006 11:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 11:35:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 13:35:13 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 1FYiIL-0006sW-N2 for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 13:34:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYiIK-0001lq-OG for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 07:34:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYiI5-0001lH-Cn for emacs-devel@gnu.org; Wed, 26 Apr 2006 07:34:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYiI2-0001kt-TH for emacs-devel@gnu.org; Wed, 26 Apr 2006 07:34:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYiI2-0001kq-Lj for emacs-devel@gnu.org; Wed, 26 Apr 2006 07:34:38 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYiKg-0007cw-FY; Wed, 26 Apr 2006 07:37:22 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id EC821262857; Wed, 26 Apr 2006 13:34:33 +0200 (CEST) Original-To: David Kastrup In-Reply-To: <85fyk0rbrk.fsf@lola.goethe.zz> (David Kastrup's message of "Wed, 26 Apr 2006 10:17:51 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53463 Archived-At: David Kastrup writes: >> Am I wrong here? I think I answered that... (answer: yes) > > On another tangent, is this change ok? For implementing follow-link, > I need to take a look at the follow-link binding in the keymap of a > click, not the binding of the click itself. Looks ok to me. > Incidentally, this function looks faulty: it should search the keymap > _and_ the local-map property (in _that_ order) instead of searching at > most one of the two, even if that search would fail. I think the rationale is that one assumes that a user would only add either a keymap or a local-map property -- but in any case, it should look for the keymap property before the local-map property. But it seems easy to fix it to DTRT. > Apart from fixing it and adding an optional key argument, is help.el > the right place for it? For what? -- Kim F. Storm http://www.cua.dk