GNU bug report logs -
#14815
24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Mon, 8 Jul 2013 05:29:01 UTC
Severity: wishlist
Tags: fixed
Found in version 24.3.50
Fixed in version 24.4
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14815 in the body.
You can then email your comments to 14815 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Mon, 08 Jul 2013 05:29:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jambunathan K <kjambunathan <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 08 Jul 2013 05:29:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Currently left-clicking on the hyperlinks doesn't take me to the link.
(RET works though)
Please enable left mouse clicks.
In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-07-07 on debian-6.05
Bzr revision: 113313 jan.h.d <at> swipnet.se-20130707084109-gf7csgu4tkxzjn23
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Mon, 08 Jul 2013 15:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Jambunathan K <kjambunathan <at> gmail.com> writes:
> Currently left-clicking on the hyperlinks doesn't take me to the link.
> (RET works though)
I'd like to, but I don't know how. This is how the local keymap is
defined:
(defvar shr-map
(let ((map (make-sparse-keymap)))
[...]
(define-key map [follow-link] 'mouse-face)
What's the real way to define mouse actions these days?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Mon, 08 Jul 2013 16:34:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> Currently left-clicking on the hyperlinks doesn't take me to the link.
>> (RET works though)
>
> I'd like to, but I don't know how. This is how the local keymap is
> defined:
>
> (defvar shr-map
> (let ((map (make-sparse-keymap)))
>
> [...]
>
> (define-key map [follow-link] 'mouse-face)
>
> What's the real way to define mouse actions these days?
C-u C-x = on Orgmode links shows this:
(keymap
(follow-link . mouse-face)
(mouse-3 . org-find-file-at-mouse)
(mouse-2 . org-open-at-mouse))
Define keymap
(defvar org-mouse-map (make-sparse-keymap))
(org-defkey org-mouse-map [mouse-2] 'org-open-at-mouse)
(org-defkey org-mouse-map [mouse-3] 'org-find-file-at-mouse)
Mouse click handlers.
(defun org-open-at-mouse (ev)
"Open file link or URL at mouse.
See the docstring of `org-open-file' for details."
(interactive "e")
(mouse-set-point ev)
(org-open-at-point))
(defun org-find-file-at-mouse (ev)
"Open file link or URL at mouse."
(interactive "e")
(mouse-set-point ev)
(org-open-at-point 'in-emacs))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Fri, 19 Jul 2013 14:59:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Jambunathan K <kjambunathan <at> gmail.com> writes:
> C-u C-x = on Orgmode links shows this:
>
> (keymap
> (follow-link . mouse-face)
> (mouse-3 . org-find-file-at-mouse)
> (mouse-2 . org-open-at-mouse))
>
> Define keymap
>
> (defvar org-mouse-map (make-sparse-keymap))
> (org-defkey org-mouse-map [mouse-2] 'org-open-at-mouse)
> (org-defkey org-mouse-map [mouse-3] 'org-find-file-at-mouse)
Ok; I've now bound [mouse-2] in shr.
But this bug report is about the left mouse click, and that's mouse-1,
isn't it? does the special follow-link thing do magic with remapping
mouse-2 to mouse-1?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Fri, 19 Jul 2013 17:01:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> C-u C-x = on Orgmode links shows this:
>>
>> (keymap
>> (follow-link . mouse-face)
>> (mouse-3 . org-find-file-at-mouse)
>> (mouse-2 . org-open-at-mouse))
>>
>> Define keymap
>>
>> (defvar org-mouse-map (make-sparse-keymap))
>> (org-defkey org-mouse-map [mouse-2] 'org-open-at-mouse)
>> (org-defkey org-mouse-map [mouse-3] 'org-find-file-at-mouse)
>
> Ok; I've now bound [mouse-2] in shr.
Middle click follows the link.
> But this bug report is about the left mouse click, and that's mouse-1,
> isn't it?
Yes.
> does the special follow-link thing do magic with remapping
> mouse-2 to mouse-1?
Left click does NOT work in eww buffers. (i.e., the bug is still open)
Left click still opens Org links - which look like so [[org link]] - in
Org buffers. I am unable to quickly figure out what Org does specially
which eww misses.
Another thing I noticed: When mouse house over an link in an Org or a
Help buffer, the link's color changes. In case of eww, this
color-changing doesn't happen.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Sat, 20 Jul 2013 11:20:04 GMT)
Full text and
rfc822 format available.
Message #20 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Jambunathan K <kjambunathan <at> gmail.com> writes:
> Left click does NOT work in eww buffers. (i.e., the bug is still open)
>
> Another thing I noticed: When mouse house over an link in an Org or a
> Help buffer, the link's color changes. In case of eww, this
> color-changing doesn't happen.
If you do this, Left click works. I have validated this experimentally
i.e., I haven't looked at docstring or info manual etc.
,---- DESIRED - Left click works
| There are text properties here:
| face shr-link
| help-echo "http://www.emacswiki.org/emacs-en"
| keymap [Show]
| mouse-face highlight <============================= Added
| shr-url "http://www.emacswiki.org/emacs-en"
`----
,---- CURRENT - Left click DOES NOT work
| There are text properties here:
| face shr-link
| help-echo "http://www.emacswiki.org/emacs-de"
| keymap [Show]
| shr-url "http://www.emacswiki.org/emacs-de"
`----
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Sat, 20 Jul 2013 17:19:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen wrote:
> But this bug report is about the left mouse click, and that's mouse-1,
> isn't it? does the special follow-link thing do magic with remapping
> mouse-2 to mouse-1?
See mouse-1-click-follows-link and mouse-on-link-p.
(Basically, put the 'follow-link property on links.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Tue, 30 Jul 2013 14:27:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> (Basically, put the 'follow-link property on links.)
Ah; thanks. Now done.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Added tag(s) fixed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Jul 2013 14:27:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.4, send any further explanations to
14815 <at> debbugs.gnu.org and Jambunathan K <kjambunathan <at> gmail.com>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Jul 2013 14:27:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14815
; Package
emacs
.
(Tue, 30 Jul 2013 14:28:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 14815 <at> debbugs.gnu.org (full text, mbox):
Jambunathan K <kjambunathan <at> gmail.com> writes:
> | mouse-face highlight <============================= Added
I've now added highlighting, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Aug 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.