Subject: bug#11199: 24.0.95; killing right-to-left text at eob leads to inconsistent state

From: Eli Zaretskii <[email-masked]>
Date: Sun, 08 Apr 2012 23:48:13 +0300

> Date: Sun, 08 Apr 2012 23:37:22 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> > (gdb) p row->end
> > $8 = {
> >   pos = {
> >     charpos = 309, 
> >     bytepos = 313
> >   }, 

Btw, if row->end is at character position 309, how come in this frame:

  #1  0x080779e7 in init_iterator (it=0xbfffa878, w=0x88e30d0, charpos=308, 
      bytepos=311, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2507

init_iterator is called with character position 308?  What is `pos' in
this frame #2:

  #2  0x080794bb in init_from_display_pos (it=0xbfffa878, w=0x88e30d0, 
      pos=0x8dccc58) at xdisp.c:2951

That is,

 (gdb) frame 2
 (gdb) p *pos