emacs-devel
[Top][All Lists]
Advanced

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

Re: eww


From: Stefan Monnier
Subject: Re: eww
Date: Wed, 19 Jun 2013 08:27:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I've now bound mouse-1:
> +    (define-key map [down-mouse-1] 'shr-browse-url)

Please don't do that and use the follow-link thingy instead, so that it
obeys mouse-1-click-follows-link.

> Speaking of keymaps, eww/shr uses the `local-map' text property to bind
> actions on links.

Don't.  You want to use the `keymap' property (the `local-map' property
is mostly a historical accident).

> Is there a way to make the major mode map keys work
> even if you're standing on text with `local-map'?

Yes: use the `keymap' property.


        Stefan



reply via email to

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