From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51892: 29.0.50; [PATCH] Don't ignore restriction in indent-region-line-by-line Date: Wed, 17 Nov 2021 19:19:10 +0100 Message-ID: <87y25mejc1.fsf@miha-pc> References: <87wnl8p8a0.fsf@miha-pc> <87r1bfnqsc.fsf@gnus.org> Reply-To: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12486"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51892@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 19:16:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnPTn-0002wi-S7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 19:16:20 +0100 Original-Received: from localhost ([::1]:38276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnPTm-0004Gb-O7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 13:16:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnPSY-0002rt-5Z for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 13:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnPSX-0005hM-RQ for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 13:15:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnPSX-0000wu-KY for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 13:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Nov 2021 18:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51892-submit@debbugs.gnu.org id=B51892.16371728813595 (code B ref 51892); Wed, 17 Nov 2021 18:15:01 +0000 Original-Received: (at 51892) by debbugs.gnu.org; 17 Nov 2021 18:14:41 +0000 Original-Received: from localhost ([127.0.0.1]:33880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnPSC-0000vv-Ux for submit@debbugs.gnu.org; Wed, 17 Nov 2021 13:14:41 -0500 Original-Received: from kamnitnik.top ([209.250.245.214]:59236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnPS9-0000vj-OF for 51892@debbugs.gnu.org; Wed, 17 Nov 2021 13:14:40 -0500 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id 6E1DE9CFA8; Wed, 17 Nov 2021 18:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1637172876; bh=BZzIUNHQIHkEzKKtbZpxzGSgkf69Cm1/WFsyKkX33l4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aq7GuAMKiyBzjvkTg0GlHlrkEw7XZ039D7mU6edx7wuk/KY8T7sqFCuItHUN7d3YY bj9XpGQAJZ8rHuV80p6g/drcOIFMoT6UUZLQijAukV0q7c5iMvJKsuh+GBEv1QthHE g7JSL9jRqD2Pd+4GpYXjaj+TUcm3B9mYnEhaBs5hBbBxyKzxx4/Yai82nI+3zOVj6P VG5ecq/XtBOjvDtY7zCfmv4SnxDbWEx6EsiwL4SZA2ApeXAlooZ6z5pW16qvRsABJc NXbDDhpd1PLNyOplo/u8q+K00BeKAMDf5Ibuj6nYIwzVWorjvNgvzxIAqrNn8fxZkN cpcNe/W8g1Z6g== In-Reply-To: <87r1bfnqsc.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220250 Archived-At: --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > miha@kamnitnik.top writes: > >> Emacs convention is that low-level functions should respect restriction >> so that their callers can set restriction according to their needs. For >> example, 'c-indent-region' is a lower-level function which respects the >> current restriction and 'indent-region' is a higher-level user command >> which sets the restriction for lower-level functions, it calls >> "(widen)". > > I think that makes sense, so I've pushed this to Emacs 29. (But I > renamed dont-widen to inhibit-widen, since I think that's what we're > calling arguments like this these days.) Thanks, but maybe you forgot to actually push to origin/master? I fetched it just now and the last commit touching indent.el was about two months ago. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmGVR54THG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP4VKD/0XPQfAawe2IaFcWhGwclK0Rq7EoAaZ hzEQbaeeQEICSm2KTk+RFh49c4qBEc2f8mGzvoStjp/f96cm/6e9WFbhIJqTS389 XeSK0vojEYiQz5ovqjw/Mc8I85HvaQn6Me9ds5P0r1y1cdSw9mQdFNWB8ZD9Ft3G HKXEcClN2fNAV1sO6DQzPqSjnC+bdRoFxbACu42V0BxZDc1RckVJJNP7SNFRx9lB IuiT9WC7rhgiDb/SfzFHMfKfxg+4OZieNWZk9cjS8icA0UBYSXyTQKd77AfnS1SC 8+QTd6o2FtJ3L0hus2dBgQa9Om0Moa2IngwQnww1H/PIaMr96+h5jAZzCMyBoMW+ 5mwcLQ8FCBZ5x2xaJRbrxfhZdyLShJNmSbuwsxkP+vidRh2ws+xXNshS05h3+Bye s6GFRQUJjYMQTbk07OZlyOoE3XagzHcG7TvajiSlRxhlxnwMq3MHoMSVRyCvofd9 w0OMlHjihCB393Y3ut61gfDznbItBtY4qAI+2PPqGRji1WuGH7fxPpqYmmoO8iaD UWBpBZbU3AvmHXLgj7sEQQieGPxxEZ0+qdtZiVdvt7cbop18d0FWmjUthvSeIW83 yCcPGz74txicfWznhavMiR//F7I1wss89DddSVhHWpsfRZN15lNfxi3Ads6sy7ZW 6WrunJH9kh4wXw== =PZPZ -----END PGP SIGNATURE----- --=-=-=--