From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Getting the click position in a string Date: Mon, 01 May 2006 07:55:29 +0200 Message-ID: <85iroqxp9q.fsf@lola.goethe.zz> References: <85fyk2ugle.fsf@lola.goethe.zz> <85fyk0rbrk.fsf@lola.goethe.zz> <853bg0r1ms.fsf@lola.goethe.zz> <85y7xspkgk.fsf@lola.goethe.zz> <87ejzk8mmv.fsf-monnier+emacs@gnu.org> <85r73jkyqf.fsf@lola.goethe.zz> <87r73j6mav.fsf-monnier+emacs@gnu.org> <858xpqkgvy.fsf@lola.goethe.zz> <87irou4t8q.fsf-monnier+emacs@gnu.org> <854q0eitpo.fsf@lola.goethe.zz> <87d5f1k77c.fsf-monnier+emacs@gnu.org> <85aca42giz.fsf@lola.goethe.zz> <878xpoez6s.fsf-monnier+emacs@gnu.org> <857j566850.fsf@lola.goethe.zz> <87mze2d142.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146462966 11428 80.91.229.2 (1 May 2006 05:56:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 May 2006 05:56:06 +0000 (UTC) Cc: "Kim F. Storm" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 07:56:03 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 1FaRO4-0000m7-47 for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 07:56:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaRO3-0000jj-JP for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 01:55:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaRNr-0000jJ-VE for emacs-devel@gnu.org; Mon, 01 May 2006 01:55:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaRNq-0000j7-Kq for emacs-devel@gnu.org; Mon, 01 May 2006 01:55:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaRNq-0000j4-GJ for emacs-devel@gnu.org; Mon, 01 May 2006 01:55:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaRRa-0003OG-RH for emacs-devel@gnu.org; Mon, 01 May 2006 01:59:38 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FaRNo-0006uN-76; Mon, 01 May 2006 01:55:45 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id BF96E1C4CD65; Mon, 1 May 2006 07:55:29 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: <87mze2d142.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 30 Apr 2006 20:48:54 -0400") 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:53713 Archived-At: Stefan Monnier writes: >> It would not really suffice to let it accept an event instead of >> KEY: for implementing the follow-link functionality, the lookup has >> to be for [follow-link], but for a given event of type down-mouse-1 >> or similar. > > Oh, now I understand what you mean. So you basically want to add a > `position' argument to `key-binding'? How 'bout adding a `position' > argument to `current-active-maps'? Well, if we had a lookup function accepting a list of keymaps... It seems a bit tiresome to loop all by one's own, so while adding the argument to `current-active-maps' seems like a good idea, it also seems like things calling it implicitly (like `key-binding') should also get that argument. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum