From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: global-auto-composition-mode, emacs-basic-display, and CANNOT_DUMP Date: Mon, 23 Oct 2006 15:30:49 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1161585204 13520 80.91.229.2 (23 Oct 2006 06:33:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 06:33:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 23 08:33:22 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GbtNB-0004ak-6D for ged-emacs-devel@m.gmane.org; Mon, 23 Oct 2006 08:33:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbtNA-0006MH-JW for ged-emacs-devel@m.gmane.org; Mon, 23 Oct 2006 02:33:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbtLf-0004l4-8o for emacs-devel@gnu.org; Mon, 23 Oct 2006 02:31:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbtLd-0004ho-Lm for emacs-devel@gnu.org; Mon, 23 Oct 2006 02:31:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbtLd-0004ha-3u for emacs-devel@gnu.org; Mon, 23 Oct 2006 02:31:45 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GbtLc-00037H-Mw for emacs-devel@gnu.org; Mon, 23 Oct 2006 02:31:45 -0400 Original-Received: from smtp2.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k9N6Tq28016405; Mon, 23 Oct 2006 15:29:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id k9N6TqqE026046; Mon, 23 Oct 2006 15:29:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1GbtKj-00072D-00; Mon, 23 Oct 2006 15:30:49 +0900 Original-To: Adrian Robert In-reply-to: (message from Adrian Robert on Sun, 27 Aug 2006 20:08:01 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61026 Archived-At: I've just found that I have not yet replied to this. In article , Adrian Robert writes: > In the file composite.el, the value of autloaded variable > 'global-auto-composition-mode' is given initial value > (not (or noninteractive emacs-basic-display)) > emacs-basic-display is defined in startup.el, while the autoload goes > into loaddefs.el > However, as defined in loadup.el, loaddefs.el gets loaded first. > When emacs is dumping, 'noninteractive' is true and the 'or' in the > code above short-circuits. But in CANNOT_DUMP situation, > emacs-basic-display is checked in loaddefs before it has been defined > in startup (loaded later), causing an abort. > I realize runs of emacs with CANNOT_DUMP must be rare these days, but > if it is still supported some fix should be made. Maybe define > emacs-basic-display somewhere earlier, I'm not sure? First of all, I'm not sure it is the right thing that global-auto-composition-mode depends on emacs-basic-display or not. As composition is mandatory for several languages/scripts, I've just install a change that makes global-auto-composition-mode not depend on emacs-basic-display. For those who don't know what we are talking here, this is relevant only to emacs-unicode-2 branch. --- Kenichi Handa handa@m17n.org