From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Selection threshold with mouse Date: Fri, 25 Jul 2014 11:41:16 +0300 Message-ID: <83bnsdkez7.fsf@gnu.org> References: <20140723.092701.78558799.tkk@misasa.okayama-u.ac.jp> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1406277713 8184 80.91.229.3 (25 Jul 2014 08:41:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2014 08:41:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 25 10:41:45 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 1XAb4R-0006Wx-9N for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 10:41:43 +0200 Original-Received: from localhost ([::1]:53612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAb4Q-0007zc-Pq for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 04:41:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAb40-0007zP-V2 for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 04:41:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAb3u-0006x3-EW for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 04:41:16 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:58788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAb3u-0006wt-69 for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 04:41:10 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N9900800E8A0M00@mtaout25.012.net.il> for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 11:36:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N990016KEKYXH70@mtaout25.012.net.il> for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 11:36:34 +0300 (IDT) In-reply-to: <20140723.092701.78558799.tkk@misasa.okayama-u.ac.jp> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 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:98944 Archived-At: > Date: Wed, 23 Jul 2014 09:27:01 +0900 (JST) > From: Tak Kunihiro > > 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. You cannot do that with a simple offset: it won't work in non-trivial situations like with the first character on a display line or between 2 characters of a very different size. Something more sophisticated and complex is required to do what you want. > In regard to offset, reaction for drag (selection) matters more than > click. I agree, but drag and click must be consistent, or else we will confuse the users.