bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20508: 24.4; image map properties not working as described


From: Eli Zaretskii
Subject: bug#20508: 24.4; image map properties not working as described
Date: Wed, 06 May 2015 18:24:46 +0300

> Date: Wed, 6 May 2015 09:15:44 +0200
> From: patrick mc allister <pma@rdorte.org>
> Cc: 20508@debbugs.gnu.org
> 
> > (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-echo "You found an area!"))
> >                                             ((rect . ((51 . 51) . (100 . 
> > 100))) aSecondAreaID (pointer hand help-echo "You found another area!")))
> >                                      ;; :relief -20
> >                                      ;; :conversion laplace
> >                                      :margin (0 . 0)
> >                                      :pointer arrow)))))))
> > 
> > (Figuring out why you need that explicit call to 'list' is left as an
> > exercise ;-)
> 
> Thanks again, another thing I missed!

So now that we agree there's no bug here, I can close the bug report.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]