[Top][All Lists]

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

Re: Change indentation of keyword lists/arrays

From: Lars Ingebrigtsen
Subject: Re: Change indentation of keyword lists/arrays
Date: Thu, 21 Oct 2021 05:02:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> 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))

This style was added some time back, and is currently the recommended
way to get this indentation:

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

Heh.  But I see that doing the same for a vector signals an error:

[ :foo :zot

forward-sexp: Scan error: "Containing expression ends prematurely", 1, 1

(I'll open a bug report.)

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

reply via email to

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