GNU bug report logs - #27926
25.2; Let arg REGION-NONCONTIGUOUS-P do more

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Wed, 2 Aug 2017 22:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Aug 2017 22:41:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 02 18:41:21 2017
Received: from localhost ([127.0.0.1]:39062 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dd2KO-0007If-TH
	for submit <at> debbugs.gnu.org; Wed, 02 Aug 2017 18:41:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1dd2KM-0007IS-Lt
 for submit <at> debbugs.gnu.org; Wed, 02 Aug 2017 18:41:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1dd2KG-00056o-KS
 for submit <at> debbugs.gnu.org; Wed, 02 Aug 2017 18:41:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36290)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1dd2KG-00056e-Hl
 for submit <at> debbugs.gnu.org; Wed, 02 Aug 2017 18:41:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38823)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1dd2KF-0000WU-5q
 for bug-gnu-emacs@HIDDEN; Wed, 02 Aug 2017 18:41:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1dd2KB-00053K-Ul
 for bug-gnu-emacs@HIDDEN; Wed, 02 Aug 2017 18:41:11 -0400
Received: from aserp1040.oracle.com ([141.146.126.69]:18715)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1dd2KB-00051U-Kp
 for bug-gnu-emacs@HIDDEN; Wed, 02 Aug 2017 18:41:07 -0400
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 v72Mf3eM022262
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 2 Aug 2017 22:41:04 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v72Mf2Jr021176
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 2 Aug 2017 22:41:03 GMT
Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v72Mf2Hr031164
 for <bug-gnu-emacs@HIDDEN>; Wed, 2 Aug 2017 22:41:02 GMT
MIME-Version: 1.0
Message-ID: <3a47bf01-7fcc-4eff-897f-b3ec66976887@default>
Date: Wed, 2 Aug 2017 15:41:01 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; Let arg REGION-NONCONTIGUOUS-P do more
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 12.0.6770.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0021.oracle.com [156.151.31.71]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
 [fuzzy]
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.5 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.5 (----)

In `replace.el', some replacment commands now accept optional arg
REGION-NONCONTIGUOUS-P, to allow replacement over the rectangular region
(really, over any list of dotted position pairs (START . END)).

Currently the arg is just a Boolean.  Please consider changing
the behavior of the commands in this way:

Let non-nil continue to mean the same thing: respect limits such as
those that are returned by the value of `region-extract-function'.
But allow two particular non-nil values to control that behavior in
different ways, instead of requiring that code use
`region-extract-function':

  * A function as arg value would mean use what that function returns
    instead of applying the function that is the value of
    `region-extract-function' to `bounds' and using what that returns.
    This can be handy in some contexts, just as binding
    `region-extract-function' can be handy in other contexts.

  * A non-function (i.e., non-lambda) list as arg value would be
    expected to have the form of a value that `region-extract-function'
    applied to `bounds' returns, and it would be used directly, instead
    of invoking `region-extract-function' to get the list of zone limits.
    This can be handy in still other contexts, where the limits might
    already be available - no need to bind `region-extract-function' to
    a function like (lambda (_ignore) THE-KNOWN-LIMITS).


In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
 of 2017-04-24 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2
 -static -g3''




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#27926; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.