From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33168: 26; Doc string of `region-bounds' Date: Sat, 27 Oct 2018 13:52:41 +0300 Message-ID: <8336sroe4m.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540637466 8724 195.159.176.226 (27 Oct 2018 10:51:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 10:51:06 +0000 (UTC) Cc: 33168-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 12:51:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMBH-00026b-5B for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 12:50:59 +0200 Original-Received: from localhost ([::1]:36004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGMDN-0005nP-Mt for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 06:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGMDG-0005nF-SV for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:53:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGMDG-0005Gy-5x for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:53:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGMDG-0005GP-0V for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGMDF-0001Od-V6 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:53:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2018 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 33168@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 33168-done@debbugs.gnu.org id=D33168.15406375765352 (code D ref 33168); Sat, 27 Oct 2018 10:53:01 +0000 Original-Received: (at 33168-done) by debbugs.gnu.org; 27 Oct 2018 10:52:56 +0000 Original-Received: from localhost ([127.0.0.1]:44616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMD9-0001OG-TL for submit@debbugs.gnu.org; Sat, 27 Oct 2018 06:52:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMD8-0001Ny-M1 for 33168-done@debbugs.gnu.org; Sat, 27 Oct 2018 06:52:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGMCy-00050h-Ri for 33168-done@debbugs.gnu.org; Sat, 27 Oct 2018 06:52:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGMCt-0004p8-EP; Sat, 27 Oct 2018 06:52:41 -0400 Original-Received: from [176.228.60.248] (port=3574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gGMCs-00032g-Px; Sat, 27 Oct 2018 06:52:39 -0400 In-reply-to: (message from Drew Adams on Fri, 26 Oct 2018 08:48:17 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:151669 Archived-At: > Date: Fri, 26 Oct 2018 08:48:17 -0700 (PDT) > From: Drew Adams > > Doc string: > > Return the boundaries of the region as a pair of positions. > Value is a list of cons cells of the form (START . END). > > Those two sentences are incompatible. Right; fixed. > Further, assuming that the second sentence is correct, something needs > to be said about what it means to be a boundary of the region. I said "something" about that. > Presumably, in the case of a contiguous region the return value is > ((BEG . END)), where BEG is the start of the region and END is the END. > But what if the region is noncontiguous? Something should be said > about what each (BEG . END) pair corresponds to (means). And about this. Thanks.