From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9963: ./temacs -Q -nw abort in bidi_initialize Date: Sun, 06 Nov 2011 20:28:53 +0200 Message-ID: <831utljeai.fsf@gnu.org> References: <837h3dkigu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1320604352 22134 80.91.229.12 (6 Nov 2011 18:32:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 18:32:32 +0000 (UTC) Cc: 9963@debbugs.gnu.org To: dann@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 19:32:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RN7W6-0003bH-E0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 19:32:26 +0100 Original-Received: from localhost ([::1]:41267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN7W5-0007JY-UK for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 13:32:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN7Vz-0007Fu-IJ for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 13:32:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RN7Vv-0000Qh-M2 for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 13:32:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN7Vv-0000QY-DV for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 13:32:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RN7Yb-0003WW-Qp for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 13:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2011 18:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9963-submit@debbugs.gnu.org id=B9963.132060444213452 (code B ref 9963); Sun, 06 Nov 2011 18:35:01 +0000 Original-Received: (at 9963) by debbugs.gnu.org; 6 Nov 2011 18:34:02 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN7Xe-0003Um-7S for submit@debbugs.gnu.org; Sun, 06 Nov 2011 13:34:02 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN7Xc-0003UV-0p for 9963@debbugs.gnu.org; Sun, 06 Nov 2011 13:34:01 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LU900L004OIRL00@a-mtaout20.012.net.il> for 9963@debbugs.gnu.org; Sun, 06 Nov 2011 20:30:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.70.69]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LU900LM84RJME30@a-mtaout20.012.net.il>; Sun, 06 Nov 2011 20:30:56 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 06 Nov 2011 13:35:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53620 Archived-At: > Date: Sun, 06 Nov 2011 02:24:43 -0500 > From: Eli Zaretskii > Cc: 9963@debbugs.gnu.org > > > > This abort means you somehow have a problem loading uni-bidi.el, or > > > didn't load it at all, or perhaps load a wrong uni-bidi.el (e.g., from > > > Emacs 23). It is strange that it works without -nw, though. > > > > It looks this happens when printing the first "Loading" message at > > startup to load loadup.el. > > That figures: Emacs needs uni-bidi for display, and `message' enters > redisplay. > > > Is uni-bidi.el loaded before that? > > Evidently, it isn't. I think it is pulled in when charprop is loaded, > but that's half-way down loadup.el. > > We need to find a way of loading uni-bidi and uni-mirrored before > loading loadup.el. I will get to that later today, if no one beats me > to it. I think I fixed this (revision 106305 on the trunk), please check. For the record: I decided that loading uni-bidi in advance is not a good idea, as proper functioning of character property tables needed by bidi.c depends on many other *.el files that are normally loaded before uni-bidi. There be dragons there. So instead, I disabled bidi reordering for as long as purify-flag is non-nil; I hope this is TRT for all supported configurations, including CANNOT_DUMP.