GNU bug report logs - #30148
26.0.91; EWW binding for `r'

Previous Next

Package: emacs;

Reported by: charles <at> aurox.ch (Charles A. Roelli)

Date: Wed, 17 Jan 2018 19:40:01 UTC

Severity: minor

Tags: fixed

Found in version 26.0.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 30148 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: charles <at> aurox.ch (Charles A. Roelli)
Cc: 30148 <at> debbugs.gnu.org
Subject: Re: bug#30148: 26.0.91; EWW binding for `r'
Date: Sat, 14 Apr 2018 00:17:59 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> Also, I do not understand why eww-link-keymap is a copy of
>> shr-image-map, when so many commands that could apply to images do not
>> apply to links:
>>
>>   (defvar eww-link-keymap
>>     (let ((map (copy-keymap shr-image-map)))
>>       (define-key map "\r" 'eww-follow-link)
>>       map))
>
> It's presumably to have the image commands not disappear if there's an
> image in a link.  Too bad Emacs doesn't have a way to add several local
> keymaps using text properties...

I've now tweaked this to make the image commands go away on non-image
links in eww.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 7 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.