From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 26 11:48:47 2018 Received: (at submit) by debbugs.gnu.org; 26 Oct 2018 15:48:47 +0000 Received: from localhost ([127.0.0.1]:44265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gG4Lv-0005nV-Ha for submit@debbugs.gnu.org; Fri, 26 Oct 2018 11:48:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gG4Lt-0005nG-JL for submit@debbugs.gnu.org; Fri, 26 Oct 2018 11:48:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG4Ll-0006Al-7b for submit@debbugs.gnu.org; Fri, 26 Oct 2018 11:48:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gG4Lf-00063D-KU for submit@debbugs.gnu.org; Fri, 26 Oct 2018 11:48:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Le-00073n-RW for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 11:48:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG4LZ-0005wT-QZ for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 11:48:30 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:59340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gG4LY-0005nt-IA for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 11:48:25 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9QFiFTk137691 for ; Fri, 26 Oct 2018 15:48:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=xObu3bmCVh4GLa+hxHeeRp4d5dWKkPfXXqxufkIkipY=; b=XD+VACzGfITP/CHBO0NYqwq18VuwomFrz/7zD0emJ+U+TQ0D0dz7biQCYHj6qCMmLzeE NZt1kHMdMZ87zuVLx65EkPRhpHhcYYSi17Y0swawHA9bAMXtat4M1ymqKWQ7Xn1C+bLu So1TG8r+/SE3zQnmrHTkdL0lzkpJN2w4jlXiNJHlndtzs3nKtzBb83nJDfAuCFNxasUl qNCYDRbrUxsW4SVw68nzNsPiwRv3VqVWjGZiIgfWGXMlUIOsBv5jnqoAXD2TMccFtrbt tFyfd2ci0c0NsT3fUBTUfy7fs5T76yeSuRDk3v8KyoTCM8ttzZ+ce1pt+gbeKi+OGkB0 JQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2n7w0r80jf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 26 Oct 2018 15:48:20 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9QFmKaW014628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 26 Oct 2018 15:48:20 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9QFmJxS024279 for ; Fri, 26 Oct 2018 15:48:19 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 26 Oct 2018 08:48:17 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; Doc string of `region-bounds' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4756.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9057 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=803 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810260132 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. The first says that it returns a _single pair_ of positions: (START END) or (START . END). (It doesn't say what it means by "pair". If it means a cons then it should say so.) The second says that it returns a _list of such pairs_, that is, a list of conses of the form (START . END), where START and END are buffer positions. Further, assuming that the second sentence is correct, something needs to be said about what it means to be a boundary of the region. 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). In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 27 06:52:56 2018 Received: (at 33168-done) by debbugs.gnu.org; 27 Oct 2018 10:52:56 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 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 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 Date: Sat, 27 Oct 2018 13:52:41 +0300 Message-Id: <8336sroe4m.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Fri, 26 Oct 2018 08:48:17 -0700 (PDT)) Subject: Re: bug#33168: 26; Doc string of `region-bounds' References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33168-done Cc: 33168-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > 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. From unknown Thu Jun 19 14:09:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Nov 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator