From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Not loading the Registry settings Date: Tue, 15 Sep 2009 00:24:06 +0200 Message-ID: References: <4AAB93D4.8070201@harpegolden.net> <87skerr30v.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1252967138 22119 80.91.229.12 (14 Sep 2009 22:25:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 22:25:38 +0000 (UTC) Cc: David De La Harpe Golden , Emacs developers , Miles Bader To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 15 00:25:30 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnJzF-0005Dp-VD for ged-emacs-devel@m.gmane.org; Tue, 15 Sep 2009 00:25:30 +0200 Original-Received: from localhost ([127.0.0.1]:39640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnJzF-0001AC-9d for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 18:25:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnJyL-0000mr-MJ for emacs-devel@gnu.org; Mon, 14 Sep 2009 18:24:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnJyG-0000hT-Ue for emacs-devel@gnu.org; Mon, 14 Sep 2009 18:24:33 -0400 Original-Received: from [199.232.76.173] (port=54394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnJyG-0000h9-RT for emacs-devel@gnu.org; Mon, 14 Sep 2009 18:24:28 -0400 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]:39411) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnJyE-0005tQ-Nh; Mon, 14 Sep 2009 18:24:27 -0400 Original-Received: by mail-fx0-f226.google.com with SMTP id 26so2563993fxm.42 for ; Mon, 14 Sep 2009 15:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=hduuF1zGqOaoLVc8mnwBfSvpIOiqA/jXNHrLYHCnics=; b=seJowc2BLDcBYqJOFZYJIs9sNDrlOT52TM7fd7Qb+ErrYIjlUWQ/zyGqKMHqGGAaY7 4cHyvAwtIxkKA9R6dAnhRBkG4ZzvegfSV4VBrl1Qflg6eCTi1otL7qv/kzGEsplan5rI p5pVlc0d2mJT4vGtrED3M7NS/K+agY0uiuzTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=A4ugh8fM+PreCJ+ZpfkgwGu0t3CUmMzQkUEZr2tfE0+F29Fmf2VvUzMK5kWkrIXcqV we9AQOTmvMxS5+OXp8lDBE1CuUqKqHHscehVC2AXw0/JILSvEPZ3OP7Df4HuPVx12VbY 9RwnymRunYapMLUCKeAwSQjBX9f4k3DXuZsy0= Original-Received: by 10.239.181.148 with SMTP id m20mr279474hbg.186.1252967066087; Mon, 14 Sep 2009 15:24:26 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:115323 Archived-At: On Mon, Sep 14, 2009 at 23:53, Stefan Monnier wrote: > but I'd first like to > understand which initializations take place too early to be affected by > Lisp code. Attached is a backtrace of the first call to w32reg.c:x_get_string_resource on an emacs -Q run. As for the Lisp variable, `inhibit-x-resources' suggests that it can be toggled by the user or lisp code. Is that the intended effect? Juanma Breakpoint 3, x_get_string_resource (rdb=0x0, name=0x82ea80 "emacs.fontset-0", class=0x82ea60 "Emacs.Fontset-0") at w32reg.c:153 153 if (rdb) (gdb) bt #0 x_get_string_resource (rdb=0x0, name=0x82ea80 "emacs.fontset-0", class=0x82ea60 "Emacs.Fontset-0") at w32reg.c:153 #1 0x0124d96a in xrdb_get_resource (rdb=0x0, attribute=49875811, class=49875843, component=48252929, subclass=48252929) at frame.c:3858 #2 0x0124d9c5 in Fx_get_resource (attribute=49875811, class=49875843, component=48252929, subclass=48252929) at frame.c:3884 #3 0x0103dc51 in Ffuncall (nargs=3, args=0x82ebf0) at eval.c:3056 #4 0x011df179 in Fbyte_code (bytestr=20903515, vector=20903580, maxdepth=40) at bytecode.c:678 #5 0x0103e77d in funcall_lambda (fun=20903492, nargs=0, arg_vector=0x82ef14) at eval.c:3233 #6 0x0103dfd9 in Ffuncall (nargs=1, args=0x82ef10) at eval.c:3092 #7 0x011df179 in Fbyte_code (bytestr=20914331, vector=20914564, maxdepth=48) at bytecode.c:678 #8 0x0103e77d in funcall_lambda (fun=20914300, nargs=0, arg_vector=0x82f234) at eval.c:3233 #9 0x0103dfd9 in Ffuncall (nargs=1, args=0x82f230) at eval.c:3092 #10 0x011df179 in Fbyte_code (bytestr=20369283, vector=20369364, maxdepth=32) at bytecode.c:678 #11 0x0103be89 in Feval (form=20369269) at eval.c:2383 #12 0x01039b9a in internal_lisp_condition_case (var=48316609, bodyform=20369269, handlers=20369461) at eval.c:1458 #13 0x011dfe32 in Fbyte_code (bytestr=20367203, vector=20368132, maxdepth=56) at bytecode.c:868 #14 0x0103e77d in funcall_lambda (fun=20367180, nargs=0, arg_vector=0x82f924) at eval.c:3233 #15 0x0103dfd9 in Ffuncall (nargs=1, args=0x82f920) at eval.c:3092 #16 0x011df179 in Fbyte_code (bytestr=20363323, vector=20363540, maxdepth=48) at bytecode.c:678 #17 0x0103e77d in funcall_lambda (fun=20363300, nargs=0, arg_vector=0x82fbb0) at eval.c:3233 #18 0x0103e21a in apply_lambda (fun=20363300, args=48252929, eval_flag=1) at eval.c:3157 #19 0x0103c268 in Feval (form=48920549) at eval.c:2419 #20 0x01006e92 in top_level_2 () at keyboard.c:1366 #21 0x01039c96 in internal_condition_case (bfun=0x1006e7e , handlers=48316609, hfun=0x10069d0 ) at eval.c:1513 #22 0x01006ec7 in top_level_1 () at keyboard.c:1374 #23 0x010396ef in internal_catch (tag=48312729, func=0x1006e97 , arg=48252929) at eval.c:1249 #24 0x01006e02 in command_loop () at keyboard.c:1329 #25 0x01006127 in recursive_edit_1 () at keyboard.c:951 #26 0x010065fc in Frecursive_edit () at keyboard.c:1013 #27 0x01002a8d in main (argc=2, argv=0xa92748) at emacs.c:1849 Lisp Backtrace: "x-get-resource" (0x82ebf4) "create-fontset-from-x-resource" (0x82ef14) "w32-initialize-window-system" (0x82f234) "byte-code" (0x82f4b0) "command-line" (0x82f924) "normal-top-level" (0x82fbb0)