YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes: >>>>>> On Wed, 31 May 2006 12:13:52 +0900 (JST), YAMAMOTO Mitsuharu <[EMAIL >>>>>> PROTECTED]> said: > >> "Arg out of range 0,0" repeatedly occurs when trying to display >> help-echo string in an overlay string with composition. > >> 1. emacs -Q -D >> 2. (overlay-put (make-overlay 1 1) 'before-string >> (propertize (compose-string "ab") 'help-echo "ab")) >> 3. Move the mouse pointer to the beginning of buffer. > > The following change seems to work for me. Could someone check if > this is correct?
Looks like the right thing to do. Pls. install. Thanks for debugging this. > > YAMAMOTO Mitsuharu > [EMAIL PROTECTED] > > Index: src/xdisp.c > =================================================================== > RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v > retrieving revision 1.1101 > diff -c -r1.1101 xdisp.c > *** src/xdisp.c 28 May 2006 20:19:07 -0000 1.1101 > --- src/xdisp.c 2 Jun 2006 08:00:17 -0000 > *************** > *** 6238,6243 **** > --- 6238,6245 ---- > it->position = (STRINGP (it->string) > ? it->current.string_pos > : it->current.pos); > + if (STRINGP (it->string)) > + it->object = it->string; > return 1; > } -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug