unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Andrea Corallo <acorallo@gnu.org>
Cc: Robert Pluim <rpluim@gmail.com>, 70141@debbugs.gnu.org
Subject: bug#70141: 30.0.50; cl--class-allparents throws error for ebdb-field-pgp
Date: Sat, 20 Apr 2024 08:37:46 -0700	[thread overview]
Message-ID: <87ttjwhwol.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <yp1cyr5mu2v.fsf@fencepost.gnu.org> (Andrea Corallo's message of "Thu, 04 Apr 2024 04:05:12 -0400")


On 04/04/24 04:05 AM, Andrea Corallo wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Andrea Corallo <acorallo@gnu.org> writes:
>>
>>> Andrea Corallo <acorallo@gnu.org> writes:
>>>
>>>> Robert Pluim <rpluim@gmail.com> writes:
>>>>
>>>>> Just for fun I tried enabling the native compiler, and keep running
>>>>> into the following error with my config (-Q is fine).
>>>>>
>>>>> Iʼve tried reinstalling key-chord and ebdb, but thatʼs made no difference.
>>>>>
>>>>> I know nothing about eieio, but the defclass for ebdb-field-pgp has a
>>>>> superclass:
>>>>>
>>>>>     (defclass ebdb-field-pgp (ebdb-field-user)
>>>>
>>>> Hi Robert,
>>>>
>>>> could you provide a reproducer we can use to look into it?
>>>>
>>>> Thanks
>>>>
>>>>   Andrea
>>>
>>> We should not crash but that said thinking about it...  I don't think
>>> the compiler should reason about classes at all, as they are redefinable
>>> at runtime.  On the contrary structs are (at least in CL) considered not
>>> re-definable at runtime so it's fine.
>>
>> Do you have an opinion about whether autoload cookies on defclass
>> statements are a bad idea altogether?
>
> I don't (ATM), why do you think it should be problematic?

Sorry, this was a red herring, I guess it's the mere presence of the
`defclass's that caused the issue, not the fact that they were autoloaded.





  reply	other threads:[~2024-04-20 15:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02 14:04 bug#70141: 30.0.50; cl--class-allparents throws error for ebdb-field-pgp Robert Pluim
2024-04-02 14:14 ` Andrea Corallo
2024-04-02 14:57   ` Robert Pluim
2024-04-02 16:24     ` Robert Pluim
2024-04-03  3:22       ` Eric Abrahamsen
2024-04-03  6:45         ` Robert Pluim
2024-04-03 20:45   ` Andrea Corallo
2024-04-04  3:05     ` Eric Abrahamsen
2024-04-04  8:05       ` Andrea Corallo
2024-04-20 15:37         ` Eric Abrahamsen [this message]
2024-04-08 10:10     ` Andrea Corallo
2024-04-08 15:42       ` Robert Pluim
2024-04-08 15:47         ` Andrea Corallo
2024-04-02 14:17 ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttjwhwol.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=70141@debbugs.gnu.org \
    --cc=acorallo@gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).