From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 08:02:58 2021 Received: (at submit) by debbugs.gnu.org; 6 Dec 2021 13:02:58 +0000 Received: from localhost ([127.0.0.1]:60778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muDdy-0007hY-DR for submit@debbugs.gnu.org; Mon, 06 Dec 2021 08:02:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:40212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muDdx-0007hR-2R for submit@debbugs.gnu.org; Mon, 06 Dec 2021 08:02:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDdw-0008Sg-5K for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 08:02:56 -0500 Received: from [2a00:1450:4864:20::132] (port=41930 helo=mail-lf1-x132.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muDdt-0003OR-5V for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 08:02:55 -0500 Received: by mail-lf1-x132.google.com with SMTP id z21so3019454lfu.8 for ; Mon, 06 Dec 2021 05:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=hjEhO5CglprdplbXDUxMV+c39DnQSoX5FyQhvIljDOY=; b=cAoak8rOhiLpyTNACFyPToDfQiPwXdc8pX9T4REjihkVQCsS/KPkoNvrkS8RsG6E/u PFhUQjWUemM7Feao2ioTMmjeLcM1yld/QamcQVNrO3JEAkW/uiaAMuy8eCkaB4/JBJwz 801G1JmAPbzg9saU7VJypB5oGqiXjEpazq+d1kl09qFpqh0Y+0StajBT+BugfJOE9n1h nKvQcM+LrfyEP7gqocIa5+BY7A7ekQ2DCHMmeJqih0GY+v6LhJG4+7YhYe1UzbWlGnlL 30HJlXPiw10BJmhqD+PCsiMdOXktfKqRi+43+qJCE4zifo+UH8jh7ewxGOxC4Pngdxv8 ydVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hjEhO5CglprdplbXDUxMV+c39DnQSoX5FyQhvIljDOY=; b=B75KR3Z18Ps0k+8uu8+5LXQS6LGu7M31iYBOqgpTE2tBAnnHSidJsl2AxrOT+zeR8q ZXz2mTZSmEM/x9wdLlfC99Ss3WwV1MEC/mXzaNgT7yKmJXaUAa6ZmYN1UgXIGq8fkFWs 1gYRvJK00YyHhBJ1OatZNBq4dbMPqo9bpjvN0aX4dI+HuzhtsUrYQCtrLXrk/qnfdGHm E4v1OIPsdsEihPH7NpAlAqWMq5FEBSdLANw7hwRIfij5iWa5axK8hj2PWJGtKZVpuMhL eygtabsFgZK0NuLozyR5TzDPaSr5Aqpn12y62WTlv0XyUh4nqD7CBMnTvzefS1y84lnC VyVA== X-Gm-Message-State: AOAM530RzUgvIvMhKjCxmu2gs2DOtCZDAL9ud1ZlJGiWvYgx5+Nu24yC eiNPclPpVzUa4WCcu92vargwTGXOkuK61pQbMk7tNdnsATY= X-Google-Smtp-Source: ABdhPJxkR6WAoCqT2Gc7eUXJx+IYEqfHoxTfNSx2XtvztrIFOufMgr4M1l91eMi0aQdqRzj2x3RW0/1KDqOR/ZE/qvA= X-Received: by 2002:a05:6512:1087:: with SMTP id j7mr35466028lfg.345.1638795767029; Mon, 06 Dec 2021 05:02:47 -0800 (PST) MIME-Version: 1.0 From: Fredrik Bergroth Date: Mon, 6 Dec 2021 14:02:35 +0100 Message-ID: Subject: Fix alignment of makefile-backslash-region To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="0000000000008dfea105d279df24" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::132 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=fbergroth@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.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: -2.3 (--) --0000000000008dfea105d279df24 Content-Type: multipart/alternative; boundary="0000000000008dfea005d279df22" --0000000000008dfea005d279df22 Content-Type: text/plain; charset="UTF-8" Hi, `makefile-backslash-region' is inserting tabs rather than spaces (due to the major mode setting indent-tabs-mode). The backslashes won't align properly (unless everyone agrees on a tab-width). I attached a patch that fixes this. Cheers! --0000000000008dfea005d279df22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

`makefile-backslash-region' is inserting ta= bs rather than spaces (due to the major mode setting indent-tabs-mode).
= The backslashes won't align properly (unless everyone agrees on a tab-w= idth). I attached a patch that fixes this.

Cheers!
--0000000000008dfea005d279df22-- --0000000000008dfea105d279df24 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Fix-alignment-of-makefile-backslash-region.patch" Content-Disposition: attachment; filename="0001-Fix-alignment-of-makefile-backslash-region.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kwuoil750 RnJvbSA1NDA5ZmVjOWU0NDVlYjY5MDM3ZTA0Yjg2YTFmYzQ1N2QxNzU5NjEwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGcmVkcmlrIEJlcmdyb3RoIDxmYmVyZ3JvdGhAZ21haWwuY29t PgpEYXRlOiBNb24sIDYgRGVjIDIwMjEgMTM6NDc6MDEgKzAxMDAKU3ViamVjdDogW1BBVENIXSBG aXggYWxpZ25tZW50IG9mIG1ha2VmaWxlLWJhY2tzbGFzaC1yZWdpb24KCiogbGlzcC9wcm9nbW9k ZXMvbWFrZS1tb2RlLmVsIChtYWtlZmlsZS1hcHBlbmQtYmFja3NsYXNoKTogRW5zdXJlCmBpbmRl bnQtdG8nIHdpbGwgdXNlIHNwYWNlcy4KLS0tCiBsaXNwL3Byb2dtb2Rlcy9tYWtlLW1vZGUuZWwg fCAxNiArKysrKysrKystLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgOSBpbnNlcnRpb25zKCspLCA3 IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL21ha2UtbW9kZS5lbCBi L2xpc3AvcHJvZ21vZGVzL21ha2UtbW9kZS5lbAppbmRleCBkZjE3Yjg3YzAxLi5iMmUyZDhiNjVj IDEwMDY0NAotLS0gYS9saXNwL3Byb2dtb2Rlcy9tYWtlLW1vZGUuZWwKKysrIGIvbGlzcC9wcm9n bW9kZXMvbWFrZS1tb2RlLmVsCkBAIC0xMjI0LDEzICsxMjI0LDE1IEBAIG1ha2VmaWxlLWJhY2tz bGFzaC1yZWdpb24KIAogKGRlZnVuIG1ha2VmaWxlLWFwcGVuZC1iYWNrc2xhc2ggKGNvbHVtbikK ICAgKGVuZC1vZi1saW5lKQotICA7OyBOb3RlIHRoYXQgIlxcXFwiIGlzIG5lZWRlZCB0byBnZXQg b25lIGJhY2tzbGFzaC4KLSAgKGlmICg9IChwcmVjZWRpbmctY2hhcikgP1xcKQotICAgICAgKHBy b2duIChmb3J3YXJkLWNoYXIgLTEpCi0gICAgICAgICAgICAgKGRlbGV0ZS1ob3Jpem9udGFsLXNw YWNlKQotICAgICAgICAgICAgIChpbmRlbnQtdG8gY29sdW1uIChpZiBtYWtlZmlsZS1iYWNrc2xh c2gtYWxpZ24gbmlsIDEpKSkKLSAgICAoaW5kZW50LXRvIGNvbHVtbiAoaWYgbWFrZWZpbGUtYmFj a3NsYXNoLWFsaWduIG5pbCAxKSkKLSAgICAoaW5zZXJ0ICJcXCIpKSkKKyAgOzsgRW5zdXJlIGBp bmRlbnQtdG8nIHdpbGwgdXNlIHNwYWNlcy4KKyAgKGxldCAoKGluZGVudC10YWJzLW1vZGUgbmls KSkKKyAgICA7OyBOb3RlIHRoYXQgIlxcXFwiIGlzIG5lZWRlZCB0byBnZXQgb25lIGJhY2tzbGFz aC4KKyAgICAoaWYgKD0gKHByZWNlZGluZy1jaGFyKSA/XFwpCisgICAgICAgIChwcm9nbiAoZm9y d2FyZC1jaGFyIC0xKQorICAgICAgICAgICAgICAgKGRlbGV0ZS1ob3Jpem9udGFsLXNwYWNlKQor ICAgICAgICAgICAgICAgKGluZGVudC10byBjb2x1bW4gKGlmIG1ha2VmaWxlLWJhY2tzbGFzaC1h bGlnbiBuaWwgMSkpKQorICAgICAgKGluZGVudC10byBjb2x1bW4gKGlmIG1ha2VmaWxlLWJhY2tz bGFzaC1hbGlnbiBuaWwgMSkpCisgICAgICAoaW5zZXJ0ICJcXCIpKSkpCiAKIChkZWZ1biBtYWtl ZmlsZS1kZWxldGUtYmFja3NsYXNoICgpCiAgIChlbmQtb2YtbGluZSkKLS0gCjIuMTcuMQoK --0000000000008dfea105d279df24-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 08:54:55 2021 Received: (at 52329) by debbugs.gnu.org; 6 Dec 2021 13:54:55 +0000 Received: from localhost ([127.0.0.1]:60885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muESF-0002u0-Fa for submit@debbugs.gnu.org; Mon, 06 Dec 2021 08:54:55 -0500 Received: from mail-pl1-f175.google.com ([209.85.214.175]:38715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muESD-0002tn-TA for 52329@debbugs.gnu.org; Mon, 06 Dec 2021 08:54:54 -0500 Received: by mail-pl1-f175.google.com with SMTP id o14so7102245plg.5 for <52329@debbugs.gnu.org>; Mon, 06 Dec 2021 05:54:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=e4wGU9rsNeDpTRYDLi0Es5U9piwHcfCNxecHOvF0Y6w=; b=NF+jdiAjMM6LhWBwgIQSQivd6ohIWCOGe8E9VcT5sLYkUVfl/1309DpqCS4NS434O+ PSbBEruNz9Z1HSe3GJshszJDwS7DHiZeTgngm8YfIx1HkwpjqhmCpBhJLBJEildUViKI sT5j9Z/wYYgdq0xXKZMIV0SVlOnf+Pj6dcqLaGDevzm6+269GsbUHywYv1ahhmXads4O BM1VJLT4w1Zl1vcJOIBtYluc4McwVYVDUPau2rJInOd/w+3/iFlBYbeud9Z7FK6YWh5t fbYw5JCuzzipSFpcur2TrcSp9TaqlbkNfwHZphhbyyCxiaidG4YjvwtIX28dzsQxxQck cp2w== X-Gm-Message-State: AOAM531Y9v1dQ9Sw5qOEy1RYKY6vDu0wxrStSGghoGnZshYUzHaJPQNE YP6Mygmqfk8snXakqZYIJ9nH5rS6jKoMJno1l0I= X-Google-Smtp-Source: ABdhPJxLPmEcP0pSZNHRj7CP0/bqwUjp/3yOtiBuNEwtY8vq0OzpQRBI7BrJVWkj5ms29U3hu9FQn00eOlQ+9tAfr70= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr37240053pjs.133.1638798888013; Mon, 06 Dec 2021 05:54:48 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 6 Dec 2021 14:54:47 +0100 From: Stefan Kangas In-Reply-To: (Fredrik Bergroth's message of "Mon, 6 Dec 2021 14:02:35 +0100") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Mon, 6 Dec 2021 14:54:47 +0100 Message-ID: Subject: Re: bug#52329: Fix alignment of makefile-backslash-region To: Fredrik Bergroth Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 52329 Cc: 52329@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: -0.5 (/) Fredrik Bergroth writes: > `makefile-backslash-region' is inserting tabs rather than spaces (due to the major mode setting indent-tabs-mode). > The backslashes won't align properly (unless everyone agrees on a tab-width). I attached a patch that fixes this. Thanks for the patch. Could you provide a recipe to reproduce this problem, preferably starting from "emacs -Q"? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 09:07:36 2021 Received: (at 52329) by debbugs.gnu.org; 6 Dec 2021 14:07:37 +0000 Received: from localhost ([127.0.0.1]:60912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muEeW-0003Fp-Mf for submit@debbugs.gnu.org; Mon, 06 Dec 2021 09:07:36 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:37723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muEeU-0003Fc-8m for 52329@debbugs.gnu.org; Mon, 06 Dec 2021 09:07:35 -0500 Received: by mail-lf1-f46.google.com with SMTP id c32so25612244lfv.4 for <52329@debbugs.gnu.org>; Mon, 06 Dec 2021 06:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h1gWg3MgwSJt5sO36UHanBN+vQQGl3ulziLHhMBnuTA=; b=Sq1VV9RjwF+th1fPwXJ9LS4jsPAYbqTcHkLvMi+GMeSqBRXicXbYygQ+AoFgXGW1Sf FxMCZiYlqsp5nOvufctU4K3GY2Sn63qGm40hxOR9rrdITiPLZ5PZWlPTV/2mUvx54l9o bErCiSzLAQEJsNvDEZ1ZRouz+5msQc3yUzL68uffbHvQH+OVEiy/fuM3PuSi/Vi3cxRK IqIq9bdtLez+/uQCoeYL1bfndB2Q8y0N2tjacKz4jriM1ExcepGWVQn9VsvR0aIYv0eT ZGJbDl6q3WGxKXxsLyAmnJgMhQwEuhJpOzxW3d6WipNjyxyJZNrpDEw+o+mhegoC1S8N rkuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h1gWg3MgwSJt5sO36UHanBN+vQQGl3ulziLHhMBnuTA=; b=uczuF4VrpxwUGGmhEpA3QJDYLyJQt0TrPVqhkFj6DJ6sYCAH8BzkzfqkvM1Hyyc9/X zv0UcmHUR/2OSAhsLwlEyoufagnlxsRXH7hNuAXXaUgUglds6KysXVWqLQGRNrcATP9D 6iY6hEFQDdSaJiIUFmkW+FB8L+Pxmrpsp3M3XQeyePFtGsfCL9dXJMZfmIe+3WTYGv3u wM+rpI4lPe9kZPrOmlUQOzvzl2XwoWlzlNpA1MEiSjqxwBxUHlcTzpby/6SIpRcY1HJp lBf3zpmhFe2cdOQlIsL+4/EvUMaAC+rEANn33iO94BwOrO5dKYnODwSMYI5tnL+8CUt+ 75rA== X-Gm-Message-State: AOAM531P/rce86Mdqk0L7r7N1oCGMENIt8ETfz74gOLIQAHjG/27dTSQ LKmLCR1ulZVFRQsqrmexSzP+DoS/krnSx4AA3lE= X-Google-Smtp-Source: ABdhPJznj8nfHUGsNR6GOt2Oypr5UHUsCJoOb8fw42jviggGCVrkGKmQQyuYSoGeYQ97x2cxdYoPN+L6pIpU5FQS39k= X-Received: by 2002:ac2:4e0d:: with SMTP id e13mr35609086lfr.388.1638799648322; Mon, 06 Dec 2021 06:07:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Fredrik Bergroth Date: Mon, 6 Dec 2021 15:07:17 +0100 Message-ID: Subject: Re: bug#52329: Fix alignment of makefile-backslash-region To: Stefan Kangas Content-Type: multipart/alternative; boundary="000000000000e5785e05d27ac630" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52329 Cc: 52329@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 (-) --000000000000e5785e05d27ac630 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure! emacs -Q --eval '(makefile-mode)' --eval '(insert "a\nbbbbb\ncc")' --eval '(mark-whole-buffer)' --eval "(call-interactively 'makefile-backslash-region)" This will end up with a bunch of tabs (rather than spaces) after the "a" and the b:s. If you now change tab-width to 2, the backslashes won't align. Den m=C3=A5n 6 dec. 2021 kl 14:54 skrev Stefan Kangas : > Fredrik Bergroth writes: > > > `makefile-backslash-region' is inserting tabs rather than spaces (due t= o > the major mode setting indent-tabs-mode). > > The backslashes won't align properly (unless everyone agrees on a > tab-width). I attached a patch that fixes this. > > Thanks for the patch. > > Could you provide a recipe to reproduce this problem, preferably > starting from "emacs -Q"? > --000000000000e5785e05d27ac630 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure!

emacs -Q --eval '(= makefile-mode)' --eval '(insert "a\nbbbbb\ncc")' --ev= al '(mark-whole-buffer)' --eval "(call-interactively 'make= file-backslash-region)"

This will end up with= a bunch of tabs (rather than spaces) after the "a" and the b:s. = If you now change tab-width to 2, the backslashes won't align.

Den m=C3=A5n 6 dec. 2021 kl 14:54 skrev Stefan Kangas <stefan@marxist.se>:
Fredrik Bergroth <fbergroth@gmail.com> writes:

> `makefile-backslash-region' is inserting tabs rather than spaces (= due to the major mode setting indent-tabs-mode).
> The backslashes won't align properly (unless everyone agrees on a = tab-width). I attached a patch that fixes this.

Thanks for the patch.

Could you provide a recipe to reproduce this problem, preferably
starting from "emacs -Q"?
--000000000000e5785e05d27ac630-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 09:10:44 2021 Received: (at control) by debbugs.gnu.org; 7 Dec 2021 14:10:44 +0000 Received: from localhost ([127.0.0.1]:36857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mubB6-0006S0-Bs for submit@debbugs.gnu.org; Tue, 07 Dec 2021 09:10:44 -0500 Received: from mail-pj1-f53.google.com ([209.85.216.53]:41895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mubB4-0006RY-Vf for control@debbugs.gnu.org; Tue, 07 Dec 2021 09:10:43 -0500 Received: by mail-pj1-f53.google.com with SMTP id gx15-20020a17090b124f00b001a695f3734aso2825512pjb.0 for ; Tue, 07 Dec 2021 06:10:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=iCVQw3YxCslrkNZOfO1wJp5jFQYS1iCDN7wIpyGjuvk=; b=TicZCOXT8syDpU3R66lCF7bWel9YBjTIKbLmRRqn5mAll6WmshS/bbPoQaQ2F7k8we 56U0/tOq+MPQB/wBp1EV1niwsYmctdswlQ6+w2S/F4awtN1kFso8tsfeuMLZV/q7N/0Y Cpmi2/2T2WUeIQyxD5UrIlSeUiQuGF1iqc7sao3RvPmRZE0tOERjOFF9uEfUWd1DOO60 9wgOfaoVnSk7cJnC1qLiGWmjmKdnFYTH33/RjRJHXymqSqTHf5JvhCnKS8wwXwyh6ny0 K0VpCprAnj7PSXiyya6/L2/jeanMJLx3nS49qwYFhHHmBv9x0fYFAni8gw1i+Ymxtpvy 2RrQ== X-Gm-Message-State: AOAM5307lslnxdzi5Q2s8gjitSlW3uWPTlofXb5n7YUj4joUSvO5gLlF Ctfhlv7DI2+mgcUgJQUmz4bMq9ZpkrbcPjPf+byiiz1I X-Google-Smtp-Source: ABdhPJzKP3VU3bqVhTo0YPUpOlHo4T9LEs9ucNNAsos0+qceJ0roJRi2nZap6Q+2x9aFe/krUxzIC5ZuqdKxjOyCriQ= X-Received: by 2002:a17:90b:1e0e:: with SMTP id pg14mr6826110pjb.143.1638886237432; Tue, 07 Dec 2021 06:10:37 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 7 Dec 2021 15:10:37 +0100 From: Stefan Kangas MIME-Version: 1.0 Date: Tue, 7 Dec 2021 15:10:37 +0100 Message-ID: Subject: control message for bug #52329 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control 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: -0.5 (/) tags 52329 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 08 10:32:37 2022 Received: (at 52329) by debbugs.gnu.org; 8 Sep 2022 14:32:37 +0000 Received: from localhost ([127.0.0.1]:59813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIa5-0002h0-K2 for submit@debbugs.gnu.org; Thu, 08 Sep 2022 10:32:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIa4-0002gm-AQ for 52329@debbugs.gnu.org; Thu, 08 Sep 2022 10:32:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iBkWx8/Be9eqpoLApcnssLtnhcWA5ua4U+er91YWDtw=; b=jUwsvm9Uhqn4JbLV2XcC3I4bB2 r382wFNKkOVFHDasZl+oMEXZu77tIHkE4IObgqWnMaub2SDO2Upe1DK3C1/RxuL5bnUCSa68uzp2c xAo3uxYyPw7uvwytp/YP8NV5sgZEU71ftFgmBfai0o/eB3jOdhGt/3HoXz3x99Ci/56E=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWIZv-0003Xd-Mc; Thu, 08 Sep 2022 16:32:29 +0200 From: Lars Ingebrigtsen To: Fredrik Bergroth Subject: Re: bug#52329: Fix alignment of makefile-backslash-region In-Reply-To: (Fredrik Bergroth's message of "Mon, 6 Dec 2021 15:07:17 +0100") References: X-Now-Playing: Blectum From Blechdom's _DeepBone_: "Da Donk" Date: Thu, 08 Sep 2022 16:32:25 +0200 Message-ID: <87a67ax7gm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Fredrik Bergroth writes: > emacs -Q --eval '(makefile-mode)' --eval '(insert "a\nbbbbb\ncc")' --eval ' > (mark-whole-buffer)' --eval "(call-interactively 'makefile-backslash-region)" > > This will end up with a bunch of tabs [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52329 Cc: 52329@debbugs.gnu.org, Stefan Kangas 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 (---) Fredrik Bergroth writes: > emacs -Q --eval '(makefile-mode)' --eval '(insert "a\nbbbbb\ncc")' --eval ' > (mark-whole-buffer)' --eval "(call-interactively 'makefile-backslash-region)" > > This will end up with a bunch of tabs (rather than spaces) after the > "a" and the b:s. If you now change tab-width to 2, the backslashes > won't align. (I'm going through old bug reports that unfortunately weren't resolved at the time.) The advantage of using TABs for alignment here, though, is that if you then adjust some of the text slightly, you won't need to adjust the alignment. Which is much more common than altering tab-width, so I don't think we want to do this change, and I'm therefore closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 08 10:32:41 2022 Received: (at control) by debbugs.gnu.org; 8 Sep 2022 14:32:41 +0000 Received: from localhost ([127.0.0.1]:59816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIa8-0002hG-RK for submit@debbugs.gnu.org; Thu, 08 Sep 2022 10:32:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIa7-0002gr-PH for control@debbugs.gnu.org; Thu, 08 Sep 2022 10:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eM9AYtMHloGRvMB0XxPXIiPxy6c+5ebc7hD9ANBA8c0=; b=IGP4ZeL53DbR2H7U0MuRM1ie1D sj4gNg850xwr7dFCkR4+VfujfzKB3xsgmFKMs+c3zVN17DjisQ2/VouekoOmcxQoqRZ5xsAXxgktl xb3mVMdNrWtcqH8QUnCNpdFrTDx6JUrchHqw4lJFzAvW8yo6moFaJWwXcnsosa/FeujM=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWIa0-0003Xo-8Q for control@debbugs.gnu.org; Thu, 08 Sep 2022 16:32:34 +0200 Date: Thu, 08 Sep 2022 16:32:31 +0200 Message-Id: <878rmux7gg.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52329 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 52329 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 52329 quit From unknown Sat Jun 21 03:29:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Oct 2022 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