From unknown Wed Jun 18 23:10:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48790 <48790@debbugs.gnu.org> To: bug#48790 <48790@debbugs.gnu.org> Subject: Status: [PATCH] etc: indent-code.el: Remove any existing tabs. Reply-To: bug#48790 <48790@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:10:04 +0000 retitle 48790 [PATCH] etc: indent-code.el: Remove any existing tabs. reassign 48790 guix-patches submitter 48790 Tobias Geerinckx-Rice severity 48790 normal tag 48790 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 02 08:26:43 2021 Received: (at submit) by debbugs.gnu.org; 2 Jun 2021 12:26:43 +0000 Received: from localhost ([127.0.0.1]:39158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPxL-0007oH-IS for submit@debbugs.gnu.org; Wed, 02 Jun 2021 08:26:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:38740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPxJ-0007o8-QJ for submit@debbugs.gnu.org; Wed, 02 Jun 2021 08:26:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loPxJ-00012f-9O for guix-patches@gnu.org; Wed, 02 Jun 2021 08:26:41 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:48322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loPxF-0001P5-Mf for guix-patches@gnu.org; Wed, 02 Jun 2021 08:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=Deu8BVY/84kyS0sIujaucjDdpgTd6U6HjXLzZH1qEOI=; h=date:subject:to: from; b=P89twffdgX9htfIhtQCvoK7XEPy4l5ePD6i6ly6FrevAGN6Sn71sgvaz5bJ0Mb fZtGy/SCoYsZz6IU8OIf9uf1iQW2FaoinyvntwqAkTOg989t67t51n962pMJgBrQ4XV1h5 TGsFCSXnBYfnR9FY92Z9cE2ILDlGfW2uA+4fHdonR+j4xOSkV16CJXiIVOK2Qz0vTnYgZD lXxUnUDejMOG8bFcmboI28MtGZSUO0mCNPxBwpAkSgsvHQ4uQuDuoS+sLs2pWkX3eAsr+o /ZMqst/E1sFhFYp88SZENr0oMhbriP34Clh9ONzZNVLVdNX3xQxFefM2wTogWF4Us5aYHQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e970bfd8 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Wed, 2 Jun 2021 12:26:30 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] etc: indent-code.el: Remove any existing tabs. Date: Wed, 2 Jun 2021 14:26:40 +0200 Message-Id: <20210602122640.22368-1-me@tobias.gr> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * etc/indent-code.el (main): Call UNTABIFY on the sexp or entire buffer. --- etc/indent-code.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/indent-code.el b/etc/indent-code.el index 84b15b356f..bdea8ee8bf 100755 --- a/etc/indent-code.el +++ b/etc/indent-code.el @@ -99,6 +99,8 @@ nil t) (let ((indent-tabs-mode nil)) (beginning-of-defun) + (mark-sexp) + (untabify (point) (mark)) (indent-sexp) (save-buffer) (message "Done!")) @@ -108,6 +110,7 @@ ;; Indent all of FILE-NAME. (find-file file-name) (let ((indent-tabs-mode nil)) + (untabify (point-min) (point-max)) (indent-region (point-min) (point-max)) (save-buffer) (message "Done!"))) -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 05 17:18:36 2021 Received: (at 48790) by debbugs.gnu.org; 5 Jun 2021 21:18:36 +0000 Received: from localhost ([127.0.0.1]:50206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpdgi-0004w4-0J for submit@debbugs.gnu.org; Sat, 05 Jun 2021 17:18:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpdgg-0004vp-Ef for 48790@debbugs.gnu.org; Sat, 05 Jun 2021 17:18:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59534) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpdga-0003Iy-Qa; Sat, 05 Jun 2021 17:18:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53942 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpdga-0006Cb-Dz; Sat, 05 Jun 2021 17:18:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#48790: [PATCH] etc: indent-code.el: Remove any existing tabs. References: <20210602122640.22368-1-me@tobias.gr> Date: Sat, 05 Jun 2021 23:18:27 +0200 In-Reply-To: <20210602122640.22368-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Wed, 2 Jun 2021 14:26:40 +0200") Message-ID: <877dj8m2n0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48790 Cc: 48790@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: -3.3 (---) Hi, Tobias Geerinckx-Rice skribis: > * etc/indent-code.el (main): Call UNTABIFY on the sexp or entire buffer. Good idea, go for it! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 12 04:27:07 2021 Received: (at 48790-done) by debbugs.gnu.org; 12 Jun 2021 08:27:07 +0000 Received: from localhost ([127.0.0.1]:40329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lryyx-0000c9-7N for submit@debbugs.gnu.org; Sat, 12 Jun 2021 04:27:07 -0400 Received: from tobias.gr ([80.241.217.52]:44250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lryyv-0000c2-Ry for 48790-done@debbugs.gnu.org; Sat, 12 Jun 2021 04:27:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=/IWOXHrFfpaFQ+RnoMr5v9g+1YYbcqwuoUwJml83g30=; h=date:in-reply-to: subject:cc:to:from:references; b=RwXkepUSEplqCGWzrRTeJs4sUJCWbZLjdXTx/ gvym1CeWqeY2JwArMGfw+qOhz2x7NbbcAG/+WsnKIM8z+gRg0r3XkOMIFOX/tR4/8YbkmA lIFsdJd/waQP8hhiFZgM9/aDtamtORwngg+wL8XDTjvAq1AqFjC0NSBMQ8t7EEktk09opN ZazC0no799OqrPnMVQG2T1hdp9BEBXi+ru7d8bSDwnfgog4r1ldaew2AxPbadFu0UdUvm6 aEW5vs9VgFTghbkvcm9zZE6qH7djzza/WokwkPiBQ90mxMplOqRZZ0ZRgUIlR796CM8EPS NGz+KfMXRG2Njsj3KUlaNBqhw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e01c6c6d (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sat, 12 Jun 2021 08:27:02 +0000 (UTC) References: <20210602122640.22368-1-me@tobias.gr> <877dj8m2n0.fsf@gnu.org> From: Tobias Geerinckx-Rice To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48790: [PATCH] etc: indent-code.el: Remove any existing tabs. In-reply-to: <877dj8m2n0.fsf@gnu.org> BIMI-Selector: v=BIMI1; s=default; Date: Sat, 12 Jun 2021 10:27:41 +0200 Message-ID: <87bl8bzdvm.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48790-done Cc: 48790-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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A > Good idea, go for it! Thanks Ludo'! Pushed as 0b17dc4aaea85bf0e35184909914f81761fedf56. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYMRv/Q0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW151MgA/3fs6eLhxNfp83TIaF8EsfaMuZzYdIGZfCAZhSzZ 5WZ8AP4q8caQ9JeZUg8IPZBLy+JxhyfEPldN3BUBxxlaNGTWAw== =XvyK -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 23:10:04 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, 10 Jul 2021 11:24:07 +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