From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.help Subject: Re: Selection threshold with mouse Date: Wed, 23 Jul 2014 09:27:01 +0900 (JST) Message-ID: <20140723.092701.78558799.tkk@misasa.okayama-u.ac.jp> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406075276 17296 80.91.229.3 (23 Jul 2014 00:27:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2014 00:27:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 23 02:27:49 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X9kPL-0001uV-Dk for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2014 02:27:47 +0200 Original-Received: from localhost ([::1]:42481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9kPK-0005Uw-Sm for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2014 20:27:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9kP3-0005Uh-9p for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 20:27:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9kOv-0001Gs-RI for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 20:27:29 -0400 Original-Received: from msmail2.misasa.okayama-u.ac.jp ([150.46.245.7]:54507 helo=msmail.misasa.okayama-u.ac.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9kOv-0001Gc-GN for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 20:27:21 -0400 Original-Received: from localhost (unknown [150.46.48.228]) by msmail.misasa.okayama-u.ac.jp (Postfix) with ESMTP id C610AAF806C for ; Wed, 23 Jul 2014 09:27:13 +0900 (JST) In-Reply-To: X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 150.46.245.7 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98916 Archived-At: 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 }