all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: charles@aurox.ch (Charles A. Roelli)
Cc: 30148@debbugs.gnu.org
Subject: bug#30148: 26.0.91; EWW binding for `r'
Date: Sat, 14 Apr 2018 00:17:59 +0200	[thread overview]
Message-ID: <87604uycmg.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87d0z4dpor.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Fri, 13 Apr 2018 00:29:08 +0200")

Lars Ingebrigtsen <larsi@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





      reply	other threads:[~2018-04-13 22:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17 19:45 bug#30148: 26.0.91; EWW binding for `r' Charles A. Roelli
2018-04-12 22:29 ` Lars Ingebrigtsen
2018-04-13 22:17   ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87604uycmg.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=30148@debbugs.gnu.org \
    --cc=charles@aurox.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.