* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
@ 2013-07-08 5:29 Jambunathan K
2013-07-08 14:59 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Jambunathan K @ 2013-07-08 5:29 UTC (permalink / raw)
To: 14815
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@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
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
2013-07-08 5:29 bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing Jambunathan K
@ 2013-07-08 14:59 ` Lars Magne Ingebrigtsen
2013-07-08 16:34 ` Jambunathan K
0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-07-08 14:59 UTC (permalink / raw)
To: Jambunathan K; +Cc: 14815
Jambunathan K <kjambunathan@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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
2013-07-08 14:59 ` Lars Magne Ingebrigtsen
@ 2013-07-08 16:34 ` Jambunathan K
2013-07-19 14:58 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Jambunathan K @ 2013-07-08 16:34 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 14815
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Jambunathan K <kjambunathan@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))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
2013-07-08 16:34 ` Jambunathan K
@ 2013-07-19 14:58 ` Lars Magne Ingebrigtsen
2013-07-19 17:02 ` Jambunathan K
2013-07-20 17:18 ` Glenn Morris
0 siblings, 2 replies; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-07-19 14:58 UTC (permalink / raw)
To: Jambunathan K; +Cc: 14815
Jambunathan K <kjambunathan@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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
2013-07-19 14:58 ` Lars Magne Ingebrigtsen
@ 2013-07-19 17:02 ` Jambunathan K
2013-07-20 11:20 ` Jambunathan K
2013-07-20 17:18 ` Glenn Morris
1 sibling, 1 reply; 9+ messages in thread
From: Jambunathan K @ 2013-07-19 17:02 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 14815
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Jambunathan K <kjambunathan@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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing
2013-07-19 14:58 ` Lars Magne Ingebrigtsen
2013-07-19 17:02 ` Jambunathan K
@ 2013-07-20 17:18 ` Glenn Morris
2013-07-30 14:25 ` Lars Magne Ingebrigtsen
1 sibling, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2013-07-20 17:18 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 14815
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.)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-07-30 14:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 5:29 bug#14815: 24.3.50; eww (Hyperlinks): Left mouse click on hyperlinks does nothing Jambunathan K
2013-07-08 14:59 ` Lars Magne Ingebrigtsen
2013-07-08 16:34 ` Jambunathan K
2013-07-19 14:58 ` Lars Magne Ingebrigtsen
2013-07-19 17:02 ` Jambunathan K
2013-07-20 11:20 ` Jambunathan K
2013-07-30 14:27 ` Lars Magne Ingebrigtsen
2013-07-20 17:18 ` Glenn Morris
2013-07-30 14:25 ` Lars Magne Ingebrigtsen
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.