GNU bug report logs - #33294
xwidget-insert crashes Emacs

Previous Next

Package: emacs;

Reported by: Evgeny Zajcev <lg.zevlg <at> gmail.com>

Date: Tue, 6 Nov 2018 21:15:01 UTC

Severity: normal

Tags: fixed

Fixed in version 26.2

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gazally <at> runbox.com, 33294 <at> debbugs.gnu.org, lg.zevlg <at> gmail.com, Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: bug#33294: xwidget-insert crashes Emacs
Date: Fri, 09 Nov 2018 14:16:59 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
>> Cc: Robert Pluim <rpluim <at> gmail.com>, lg.zevlg <at> gmail.com, gazally <at> runbox.com,
>>         33294 <at> debbugs.gnu.org
>> Date: Thu, 08 Nov 2018 15:15:50 -0500
>> 
>> > I admit I don't understand why PVEC_XWIDGET and PVEC_XWIDGET_VIEW are
>> > in the "impossible" cases.  They are first-class Lisp objects, AFAICT.
>> 
>> If you say so, then they most likely are, indeed.  I personally didn't
>> (and still don't) know enough about those to know what to do with them.
>
> Can you tell what are the guidelines for putting a PVEC object into
> the "impossible" category in the context of type-of?

They look first class to me as well.

Of the other 'impossible' cases in 'type-of',

- PVEC_MISC_PTR and PVEC_OTHER I think should never be lisp-visible
- PVEC_SUB_CHAR_TABLE is definitely lisp-visible, so for completeness
  we could allow 'type-of' on it
- PVEC_FREE should not be visible, but Iʼm prepared to be wrong about
  that :-)

PVEC_XWIDGET and PVEC_XWIDGET_VIEW are easy enough to handle in
'type-of'. I can do PVEC_SUB_CHAR_TABLE as well if we decide itʼs the
right thing.

Robert





This bug report was last modified 6 years and 256 days ago.

Previous Next


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