[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
:bar]
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
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Adam Porter, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Madhu, 2021/10/10
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Jonas Bernoulli, 2021/10/19
- Change indentation of keyword lists/arrays, Lars Ingebrigtsen, 2021/10/19
- Re: Change indentation of keyword lists/arrays, Juri Linkov, 2021/10/20
- Re: Change indentation of keyword lists/arrays, Tassilo Horn, 2021/10/20
- Re: Change indentation of keyword lists/arrays,
Lars Ingebrigtsen <=
- RE: [External] : Re: Change indentation of keyword lists/arrays, Drew Adams, 2021/10/20
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Stefan Monnier, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Stefan Monnier, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Stefan Monnier, 2021/10/04
- Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap', Lars Ingebrigtsen, 2021/10/05