bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs crash


From: ET
Subject: Re: emacs crash
Date: 16 Dec 2001 22:51:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

> ET <address@hidden> writes:
> [...]
> > (gdb) p coding->symbol
> > $1 = 405338604
> > (gdb) pr
> > iso-2022-7bit-lock-unix
> [...]
> 
> Thank you.  I found what is wrong.  In the macro
> DECODE_COMPOSITION_END of coding.c, we are checking if we should
> produce composition data by:
>       coding->composing == COMPOSITION_DISABLED
> But, that is not sufficient.  We may have encountered `composition
> end' sequence in an invalid cotext (i.e. without preceding
> `composition start' sequence).  Thus, we must check it by:
>       ! COMPOSING_P (coding)
> Could you please modify that macro as above, and try again?
> 
> ---
> Ken'ichi HANDA
> address@hidden

looks like you found the problem.  when I make the following change as
you suggested, the bug is eliminated:

#define DECODE_COMPOSITION_END(c1)                                      \
  do {                                                                  \
    if (! COMPOSING_P (coding)) /*(coding->composing == COMPOSITION_DISABLED)*/ 
                \
      {                                                                 \
        *dst++ = ISO_CODE_ESC;                                          \
.
.
.




reply via email to

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