emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change indentation of keyword lists/arrays


From: Juri Linkov
Subject: Re: Change indentation of keyword lists/arrays
Date: Wed, 20 Oct 2021 19:39:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> and that goes for
>
> '(:foo 2
>   :bar 2)
>
> too.  Function names can start with a : though, so in the () case,
> perhaps this is a heuristic we want to avoid?  I can't seeing anybody
> write
>
> (defun :foo (a)
>   a)
>
> though.

Please change the indentation of quoted lists.  It takes
too much time to manually delete excessive indentation
every time with C-d C-d C-d C-d C-d C-d C-d ... to turn such code:

  (memq this-command
        '(universal-argument universal-argument-more
                             digit-argument negative-argument))

to more readable:

  (memq this-command
        '(universal-argument universal-argument-more
          digit-argument negative-argument))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]