From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master updated (e6041a0 -> 6220fae) Date: Fri, 17 Feb 2017 17:26:12 +0200 Message-ID: <83wpcorg8b.fsf@gnu.org> References: <20170215164632.13342.86743@vcs0.savannah.gnu.org> <6gshndfkwd.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1487345184 24856 195.159.176.226 (17 Feb 2017 15:26:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 15:26:24 +0000 (UTC) Cc: rgm@gnu.org, emacs-devel@gnu.org To: Michal Nazarewicz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 17 16:26:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cekQN-0006Bp-Rz for ged-emacs-devel@m.gmane.org; Fri, 17 Feb 2017 16:26:19 +0100 Original-Received: from localhost ([::1]:54288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cekQT-0008Tc-Np for ged-emacs-devel@m.gmane.org; Fri, 17 Feb 2017 10:26:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cekPs-0008R2-Sb for emacs-devel@gnu.org; Fri, 17 Feb 2017 10:25:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cekPp-0006nH-On for emacs-devel@gnu.org; Fri, 17 Feb 2017 10:25:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cekPp-0006nD-LK; Fri, 17 Feb 2017 10:25:45 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3942 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cekPo-0007ar-QC; Fri, 17 Feb 2017 10:25:45 -0500 In-reply-to: (message from Michal Nazarewicz on Fri, 17 Feb 2017 15:51:00 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212434 Archived-At: > From: Michal Nazarewicz > Date: Fri, 17 Feb 2017 15:51:00 +0100 > Cc: emacs-devel@gnu.org > > On Fri, Feb 17 2017, Glenn Morris wrote: > > Hi - this fails to bootstrap from a truly clean tree (probably you > > need to "make extraclean" in an existing tree to see it). > > > > Ref: http://hydra.nixos.org/build/48774928 > > > > Loading lisp/international/characters.el (source)... > > Wrong type argument: char-table-p, nil > > Unicode tables aren’t available and this causes the failure. ;/ I think they are not available because the uni-*.el files were not yet produced. Is that right? If so, you could try conditioning the code on the availability of the Unicode tables, because by the time characters.el is byte-compiled, they will be. And when we load characters.el as source, we hopefully don't need syntax-table yet. > I don’t fully comprehend how bootstrapping work just yet though. In > particular, characters.el has: > > (when (setq unicode-category-table > (unicode-property-table-internal 'general-category)) > (map-char-table #'(lambda (key val) …) > unicode-category-table)) > > So perhaps it’s enough to hard-code syntax-table for ASCII and update > the rest with similar conditional? Yes. But first I'd try not to hard-code anything at all. Thanks.