emacs-devel
[Top][All Lists]
Advanced

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

Re: Deprecation of define-key?


From: Lars Ingebrigtsen
Subject: Re: Deprecation of define-key?
Date: Tue, 02 Aug 2022 12:46:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Philip Kaludercic <philipk@posteo.net> writes:

> Why should this kind of indentation only be used for definition forms?
> I wouldn't consider `progn', `pcase', or `cl-callf' definitions, and
> they all have the `lisp-indent-function' property set.

But they're not normal functions.

> I believe the indentation that Augusto suggested is perfectly
> reasonable.

(keymap-set some-map
  "a" 'command-a)

looks pretty odd to me, and I think anybody reading such code would
assume that `keymap-set' is a macro doing something odd.




reply via email to

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