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#20169: 25.0.50; doc of `posn-actual-col-row' Date: Mon, 23 Mar 2015 18:36:45 +0200 Message-ID: <83r3sfr7qa.fsf@gnu.org> References: <5b520826-b1f7-4725-be30-8566a9599f72@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427128709 3229 80.91.229.3 (23 Mar 2015 16:38:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 16:38:29 +0000 (UTC) Cc: 20169-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 17:38:18 2015 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 1Ya5Mj-0006Fl-2X for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 17:38:13 +0100 Original-Received: from localhost ([::1]:57045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5Mi-0007bQ-I8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 12:38:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5Me-0007b2-Js for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya5MY-0005LK-FL for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:38:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5MY-0005LE-BL for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ya5MY-0003y4-5y for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:38:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Mar 2015 16:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20169@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 20169-done@debbugs.gnu.org id=D20169.142712863815187 (code D ref 20169); Mon, 23 Mar 2015 16:38:01 +0000 Original-Received: (at 20169-done) by debbugs.gnu.org; 23 Mar 2015 16:37:18 +0000 Original-Received: from localhost ([127.0.0.1]:34041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya5Lq-0003ws-9i for submit@debbugs.gnu.org; Mon, 23 Mar 2015 12:37:18 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:62643) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya5Lo-0003wd-4M for 20169-done@debbugs.gnu.org; Mon, 23 Mar 2015 12:37:17 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NLO00J00B6E7O00@a-mtaout23.012.net.il> for 20169-done@debbugs.gnu.org; Mon, 23 Mar 2015 18:36:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLO00JF5BHM4C60@a-mtaout23.012.net.il>; Mon, 23 Mar 2015 18:36:58 +0200 (IST) In-reply-to: <5b520826-b1f7-4725-be30-8566a9599f72@default> 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:100844 Archived-At: > Date: Sun, 22 Mar 2015 12:51:17 -0700 (PDT) > From: Drew Adams > Cc: 20169@debbugs.gnu.org > > > > Please add the information that is in the doc string to (elisp) > > > `Accessing Mouse'. This means both the reference information about what > > > happens if POSITION does not contain the actual position and the guide > > > information about using `posn-col-row' in that case. > > > > The first part is already there, isn't it? > > Do you mean this? > > The function returns `nil' if POSITION does not include actual > position values. > > I meant that the manual should include the information that is in > the last two paragraphs of the doc string: > > Return nil if POSITION does not contain the actual position; > in that case `posn-col-row' can be used to get approximate values. > POSITION should be a list of the form returned by the `event-start' > and `event-end' functions. > > This function does not account for the width on display, like the > number of visual columns taken by a TAB or image. If you need > the coordinates of POSITION in character units, you should use > `posn-col-row', not this function. > > This is a lot more (and more useful) information than just what > is in its first line: > > Return nil if POSITION does not contain the actual position; Right, fixed.