GNU bug report logs - #51659
29.0.50; emoji.el: incorrect description for some emojis in emoji-list

Previous Next

Package: emacs;

Reported by: Simon Pugnet <simon <at> polaris64.net>

Date: Sun, 7 Nov 2021 12:47:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 51659 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: simon <at> polaris64.net, 51659 <at> debbugs.gnu.org
Subject: Re: bug#51659: 29.0.50; emoji.el: incorrect description for some
 emojis in emoji-list
Date: Sun, 07 Nov 2021 17:30:42 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: simon <at> polaris64.net,  51659 <at> debbugs.gnu.org
> Date: Sun, 07 Nov 2021 16:20:17 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> It seems the correct incantation is:
> >> 
> >> (find-composition (point) (1+ (point)))
> >
> > Correct incantation for doing what?
> 
> For determining if the thing at (point) has a composition.

Then I think it's safer to narrow the buffer so it starts at point
(temporarily, for the duration of the find-composition call).  Then
your original code should work.

The way you do it the function can surprise you (because of lookback
and because LIMIT limits only where the _first_ character of the
composition may start.




This bug report was last modified 3 years and 197 days ago.

Previous Next


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