GNU bug report logs -
#65994
29.1; emoji-zoom-* functions does not work with list of face symbols
Previous Next
Reported by: awrhygty <at> outlook.com
Date: Fri, 15 Sep 2023 12:15:01 UTC
Severity: normal
Found in version 29.1
Fixed in version 29.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 65994 <at> debbugs.gnu.org (full text, mbox):
> From: awrhygty <at> outlook.com
> Date: Fri, 15 Sep 2023 21:14:08 +0900
>
>
> Evaluate the form below and type 'C-x 8 e +', an error occurs:
> Wrong type argument: plistp, highlight
>
> (let ((buf (generate-new-buffer "temp")))
> (switch-to-buffer buf)
> (insert (propertize "x" 'face '(highlight)))
> (forward-char -1))
Thanks, should be fixed now on the emacs-29 branch.
Please in the future try to make the bug reports less terse and thus
more helpful by telling which parts of the recipe are crucial for the
issue, and/or what is the deficiency in the code that the recipe
uncovers. In this case, the crucial part is this:
(insert (propertize "x" 'face '(highlight)))
^^^^^^^^^^^^
i.e., the fact that the value of 'face' is a list of face symbols,
something that the code was not prepared for. Stating this explicitly
in the bug report would have saved me some minutes of figuring out
what was going on here and why. Please don't assume that people who
investigate the bug report are necessarily experts in the relevant
code, let alone wrote that code themselves. TIA for considering these
aspects in your future bug reports.
This bug report was last modified 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.