all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Fredrik Bergroth <fbergroth@gmail.com>
Cc: 52329@debbugs.gnu.org, Stefan Kangas <stefan@marxist.se>
Subject: bug#52329: Fix alignment of makefile-backslash-region
Date: Thu, 08 Sep 2022 16:32:25 +0200	[thread overview]
Message-ID: <87a67ax7gm.fsf@gnus.org> (raw)
In-Reply-To: <CAEgW6ZRCotN7v3NnQszFywZJSAzJb6+who7_+0-oaGjPPA8tsA@mail.gmail.com> (Fredrik Bergroth's message of "Mon, 6 Dec 2021 15:07:17 +0100")

Fredrik Bergroth <fbergroth@gmail.com> 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.





      reply	other threads:[~2022-09-08 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 13:02 bug#52329: Fix alignment of makefile-backslash-region Fredrik Bergroth
2021-12-06 13:54 ` Stefan Kangas
2021-12-06 14:07   ` Fredrik Bergroth
2022-09-08 14:32     ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a67ax7gm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=52329@debbugs.gnu.org \
    --cc=fbergroth@gmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.