From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Selection threshold with mouse Date: Sun, 20 Jul 2014 11:37:34 -0400 Organization: A noiseless patient Spider Message-ID: References: <20140719.173203.1998048028110686770.tak.kunihiro@gmail.com> <20140720.085224.514514587.tak.kunihiro@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405870825 21006 80.91.229.3 (20 Jul 2014 15:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jul 2014 15:40:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 20 17:40:18 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 1X8tDl-0005oU-6C for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jul 2014 17:40:17 +0200 Original-Received: from localhost ([::1]:58105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8tDk-0006Uk-QS for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jul 2014 11:40:16 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: mx05.eternal-september.org; posting-host="bd19462299dd32dcc7fc179ab8a1ae48"; logging-data="24294"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qByukUPaNQ+Dd9yi19Z6E" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:Xdq3WmosqkUPAM3yNMl0wTaDcjM= sha1:xbjhyewuhB3FylnsmwnVl7Sfokk= Original-Xref: usenet.stanford.edu gnu.emacs.help:206550 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:98822 Archived-At: > That's the "silly iteration" I had in mind: the 2nd part of this is > the tricky one, because all we know from posn-at-x-y and its ilk is > the pixel width of the object at the coordinates we pass to the > function; we don't know the coordinates where the object starts. Hmm... but don't the display matrices contain the needed info (i.e. the "left-pixel boundary position"), since it's needed to react to an expose event? > Actually, I disagree: every other GUI app I could try behaves like the > OP asked by default, so I see no reason for Emacs to offer an option > here. They do, but not for all operations. E.g. if you click on the rightmost pixel of a hyperlink, your browser will happily consider that the click was on the hyperlink, not on the position right after that one. Stefan