emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master cd88f6de4b: Adjust zero-width grapheme clusters so they are d


From: Po Lu
Subject: Re: master cd88f6de4b: Adjust zero-width grapheme clusters so they are displayed (Bug#50951)
Date: Tue, 27 Sep 2022 10:47:25 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

> branch: master
> commit cd88f6de4be1f8eba1db038b371d769f584be53b
> Author: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> Commit: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
>
>     Adjust zero-width grapheme clusters so they are displayed (Bug#50951)
>     
>     * src/composite.c (composition_gstring_adjust_zero_width): New function.
>     * src/composite.h: Declare it.
>     * src/font.c (Ffont_shape_gstring): Use it before putting gstring to 
> cache.

This gives:

In file included from composite.c:29:
In function ‘AREF’,
    inlined from ‘composition_gstring_adjust_zero_width’ at composite.c:839:11:
lisp.h:1941:35: warning: ‘glyph’ may be used uninitialized 
[-Wmaybe-uninitialized]
 1941 |   return XVECTOR (array)->contents[idx];
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
composite.c: In function ‘composition_gstring_adjust_zero_width’:
composite.c:816:19: note: ‘glyph’ was declared here
  816 |       Lisp_Object glyph;
      |                   ^~~~~


reply via email to

[Prev in Thread] Current Thread [Next in Thread]