all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christopher Monsanto <chris@monsan.to>
Cc: 10159@debbugs.gnu.org
Subject: bug#10159: auto-complete causes crash in emacs HEAD
Date: Sat, 22 Sep 2012 15:40:15 +0300	[thread overview]
Message-ID: <83haqqkz80.fsf@gnu.org> (raw)
In-Reply-To: <CAC5n7TGgAyjxf6y6=kfi0mezr_0P4rrUZP2srAfgNKHDhH8QtA@mail.gmail.com>

> From: Christopher Monsanto <chris@monsan.to>
> Date: Sat, 22 Sep 2012 08:19:11 -0400
> Cc: 10159@debbugs.gnu.org
> 
> Same here.
> 
> (gdb) pp string
> #("                                    " 0 36 (face popup-tip-face
> keymap nil popup-item ""))

That's good to know, thanks.

> Thanks. Seems to me that this value is coming from xdisp.c,
> display_line, var n_glyphs_before, derived from row->used[TEXT_AREA]
> (line 19425).

No, it comes from it->end_charpos, the length of the previous overlay
string, because when the next overlay string is loaded, its length was
not reflected in the value of it->end_charpos.  Should be fixed now in
revision 110135 on the trunk.

> (I wish I knew what a "struct it" is, not the most
> descriptive name! :-))

"it" stands for "iterator".  'struct it' is an object used by the
display engine to iterate over buffers or strings to be displayed, one
character at a time, with the purpose of generating the information
required by the display back-end (X, TTY, etc.) to update the screen.
See dispextern.h around line 1925, for more about that.

Please test revision 110135 thoroughly with auto-complete, and if you
find no problems, I will close this bug.





  reply	other threads:[~2012-09-22 12:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  2:02 bug#10159: 24.0.91; Segfault with auto-complete package [SEC=UNCLASSIFIED] Alex Murray
2011-11-30  1:54 ` Alex Murray
2011-12-01 16:09 ` Paul Eggert
2011-12-02  5:40   ` Alex Murray
2011-12-06  5:47     ` Alex Murray
2011-12-06  6:31       ` Eli Zaretskii
2012-01-20  4:42         ` Alex Murray
2012-01-20  5:39           ` Alex Murray
2012-01-20 10:01             ` Eli Zaretskii
2012-01-22 22:48               ` Alex Murray
2012-01-23  0:04                 ` Paul Eggert
2012-07-26 12:58 ` bug#10159: Segfault with auto-complete package Toon Claes
2012-07-26 15:58   ` Eli Zaretskii
     [not found]     ` <064f9be784bab3c1101f946e81dd5f90@tonotdo.com>
2012-07-27  6:57       ` Eli Zaretskii
2012-09-22 11:11 ` bug#10159: auto-complete causes crash in emacs HEAD Christopher Monsanto
2012-09-22 11:12   ` Christopher Monsanto
2012-09-22 11:58     ` Eli Zaretskii
2012-09-22 12:19       ` Christopher Monsanto
2012-09-22 12:40         ` Eli Zaretskii [this message]
2012-09-22 13:13           ` Christopher Monsanto
2013-02-14  8:52             ` Glenn Morris

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=83haqqkz80.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10159@debbugs.gnu.org \
    --cc=chris@monsan.to \
    /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.