From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7390: 24.0.50; pos-col-row gives incorrect row Date: Sat, 13 Nov 2010 23:21:16 +0200 Message-ID: <831v6oex83.fsf@gnu.org> References: <9C53EFF0802044A489EF842E6A1B8150@us.oracle.com> <8362w1dp3e.fsf@gnu.org> <87eiapkjv9.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1289684711 4855 80.91.229.12 (13 Nov 2010 21:45:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 21:45:11 +0000 (UTC) Cc: 7390@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 22:45:06 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PHNuD-0003uR-RG for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 22:45:06 +0100 Original-Received: from localhost ([127.0.0.1]:59642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHNuC-0008Qo-PG for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 16:45:04 -0500 Original-Received: from [140.186.70.92] (port=39327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHNtO-0007nH-7m for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 16:44:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHNtF-0003Wy-Pe for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 16:44:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHNtF-0003Ws-Nx for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 16:44:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHNT4-0005rd-1H; Sat, 13 Nov 2010 16:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Nov 2010 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7390-submit@debbugs.gnu.org id=B7390.128968299622528 (code B ref 7390); Sat, 13 Nov 2010 21:17:02 +0000 Original-Received: (at 7390) by debbugs.gnu.org; 13 Nov 2010 21:16:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHNSd-0005rJ-LZ for submit@debbugs.gnu.org; Sat, 13 Nov 2010 16:16:35 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHNSb-0005rE-MO for 7390@debbugs.gnu.org; Sat, 13 Nov 2010 16:16:34 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LBU00K00DQQ3900@a-mtaout20.012.net.il> for 7390@debbugs.gnu.org; Sat, 13 Nov 2010 23:21:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.249.126]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LBU00ICEDZ80RP0@a-mtaout20.012.net.il>; Sat, 13 Nov 2010 23:21:10 +0200 (IST) In-reply-to: <87eiapkjv9.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 13 Nov 2010 16:17:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41579 Archived-At: > From: Chong Yidong > Cc: Drew Adams , 7390@debbugs.gnu.org > Date: Sat, 13 Nov 2010 16:13:14 -0500 > > I've checked a fix for picture-mouse-set-point into the emacs-23 branch. > > The underlying situation is currently somewhat unsatisfactory---the > pixel position of a mouse-event in the text area counts X from the start > of the text area (excluding margins and fringes), and Y from the top of > the window (including the header line). > > This arises from some internal redisplay engine semantics, and is not > really intuitive. Rightfully, the header-line should be excluded from > the pixel Y coordinates. It's not feasible to change this for Emacs 23, > since existing code might depend on the current behavior. But we can > contemplate changing this in Emacs 24. I could revert my change to emacs-23 branch and install it on the trunk instead. (Although I cannot see how this could hurt existing code -- did you see Lisp code that actually depends on this?)