emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record


From: Stefan Monnier
Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
Date: Tue, 12 Dec 2017 20:29:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I thought you already agreed we should make "define an 'integer'
> struct" an error, why are we still arguing about this?

I agreed that it's OK to introduce such a check but that doesn't mean
I think we *should* have such a check.

I'm just really puzzled by all the strong reactions for a problem that's
so% hypothetical, and really very similar to lots of other "risks" that
we don't care about at all.

Maybe it's just because it's brand new, whereas the other risks have
been with us for so many years that we completely forgot about them?


        Stefan


PS: By the way, feel free to try to (cl-defstruct integer ...) and play
with it.  From what I can tell, it takes dedication to go from there to
actually experiencing an undesirable outcome.
If you want to shoot yourself in the foot

    (add-hook 'post-command-hook #'beginning-of-buffer)

is a much safer choice (and as bonus, it doesn't require cl-lib),




reply via email to

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