From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: does org-mode modify input events? Date: Tue, 07 Jan 2014 00:14:15 -0500 Message-ID: <87fvp02x20.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Ozq-00031f-8n for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:14:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0Ozk-0006D7-8j for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:14:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:41852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Ozk-0006D1-1Q for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:14:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0Ozi-00030d-Ga for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 06:14:26 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jan 2014 06:14:26 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jan 2014 06:14:26 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Kitchin 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