From: Eli Zaretskii <eliz@gnu.org>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 17169-done@debbugs.gnu.org
Subject: bug#17169: fails to start with (setq force-load-messages t) in ~/.emacs
Date: Thu, 03 Apr 2014 23:00:22 +0300 [thread overview]
Message-ID: <83mwg29oa1.fsf@gnu.org> (raw)
In-Reply-To: <877g7644jh.fsf@violet.siamics.net>
> From: Ivan Shmakov <ivan@siamics.net>
> Date: Thu, 03 Apr 2014 19:05:38 +0000
>
> > This far things are fine, although I'd like to know what kind of
> > autoload caused Emacs to load some Lisp file here, and what was that
> > file (the value of 'file' in frame 14 or of 'string' in frame 13
> > should tell you that).
>
> As I read it, the file is time-date.el, and it’s loaded for the
> seconds-to-time function.
OK, I see that as well.
> JFTR, as per the GDB transcripts MIMEd, Fload () is called to
> load uni-mirrored.el. The respective code is as follows.
>
> emacs-2014 $ nl -ba < src/bidi.c
> …
> 771
> 772 bidi_mirror_table = uniprop_table (intern ("mirroring"));
> 773 if (NILP (bidi_mirror_table))
> 774 emacs_abort ();
> 775 staticpro (&bidi_mirror_table);
> 776
> …
> emacs-2014 $
>
> […]
>
> > This code runs at "temacs -l loadup dump" time, so the result is that
> > uni-bidi.el gets loaded and dumped into the Emacs binary.
>
> Does the same apply to uni-mirrored.el?
No. I fixed this now on the emacs-24 branch (r116902).
(For he record, this crash didn't happen on my system because there
bidi_initialize is called for the first time before the user init file
is read, and therefore force-load-messages is still nil.)
> Is there an easy way to list the Unicode tables contained within
> the resulting binary?
You can call Ffeaturep, since each of the *.el files by convention
provides a feature unique to that file.
> BTW, is it normal that display_string () is called with an empty
> ‘string’ argument here, and in turn passes an empty (Lisp)
> ‘string’ to reseat_to_string ()?
Yes, it's normal, see display_menu_bar in xdisp.c, for example.
Thanks.
next prev parent reply other threads:[~2014-04-03 20:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 9:45 bug#17169: fails to start with (setq force-load-messages t) in ~/.emacs Ivan Shmakov
2014-04-02 16:29 ` Eli Zaretskii
2014-04-02 17:43 ` Ivan Shmakov
2014-04-02 20:20 ` Eli Zaretskii
2014-04-03 6:35 ` Ivan Shmakov
2014-04-03 15:58 ` Eli Zaretskii
2014-04-03 19:05 ` Ivan Shmakov
2014-04-03 20:00 ` Eli Zaretskii [this message]
2014-04-03 20:41 ` Ivan Shmakov
2014-04-04 7:55 ` Eli Zaretskii
2014-04-04 9:15 ` Ivan Shmakov
2014-04-04 9:47 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mwg29oa1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17169-done@debbugs.gnu.org \
--cc=ivan@siamics.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).