From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Wed, 19 Jun 2013 08:27:57 -0400 Message-ID: References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> <87vc5bthw1.fsf@kwarm.red-bean.com> <83vc5bqnlm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371644888 7910 80.91.229.3 (19 Jun 2013 12:28:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 12:28:08 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 14:28:08 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UpHUe-00080q-Bh for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 14:28:08 +0200 Original-Received: from localhost ([::1]:53084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpHUd-0003mC-V3 for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 08:28:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpHUZ-0003lu-U5 for emacs-devel@gnu.org; Wed, 19 Jun 2013 08:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpHUY-00089f-S9 for emacs-devel@gnu.org; Wed, 19 Jun 2013 08:28:03 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpHUX-00089B-2v; Wed, 19 Jun 2013 08:28:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16706443" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 19 Jun 2013 08:27:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 922D862F1E; Wed, 19 Jun 2013 08:27:57 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 19 Jun 2013 09:13:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160655 Archived-At: > 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