[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] does org-mode modify input events?
From: |
Nick Dokos |
Subject: |
Re: [O] does org-mode modify input events? |
Date: |
Tue, 07 Jan 2014 00:14:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
John Kitchin <address@hidden> writes:
> Hi all,
>
> In this post, I was looking at some ways to get right clicks to do something
> on org-links:
> http://kitchingroup.cheme.cmu.edu/blog/2013/10/21/Enabling-right-clicks-in-org-mode-links/
>
> I noticed some odd behavior in that the last-input-event is mouse-2
> whether I press mouse-1 or mouse-2 when clicking on a link. It is also
> interesting the event is of type mouse-2, and not down-mouse-2.
>
> Does anyone know if org-mode makes a mouse-1 click into a mouse-2
> event somehow? Is that happening from this line
>
> (org-defkey org-mouse-map [mouse-2] 'org-open-at-mouse)
>
> in org.el?
>
Check the doc strings of org-mouse-1-follows-link and
mouse-1-click-follows-link.
--
Nick