emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: does org-mode modify input events?
Date: Tue, 07 Jan 2014 00:14:15 -0500	[thread overview]
Message-ID: <87fvp02x20.fsf@gmail.com> (raw)
In-Reply-To: CAJ51ETp5X_C--MO1-vqDbQ=+WzgGrNpDCeMx+8vq_MMN_nAMVA@mail.gmail.com

John Kitchin <jkitchin@andrew.cmu.edu> 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

      reply	other threads:[~2014-01-07  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07  0:32 does org-mode modify input events? John Kitchin
2014-01-07  5:14 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvp02x20.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).