all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: help-gnu-emacs@gnu.org
Subject: Re: Selection threshold with mouse
Date: Wed, 23 Jul 2014 09:27:01 +0900 (JST)	[thread overview]
Message-ID: <20140723.092701.78558799.tkk@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <jwvlhroddvd.fsf-monnier+gmane.emacs.help@gnu.org>

I am a little behind discussions.  To me for a first thought, to add
offset to click event on line 5116 of keyboard.c is a start.  I think
this is what Eli inferred.  However, I understand at the same time,
this leads mis-operation when follow hyperlink.

In regard to offset, reaction for drag (selection) matters more than
click.  If offset can be applied only for drag but click, hyperlink is
not concern.

on keyboard.c
 5114     if (part == ON_TEXT)
 5115   {
*5116    xret = XINT (x) - window_box_left (w, TEXT_AREA) + (FONT_WIDTH/2);
 5117     yret = wy - WINDOW_HEADER_LINE_HEIGHT (w);
 5118   }



  parent reply	other threads:[~2014-07-23  0:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-19  8:32 Selection threshold with mouse Tak Kunihiro
2014-07-19 17:31 ` Drew Adams
2014-07-19 23:52   ` Tak Kunihiro
2014-07-20  1:22     ` Stefan Monnier
2014-07-20  4:23       ` Eli Zaretskii
     [not found]       ` <mailman.5728.1405830249.1147.help-gnu-emacs@gnu.org>
2014-07-20 14:37         ` Stefan Monnier
2014-07-20 15:04           ` Eli Zaretskii
     [not found]           ` <mailman.5763.1405868682.1147.help-gnu-emacs@gnu.org>
2014-07-20 15:37             ` Stefan Monnier
2014-07-20 16:24               ` Eli Zaretskii
     [not found]               ` <mailman.5768.1405873481.1147.help-gnu-emacs@gnu.org>
2014-07-20 16:44                 ` Stefan Monnier
2014-07-20 17:21                   ` Eli Zaretskii
2014-07-21 14:20                     ` Stefan Monnier
2014-07-21 15:31                       ` Eli Zaretskii
2014-07-23  0:27       ` Tak Kunihiro [this message]
2014-07-25  8:41         ` Eli Zaretskii
2014-07-20  1:26     ` Michael Heerdegen
     [not found] ` <mailman.5704.1405791121.1147.help-gnu-emacs@gnu.org>
2014-07-19 18:26   ` Barry Margolin
2014-07-19 18:47     ` Eli Zaretskii
     [not found]     ` <<837g395gp2.fsf@gnu.org>
2014-07-19 19:41       ` Drew Adams

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

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

  git send-email \
    --in-reply-to=20140723.092701.78558799.tkk@misasa.okayama-u.ac.jp \
    --to=tkk@misasa.okayama-u.ac.jp \
    --cc=help-gnu-emacs@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 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.