From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21231: 25.0.50; doc string of `marker-position' Date: Mon, 10 Aug 2015 08:48:24 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1439221835 26053 80.91.229.3 (10 Aug 2015 15:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2015 15:50:35 +0000 (UTC) To: 21231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 17:50:21 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 1ZOpL8-0003ND-2Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2015 17:50:18 +0200 Original-Received: from localhost ([::1]:59033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpL7-0007La-Ic for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2015 11:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpKy-0007I2-6T for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:50:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOpKt-0003Hd-7E for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:50:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpKt-0003HC-3w for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZOpKs-0001Qt-SS for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Aug 2015 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14392217475431 (code B ref -1); Mon, 10 Aug 2015 15:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Aug 2015 15:49:07 +0000 Original-Received: from localhost ([127.0.0.1]:52341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOpJy-0001PW-Tt for submit@debbugs.gnu.org; Mon, 10 Aug 2015 11:49:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37863) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOpJw-0001PI-IY for submit@debbugs.gnu.org; Mon, 10 Aug 2015 11:49:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOpJs-0002i1-1E for submit@debbugs.gnu.org; Mon, 10 Aug 2015 11:49:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpJr-0002hx-V1 for submit@debbugs.gnu.org; Mon, 10 Aug 2015 11:48:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpJr-0006V1-2S for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:48:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOpJo-0002hY-Ad for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:48:59 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:32105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOpJo-0002hA-4s for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2015 11:48:56 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7AFmsv7031634 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 10 Aug 2015 15:48:54 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7AFmsj6022434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 10 Aug 2015 15:48:54 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t7AFms8L005470 for ; Mon, 10 Aug 2015 15:48:54 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: 208.118.235.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:105391 Archived-At: The doc string is misleading or confusing. Please follow what is said in the Elisp manual. The doc string says: Return the position MARKER points at, as a character number. Character number? What is that? It either means nothing or it means something we don't want to convey here: the integer value of a character. The Emacs way of talking about this is to refer to it as a "buffer position". It is a positive integer. The manual just says "position". If you want to add that it is a positive integer, fine. And it would be better if the first line indicated the nil possibility. Something like: Return position of MARKER, or nil if it points nowhere. If a position, it is a positive integer. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1'