From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Missing APIs for keymaps... Date: Mon, 20 Mar 2006 12:40:03 -0500 Message-ID: References: <85mzfozsas.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 1142876483 7262 80.91.229.2 (20 Mar 2006 17:41:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 17:41:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 20 18:41:22 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 1FLONb-0001SQ-Fg for ged-emacs-devel@m.gmane.org; Mon, 20 Mar 2006 18:41:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLONZ-0001QG-Kr for ged-emacs-devel@m.gmane.org; Mon, 20 Mar 2006 12:41:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FLOMf-0001Nh-V8 for emacs-devel@gnu.org; Mon, 20 Mar 2006 12:40:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FLOMb-0001Kg-PK for emacs-devel@gnu.org; Mon, 20 Mar 2006 12:40:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLOMa-0001Jz-QZ for emacs-devel@gnu.org; Mon, 20 Mar 2006 12:40:17 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FLOS8-0002Gj-HH; Mon, 20 Mar 2006 12:46:00 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 60C392CF48C; Mon, 20 Mar 2006 12:40:11 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id AAF7B445C; Mon, 20 Mar 2006 12:40:04 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 8C51E71553; Mon, 20 Mar 2006 12:40:03 -0500 (EST) Original-To: David Kastrup In-Reply-To: <85mzfozsas.fsf@lola.goethe.zz> (David Kastrup's message of "Fri, 17 Mar 2006 22:15:39 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:51896 Archived-At: > in mouse.el to also work on images in overlays with a keymap and a > display property of an image. Uh, tough. We can presumably get the > image with posn-object. But I don't see any way to get from there to > the keymap at that position. Can you use (get-char-property (posn-point posn) 'keymap) ? Of course, if the keymap property is not on the buffer text but on a before-string, that won't work :-( Stefan