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#22975: 25.0.92; CANNOT_DUMP build can't start in tty mode Date: Sat, 12 Mar 2016 12:01:00 +0200 Message-ID: <83d1r0ggmb.fsf@gnu.org> References: <4FF36A52-32D5-4AF3-A36E-621A57519C4F@raeburn.org> <83h9gen6yp.fsf@gnu.org> <83egbin5n9.fsf@gnu.org> <6D1E5FE8-518D-4433-8C11-7AF1C9D932ED@raeburn.org> <83oaaljdbb.fsf@gnu.org> <2AB9AB18-952B-4597-AB89-63D8F68D0434@raeburn.org> <83bn6kiypm.fsf@gnu.org> <8737rwyc07.fsf@linux-m68k.org> <83y49ohgha.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457776946 14646 80.91.229.3 (12 Mar 2016 10:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 10:02:26 +0000 (UTC) Cc: 22975@debbugs.gnu.org, schwab@linux-m68k.org To: raeburn@raeburn.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 12 11:02:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aegNC-00059K-Lf for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 11:02:14 +0100 Original-Received: from localhost ([::1]:59655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aegN9-0002qD-48 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 05:02:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aegN4-0002pt-BE for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 05:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aegN0-0007U5-77 for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 05:02:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aegN0-0007U1-4D for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 05:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aegMz-0001EF-Ry for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 05:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2016 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22975-submit@debbugs.gnu.org id=B22975.14577769064702 (code B ref 22975); Sat, 12 Mar 2016 10:02:01 +0000 Original-Received: (at 22975) by debbugs.gnu.org; 12 Mar 2016 10:01:46 +0000 Original-Received: from localhost ([127.0.0.1]:45732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aegMj-0001Dm-UN for submit@debbugs.gnu.org; Sat, 12 Mar 2016 05:01:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53751) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aegMi-0001DZ-Gt for 22975@debbugs.gnu.org; Sat, 12 Mar 2016 05:01:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aegMZ-0007Qr-6m for 22975@debbugs.gnu.org; Sat, 12 Mar 2016 05:01:39 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aegMZ-0007Qn-3U; Sat, 12 Mar 2016 05:01:35 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1197 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aegMY-0006fd-A3; Sat, 12 Mar 2016 05:01:34 -0500 In-reply-to: <83y49ohgha.fsf@gnu.org> (message from Eli Zaretskii on Fri, 11 Mar 2016 23:06:25 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114814 Archived-At: > Date: Fri, 11 Mar 2016 23:06:25 +0200 > From: Eli Zaretskii > Cc: 22975@debbugs.gnu.org, raeburn@raeburn.org > > > From: Andreas Schwab > > Cc: Ken Raeburn , 22975@debbugs.gnu.org > > Date: Fri, 11 Mar 2016 21:51:04 +0100 > > > > Eli Zaretskii writes: > > > > > OK, I see. So now it's crystal clear that bidi-display-reordering > > > should be bound to nil until loadup finishes, otherwise we are > > > playing with fire. > > > > > > Is there a way to know that the build CANNOT_DUMP from Lisp? > > > > Would it be wrong to do this always? > > I didn't mean to say it wasn't; the above 2 questions are 2 separate > issues. It turns out we already had protection for this: xdisp.c was looking at the value of purify-flag to decide when it is safe to perform bidi reordering. That protection was added to fix bug#9963. However, a change in Dec 2013 made purify-flag be nil on systems that CANNOT_DUMP when they process loadup.el, so that protection was lost on those systems. I've now added a special variable for this purpose, and changed the display engine to use it instead of purify-flag. Ken, could you please see if the latest emacs-25 branch resolves the original problem you reported? If Emacs succeeds to start in tty mode after these changes, please type "C-h H" and see if the Arabic and Hebrew greetings are displayed correctly reordered (moving cursor with C-f across those parts should move right-to-left when point is inside those words). Thanks.