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 21:02:13 +0200 Message-ID: <8362w1dp3e.fsf@gnu.org> References: <9C53EFF0802044A489EF842E6A1B8150@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1289675666 1064 80.91.229.12 (13 Nov 2010 19:14:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 19:14:26 +0000 (UTC) Cc: 7390@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 20:14:22 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 1PHLYL-0005ZK-GU for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 20:14:21 +0100 Original-Received: from localhost ([127.0.0.1]:48162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHLYK-0007it-M1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 14:14:20 -0500 Original-Received: from [140.186.70.92] (port=40211 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHLY5-0007f8-RL for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 14:14:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHLY1-0002RC-Ov for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 14:14:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHLY1-0002R8-MH for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 14:14:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHLJW-0004tw-0N; Sat, 13 Nov 2010 13:59: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 18:59:01 +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.128967469318831 (code B ref 7390); Sat, 13 Nov 2010 18:59:01 +0000 Original-Received: (at 7390) by debbugs.gnu.org; 13 Nov 2010 18:58:13 +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 1PHLIj-0004tg-Hq for submit@debbugs.gnu.org; Sat, 13 Nov 2010 13:58:13 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHLIh-0004tI-0z for 7390@debbugs.gnu.org; Sat, 13 Nov 2010 13:58:12 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LBU00L007DGFD00@a-mtaout22.012.net.il> for 7390@debbugs.gnu.org; Sat, 13 Nov 2010 21:02:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.249.126]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LBU00JRO7JJPSI0@a-mtaout22.012.net.il>; Sat, 13 Nov 2010 21:02:10 +0200 (IST) In-reply-to: <9C53EFF0802044A489EF842E6A1B8150@us.oracle.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 13:59: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:41563 Archived-At: > Resent-Sender: help-debbugs@gnu.org > From: "Drew Adams" > Date: Sat, 13 Nov 2010 09:55:15 -0800 > Cc: > > emacs -Q > > Load David Ponce's tabbar.el version 1.3, from here: > http://sourceforge.net/projects/emhacks/files/tabbar/1.3/tabbar-1.3.tar.gz/downl > oad > > M-x tabbar-mode > > That adds a tab bar to each window. I don't see anything in the > tabbar.el code that should perturb the behavior of pos-col-row, but > something does. I'm no expert on the tabbar code or pos-col-row. I > hope that someone can debug this and fix it. My guess is that > pos-col-row is incorrectly thinking that the tab bar is part of the > buffer. > > The easiest way to see the problem is to do this: > > M-x picture-mode > > Click mouse-1 somewhere - e.g. the fourth char in some buffer. The > result is that the cursor (point) is moved down one line from where you > clicked, so the active region shows from the click position to point > (one line down). As a matter of fact, this problem is present in Emacs 23.2 as well, and in the current pretest of Emacs 23.3. An easier way to reproduce is this: emacs -Q C-x b foo RET M-: (setq header-line-format "foo") RET M-x picture-mode RET Now type 2 lines of text, and click the mouse on the first line.