YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes:

> Emacs sometimes crashes at the following line while doing isearch.
>
> xdisp.c:12838
>       cursor_height = MATRIX_ROW (w->desired_matrix, w->cursor.vpos)->height;
>
> When crashed, w->cursor.vpos == -1, and it seems to be not good
> according to the assertions in matrix_row().  It may be difficult to
> reproduce the crash on some platforms, but the above situation can be
> observed easily by
>
> % gdb emacs
> (gdb) b xdisp.c:12838 if w->cursor.vpos < 0
> (gdb) r
> C-h n
> C-s 21.
>
> Since the variable `cursor_height' is no longer used in the block in
> question, I think this sentence can be safely removed.

Thanks!

I think this is a trivial "copy-paste" error in this change:

2005-06-25  Richard M. Stallman  <[EMAIL PROTECTED]>

        * xdisp.c (try_window): New arg CHECK_MARGINS.  Calls changed.
        (redisplay_window): Handle try_window reporting point in scroll margin.

I have installed a fix.

--
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to