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#17768: 24.3; problem with two ruler-mode windows Date: Sun, 15 Jun 2014 19:17:54 +0300 Message-ID: <83r42quoy5.fsf@gnu.org> References: <84sin9n0kf.fsf@gmail.com> <539AA853.3050202@gmx.at> <83zjhfv3r9.fsf@gnu.org> <539DB726.1080908@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1402850214 29418 80.91.229.3 (15 Jun 2014 16:36:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2014 16:36:54 +0000 (UTC) Cc: andrea.rossetti@gmail.com, 17768@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 15 18:36:47 2014 Return-path: Envelope-to: geb-bug-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 1WwDQE-0007gX-OU for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 18:36:46 +0200 Original-Received: from localhost ([::1]:39300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwDEJ-0005OK-Hb for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 12:24:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwD9A-0005DG-E5 for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 12:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwD95-00067m-9L for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 12:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwD95-00067g-5Q for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 12:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WwD94-0002MW-As for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 12:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jun 2014 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17768-submit@debbugs.gnu.org id=B17768.14028490909006 (code B ref 17768); Sun, 15 Jun 2014 16:19:02 +0000 Original-Received: (at 17768) by debbugs.gnu.org; 15 Jun 2014 16:18:10 +0000 Original-Received: from localhost ([127.0.0.1]:48451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwD8E-0002LC-5L for submit@debbugs.gnu.org; Sun, 15 Jun 2014 12:18:10 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63737) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwD8B-0002Ke-HF for 17768@debbugs.gnu.org; Sun, 15 Jun 2014 12:18:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N7700A00X2LHF00@a-mtaout20.012.net.il> for 17768@debbugs.gnu.org; Sun, 15 Jun 2014 19:18:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7700ATEXA00D90@a-mtaout20.012.net.il>; Sun, 15 Jun 2014 19:18:01 +0300 (IDT) In-reply-to: <539DB726.1080908@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90403 Archived-At: > Date: Sun, 15 Jun 2014 17:09:26 +0200 > From: martin rudalics > CC: andrea.rossetti@gmail.com, 17768@debbugs.gnu.org > > > How else can column and row be measured, except from the window edge? > > From the left upper edge of the frame, just as the x-y-coordinates. A column is fundamentally window-related. It's not a coordinate, it's a place in the text, and frames don't display text. > At least that's apparently what the author of ruler mode thought. I'd prefer not to second-guess someone's misconceptions. > > I don't understand the confusion, but I went out and made it more > > clear anyway (r117242 on the emacs-24 branch). > > Thank you. But IIUC the reference to "window edge" is still missing > from the manual entry. The manual text explicitly talks about a column and row of text in a window, so I think it's clear enough. > > In general, one should stay away of columns when dealing with > > coordinates, since columns are measured in logical order, i.e. in a > > R2L line they are measured from the right edge of the window. But > > since in this case columns are just x coordinates measured in other > > units (and therefore calling them "columns" is a misnomer), I think > > it's OK in this case. > > This means that we shouldn't provide `posn-col-row' in the first place > which I'd consider the best solution. I see no reason to delete well established APIs, just because Emacs overgrew the time when they were named.