From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNyzER15t2A1PQEAgWs5BA (envelope-from ) for ; Wed, 02 Jun 2021 14:27:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uF42DR15t2BxZwAA1q6Kng (envelope-from ) for ; Wed, 02 Jun 2021 12:27:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ABBA62E118 for ; Wed, 2 Jun 2021 14:27:08 +0200 (CEST) Received: from localhost ([::1]:51452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loPxj-0001Du-Fn for larch@yhetil.org; Wed, 02 Jun 2021 08:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loPxe-00019t-M4 for guix-patches@gnu.org; Wed, 02 Jun 2021 08:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loPxe-0001cr-D1 for guix-patches@gnu.org; Wed, 02 Jun 2021 08:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loPxe-0007ou-7c for guix-patches@gnu.org; Wed, 02 Jun 2021 08:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48790] [PATCH] etc: indent-code.el: Remove any existing tabs. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jun 2021 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48790 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48790@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162263680330029 (code B ref -1); Wed, 02 Jun 2021 12:27:02 +0000 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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622636828; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Deu8BVY/84kyS0sIujaucjDdpgTd6U6HjXLzZH1qEOI=; b=e7gXMVgj640kWHlx/kHFCy21zbiBkWzTsVTXp1KDalZhrpRqWi4z1jlqgFsZcdt18pqAim l60xJeaU8oZPd2Df0qF1w9gO11aV/VSJEiVJFtjbam4VoHg+PwXTpo6NH9KUit32zkh7kv sq18UaYClCI5gmwJY+LzyzqIOaSWoybcilQeISQ2x8+IV4nqmU1Vy40H60QLg6OAQQ0nY4 lw37+nFMyiMuk6eSHxsnXt2w2uE8eTNdeWWCKjkDr72wnzt/kAMlVXLQM9WDq9kPaXLGie ZXHt3QfquqnaYgeeqHmZ/15B+bmowfbZ+QZzrkz7gQTI6z9/zvMFx782RgmJjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622636828; a=rsa-sha256; cv=none; b=VntTfb9qsuZYqm1EpiiReEl2GI7ZpuF8xSQHdqO4vM9jabxYW5JubCUixe4iYnlVyB1XY+ X10saMTuL4VlzDiEYEQOrNJ7crQ8ncgKDM68UJ4gxqMxz58IjdLXf/oGKvtHIDZgIRB1j4 rom6LJcknXcN30iL39+ZNySHvslBBjncUHlPw1VNF/yIXvSEgrogFx+KMJwvIUeSj6BDc3 Tcagewd+oZsjYJEeOlBcL+1gs9ewV/hHpRMphaVjUde2dDIqGgophtZ2mw/0Pn/hi0zRcQ uoMAwuS4hbgBRumxz6gCzc6osxOgfeTgQNE8axOZvgk9buD3nUWPj/x2nK/sog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=P89twffd; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=P89twffd; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: ABBA62E118 X-Spam-Score: 1.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: GhRPv4Nzrx8Y * 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