From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: patrick mc allister Newsgroups: gmane.emacs.bugs Subject: bug#20508: 24.4; image map properties not working as described Date: Wed, 6 May 2015 09:15:44 +0200 Message-ID: <20150506071544.GE18015@rdorte.org> References: <87pp6ffk5h.fsf@kamala.i-did-not-set--mail-host-address--so-tickle-me> <83bnhzrnni.fsf@gnu.org> <20150505172753.GC18015@rdorte.org> <83zj5irg4o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0vzXIDBeUiKkjNJl" X-Trace: ger.gmane.org 1430896586 5028 80.91.229.3 (6 May 2015 07:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 07:16:26 +0000 (UTC) Cc: 20508@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 06 09:16:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YptZ0-00068x-F4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 09:16:14 +0200 Original-Received: from localhost ([::1]:43344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptYu-0003r7-MB for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 03:16:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptYs-0003r1-4O for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 03:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YptYo-00078C-Uk for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 03:16:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YptYo-000788-RF for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 03:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YptYo-00053T-8p for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 03:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: patrick mc allister Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2015 07:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20508-submit@debbugs.gnu.org id=B20508.143089655619419 (code B ref 20508); Wed, 06 May 2015 07:16:02 +0000 Original-Received: (at 20508) by debbugs.gnu.org; 6 May 2015 07:15:56 +0000 Original-Received: from localhost ([127.0.0.1]:35858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YptYh-000536-7z for submit@debbugs.gnu.org; Wed, 06 May 2015 03:15:55 -0400 Original-Received: from mail-wg0-f51.google.com ([74.125.82.51]:34044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YptYf-00052t-3Z for 20508@debbugs.gnu.org; Wed, 06 May 2015 03:15:53 -0400 Original-Received: by wgso17 with SMTP id o17so1448794wgs.1 for <20508@debbugs.gnu.org>; Wed, 06 May 2015 00:15:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=0+iTSNSfFktKfcaprWEdABEGgBLK4IXmsT83bjbQdtw=; b=DVstief2k30QLmGMsRzZOOh8kGYhBzbo1O7zZVhSuEK0YMOssXAh2zTMI52L6A2Mxf xpLCJr3ZKN1ciLnjLFKYnh+WTzQ4Z0Q8qCdVgLXxJ4g6OZR1b7ks7a+zDx4t6PBhzzKV xjZXZGeioJ6WmX6sF1TDPQNCx09Z1eJLblfebbd7a3q8RtcehoMUD86AIHuvK1Bge9zP klilvOh712tyHcFVcRwe5ji2Mx13QA5K4ke/13I3uI1Gmm3x8IzBQfwWiJ2BFiAzAdcX Wmxd8UZD/RemBeq028h1Z3fnhaymXnKoWy7aNDGrgyeOaIktVLR/7CLPwLV/rGDGy5YL 57Eg== X-Gm-Message-State: ALoCoQk8Mr1F9szF4PTfuRLJj2q6Xyf5IGy0c68QjFZcTmxaqS8M7lRkr3j9Ml6bUHC5yZ15qKi0 X-Received: by 10.180.92.161 with SMTP id cn1mr10919593wib.91.1430896547483; Wed, 06 May 2015 00:15:47 -0700 (PDT) Original-Received: from rdorte.org (HSI-KBW-046-005-019-026.hsi8.kabel-badenwuerttemberg.de. [46.5.19.26]) by mx.google.com with ESMTPSA id e2sm746419wij.5.2015.05.06.00.15.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2015 00:15:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83zj5irg4o.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102533 Archived-At: --0vzXIDBeUiKkjNJl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2015 at 10:14:31PM +0300, Eli Zaretskii wrote: > > This variant works as you expect: >=20 > (defun image-wipe-and-insert-two-maps () > (interactive) > (let () > (with-current-buffer (get-buffer-create "*an image area test buffer*") > (switch-to-buffer (current-buffer)) > (erase-buffer) > (insert-image (find-image '((:type png :file "/usr/share/emacs/24.4= /etc/images/icons/hicolor/128x128/apps/emacs.png" > :map (list > ((rect . ((0 . 0) . (50 . 50))) anAreaID (pointer hourglass help-ec= ho "You found an area!")) > ((rect . ((51 . 51) . (100 . 100))) aSecondAreaID (pointer hand hel= p-echo "You found another area!"))) > ;; :relief -20 > ;; :conversion laplace > :margin (0 . 0) > :pointer arrow))))))) >=20 > (Figuring out why you need that explicit call to 'list' is left as an > exercise ;-) Thanks again, another thing I missed! best regards, --=20 patrick --0vzXIDBeUiKkjNJl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlVJv6AACgkQN5RlYmr8acRt6gCdFzArgcUnr76domDSXZbbfz4h rTsAmQELMXdYi6MsgAZ1sMUZNpCS8HrR =w7Em -----END PGP SIGNATURE----- --0vzXIDBeUiKkjNJl--