From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52329: Fix alignment of makefile-backslash-region Date: Thu, 08 Sep 2022 16:32:25 +0200 Message-ID: <87a67ax7gm.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30405"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52329@debbugs.gnu.org, Stefan Kangas To: Fredrik Bergroth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 16:33:51 2022 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 1oWIbH-0007fI-08 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 16:33:51 +0200 Original-Received: from localhost ([::1]:35120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWIbF-0005RA-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 10:33:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWIaU-0005PX-Ob for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 10:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWIaU-0006n9-GR for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWIaU-0002ho-Br for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2022 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52329-submit@debbugs.gnu.org id=B52329.166264755710358 (code B ref 52329); Thu, 08 Sep 2022 14:33:02 +0000 Original-Received: (at 52329) by debbugs.gnu.org; 8 Sep 2022 14:32:37 +0000 Original-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 Original-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=; Original-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 In-Reply-To: (Fredrik Bergroth's message of "Mon, 6 Dec 2021 15:07:17 +0100") X-Now-Playing: Blectum From Blechdom's _DeepBone_: "Da Donk" 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:241915 Archived-At: 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.