GNU bug report logs - #76294
`(cl-proclaim (inline foo))` vs `(defsubst foo ...)`

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Fri, 14 Feb 2025 22:31:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: rms <at> gnu.org
Cc: 76294 <at> debbugs.gnu.org
Subject: bug#76294: `(cl-proclaim (inline foo))` vs `(defsubst foo ...)`
Date: Wed, 19 Feb 2025 15:20:25 -0800
Richard Stallman <rms <at> gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > >> May I ask what is the value proposition of
>   > >>
>   > >>     (defun foo () ...)
>   > >>     (cl-proclaim '(inline foo))
>   > >>
>   > >> over
>   > >>
>   > >>     (defsubst foo () ...)
>   > >>
>   > >> in Emacs Lisp code?
>   > >
>   > > I never dared to touch this because I know I'm biased against those
>   > > thingies.  IOW, I'd be happy to deprecate such usage.  🙂
>
> The message starts by comparing two constructs.
> Which of the two are you proposing to deprecate?

In this bug report, I have proposed deprecating neither.

We have discussed elsewhere to deprecate `cl-proclaim`.




This bug report was last modified 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.