From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: David De La Harpe Golden <david@harpegolden.net>,
Emacs developers <emacs-devel@gnu.org>,
Miles Bader <miles@gnu.org>
Subject: Re: Not loading the Registry settings
Date: Tue, 15 Sep 2009 00:24:06 +0200 [thread overview]
Message-ID: <f7ccd24b0909141524k43000002t6f978989320f7fcd@mail.gmail.com> (raw)
In-Reply-To: <jwv7hw142lh.fsf-monnier+emacs@gnu.org>
On Mon, Sep 14, 2009 at 23:53, Stefan Monnier <monnier@iro.umontreal.ca> 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
<top_level_2>, handlers=48316609, hfun=0x10069d0 <cmd_error>) at
eval.c:1513
#22 0x01006ec7 in top_level_1 () at keyboard.c:1374
#23 0x010396ef in internal_catch (tag=48312729, func=0x1006e97
<top_level_1>, 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)
next prev parent reply other threads:[~2009-09-14 22:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-12 11:45 Not loading the Registry settings Juanma Barranquero
2009-09-12 12:28 ` David De La Harpe Golden
2009-09-12 12:50 ` Adrian Robert
2009-09-12 14:22 ` Juanma Barranquero
2009-09-12 19:14 ` Stefan Monnier
2009-09-13 2:29 ` Miles Bader
2009-09-14 0:34 ` Juanma Barranquero
2009-09-14 13:29 ` Stefan Monnier
2009-09-14 13:48 ` Juanma Barranquero
2009-09-14 13:54 ` Juanma Barranquero
2009-09-14 21:53 ` Stefan Monnier
2009-09-14 22:24 ` Juanma Barranquero [this message]
2009-09-15 1:31 ` Stefan Monnier
2009-09-15 9:26 ` Juanma Barranquero
2009-09-15 13:34 ` Stefan Monnier
2009-09-15 14:27 ` Juanma Barranquero
2009-09-14 14:51 ` Adrian Robert
[not found] ` <jwv63bl5onb.fsf-monnier+emacs@gnu.org>
2009-09-14 19:39 ` Adrian Robert
2009-09-17 23:09 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0909141524k43000002t6f978989320f7fcd@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=david@harpegolden.net \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.