all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-devel@gnu.org
Subject: Re: 2a73673 Change how thread-first/thread-last indent the first argument
Date: Wed, 06 Oct 2021 11:08:49 +0200	[thread overview]
Message-ID: <87bl42frku.fsf@gnus.org> (raw)
In-Reply-To: <875yubx3rj.fsf@alphapapa.net> (Adam Porter's message of "Tue, 05 Oct 2021 03:41:20 -0500")

Adam Porter <adam@alphapapa.net> writes:

> Another issue is that, since older Emacs versions persist in the wild
> for years, this will result in code changing indentation between Emacs
> versions: if someone submits a patch based on Emacs <28, it will have
> one indentation, and if the maintainer uses Emacs 28, it will have
> another indentation.

That's true of any indentation change, but we do make those, anyway.  In
Emacs 28 we changed how

'( foo
   bar)

is indented, and in Emacs 29 we've changed how cl-flet is indented.

(The first change probably didn't entail any churn because nobody wrote
something like that before, but the cl-flet one does introduce churn.)

So the question is whether the old indentation was a bug or not, and it
looks like a bug to me.  That is, the only documentation of the form we
have indents the way it does now (after the change).  On the other hand,
the documentation could be incorrect.

I don't really have much of an opinion here -- but the old indentation
looks like a bug to me.  If the thread-first/last community disagrees
with this, I'm open to reverting the patch.  Does anybody else have an
opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  parent reply	other threads:[~2021-10-06  9:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  6:58 2a73673 Change how thread-first/thread-last indent the first argument Adam Porter
2021-10-05  7:35 ` Lars Ingebrigtsen
2021-10-05  8:41   ` Adam Porter
2021-10-05 14:50     ` Basil L. Contovounesios
2021-10-06  9:08     ` Lars Ingebrigtsen [this message]
2021-10-06 10:27       ` Stefan Kangas
2021-10-06 11:32         ` Adam Porter
2021-10-06 10:49       ` Adam Porter

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=87bl42frku.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    /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.