From: Eli Zaretskii <eliz@gnu.org>
To: lihaitao@gmail.com
Cc: 9739@debbugs.gnu.org, lihaitao@gmail.com
Subject: bug#9739: 24.0.90; abort at find_row_edges xdisp.c:18714
Date: Wed, 12 Oct 2011 20:02:03 +0200 [thread overview]
Message-ID: <8362ju3x7o.fsf@gnu.org> (raw)
In-Reply-To: <4e95cd19.e516440a.3842.3fa0@mx.google.com>
> From: lihaitao@gmail.com
> Date: Thu, 13 Oct 2011 01:22:58 +0800
> Cc: Haitao Li <lihaitao@gmail.com>
>
> I met this issue when using egg-log command by egg.el[1]. I can
> reproduce this bug everytime.
>
> Step to reproduce:
> - Open a directory which is a git work tree. For example, a clone of
> http://github.com/git/git.git
> - M-x egg-log
> - Press the `s' key
>
> Full backtrace attach at the end of this mail.
I don't have any git trees on my machine, and don't have egg-log
installed. So please see if the patch below solves this problem.
=== modified file 'src/bidi.c'
--- src/bidi.c 2011-10-12 15:12:52 +0000
+++ src/bidi.c 2011-10-12 17:56:48 +0000
@@ -808,7 +808,6 @@ bidi_init_it (EMACS_INT charpos, EMACS_I
bidi_it->nchars = -1; /* to be computed in bidi_resolve_explicit_1 */
bidi_it->first_elt = 1;
bidi_set_paragraph_end (bidi_it);
- bidi_it->paragraph_dir = NEUTRAL_DIR;
bidi_it->new_paragraph = 1;
bidi_it->separator_limit = -1;
bidi_it->type = NEUTRAL_B;
=== modified file 'src/xdisp.c'
--- src/xdisp.c 2011-10-12 15:12:52 +0000
+++ src/xdisp.c 2011-10-12 17:56:28 +0000
@@ -19479,6 +19479,7 @@ See also `bidi-paragraph-direction'. */
bytepos--;
}
bidi_init_it (pos, bytepos, FRAME_WINDOW_P (SELECTED_FRAME ()), &itb);
+ itb.paragraph_dir = NEUTRAL_DIR;
itb.string.s = NULL;
itb.string.lstring = Qnil;
itb.string.bufpos = 0;
next prev parent reply other threads:[~2011-10-12 18:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 17:22 bug#9739: 24.0.90; abort at find_row_edges xdisp.c:18714 lihaitao
2011-10-12 18:02 ` Eli Zaretskii [this message]
[not found] ` <CABk5KLikX_6DW4yexZ-pys1E8wM8j8=Nn2=0P-SFD8E+Dxdwkw@mail.gmail.com>
2011-10-12 18:45 ` Eli Zaretskii
2011-10-12 19:07 ` Haitao Li
2011-10-12 20:16 ` Eli Zaretskii
2011-10-13 1:59 ` Haitao Li
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8362ju3x7o.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=9739@debbugs.gnu.org \
--cc=lihaitao@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).