all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 65994@debbugs.gnu.org
Subject: bug#65994: 29.1; emoji-zoom-* functions does not work with list of face symbols
Date: Sat, 16 Sep 2023 10:38:56 +0300	[thread overview]
Message-ID: <83y1h6in3j.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB39205C8FB8CACD11A3428C39C3F6A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

> From: awrhygty@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.





      reply	other threads:[~2023-09-16  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 12:14 bug#65994: 29.1; emoji-zoom-* functions does not work with list of face symbols awrhygty
2023-09-16  7:38 ` Eli Zaretskii [this message]

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

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

  git send-email \
    --in-reply-to=83y1h6in3j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65994@debbugs.gnu.org \
    --cc=awrhygty@outlook.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.