From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: global-auto-composition-mode, emacs-basic-display, and CANNOT_DUMP Date: Sun, 27 Aug 2006 20:08:01 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156930781 22361 80.91.229.2 (30 Aug 2006 09:39:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2006 09:39:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 30 11:39:39 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 1GIMXm-0008Pf-W8 for ged-emacs-devel@m.gmane.org; Wed, 30 Aug 2006 11:39:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIMXm-0008MR-CG for ged-emacs-devel@m.gmane.org; Wed, 30 Aug 2006 05:39:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHUfi-00077Z-92 for emacs-devel@gnu.org; Sun, 27 Aug 2006 20:08:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHUfg-00076M-UV for emacs-devel@gnu.org; Sun, 27 Aug 2006 20:08:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHUfg-00075x-Eh for emacs-devel@gnu.org; Sun, 27 Aug 2006 20:08:08 -0400 Original-Received: from [207.69.195.63] (helo=pop-satin.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GHUoW-0006wE-1q for emacs-devel@gnu.org; Sun, 27 Aug 2006 20:17:16 -0400 Original-Received: from user-0cdfrgb.cable.mindspring.com ([24.215.238.11] helo=[192.168.10.100]) by pop-satin.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1GHUff-0002ja-00 for emacs-devel@gnu.org; Sun, 27 Aug 2006 20:08:07 -0400 Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.624) X-Mailman-Approved-At: Wed, 30 Aug 2006 05:39:23 -0400 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:59097 Archived-At: Hi, 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?