GNU bug report logs - #61962
30.0.50; New trouble with symbols with positions

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sat, 4 Mar 2023 16:19:02 UTC

Severity: normal

Found in version 30.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>, Alan Mackenzie <acm <at> muc.de>, Mattias EngdegÄrd <mattiase <at> acm.org>
Cc: 61962 <at> debbugs.gnu.org
Subject: bug#61962: 30.0.50; New trouble with symbols with positions
Date: Sat, 04 Mar 2023 18:34:13 +0200
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Date: Sat, 04 Mar 2023 17:18:43 +0100
> 
> since a couple of days, maybe around a week, master builds bug me with
> symbols with positions again.
> 
> Here is a recipe for emacs -Q (dunno, there may be much simpler and
> shorter recipes, didn't try):
> 
> Save this into a file:
> 
> ;; -*- lexical-binding: t -*-
> 
> (cl-defstruct teststruct "Doc" xxx)
> 
> (defun test ()
>   (let ((val (make-teststruct :xxx 20)))
>     (pcase val
>       ((and (pred cl-struct-p)
>             (let class-name (type-of val)))
>        (when class-name
>          (ignore-errors
>            (mapcar #'cl--slot-descriptor-name
>                    (cl--class-slots
>                     (cl-find-class class-name)))))))))
> 
> Visit and M-x eval-buffer.  M-: (test) yields xxx as expected.
> 
> But now compile (C-c C-b) and M-: (test) unexpectedly (I guess?)
> yields (#<symbol xxx at 63>), a symbol with position.

Adding Alan and Mattias.




This bug report was last modified 2 years and 120 days ago.

Previous Next


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