unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Matt Armstrong <matt@rfc20.org>, "T.V Raman" <raman@google.com>,
	emacs-devel@gnu.org
Subject: Re: Indent lisp files on save -- How?
Date: Tue, 22 Nov 2022 23:41:55 -0800	[thread overview]
Message-ID: <CADwFkmnxm6Og7CvLBtEBy22cGyNwbH8B0oshVbWNhd6NcOoBDw@mail.gmail.com> (raw)
In-Reply-To: <87sfia9q80.fsf@rfc20.org>

Matt Armstrong <matt@rfc20.org> writes:

> "T.V Raman" <raman@google.com> writes:
>
>> I'm somewhat surprized I've never setup the above for emacs-lisp or
>> Common-Lisp in all these years.
>
> For Emacs Lisp, I don't think there is a good "format on save"
> implementation.

FWIW, I use `aggressive-indent' (on GNU ELPA), but I do have to disable
it every now and then to avoid getting massive diffs all the time.

It unfortunately also doesn't always play very well with `nameless', but
that is a more general problem.



  reply	other threads:[~2022-11-23  7:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21  3:31 Indent lisp files on save -- How? T.V Raman
2022-11-23  5:47 ` Matt Armstrong
2022-11-23  7:41   ` Stefan Kangas [this message]
2022-11-23 12:47   ` Eli Zaretskii
2022-11-23 17:01     ` T.V Raman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CADwFkmnxm6Og7CvLBtEBy22cGyNwbH8B0oshVbWNhd6NcOoBDw@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=matt@rfc20.org \
    --cc=raman@google.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).