* what is loading and when
@ 2006-06-05 11:27 reader
2006-06-05 19:54 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: reader @ 2006-06-05 11:27 UTC (permalink / raw)
I have a mystery in newly installed emacs-cvs running on gentoo linux
under kde-3.5.
I get warnings in *Messages* about a font not being available but I
cannot determine where the font is attempting to be loaded.
*Messages* buffer is included at the end.
Of course I've grepped all likely candidates such as .emacs and
site-start.el. Even grep -rl PATTERN /usr/share/emacs and ditto for
all dot files in ~/ including .xresources.
I took a tip from Kai G. years ago and load a piece of lisp that makes
emacs report what it is loading but these warnings come before that
gets loaded (its loaded from site-start.el).
How can I findout where these warning are coming from? I understood
that site-start.el should be the first file loaded if no default.el is
found and in this case there is none. So in the Messages buffer below
note that the warnings appear to come before site-start.el is loaded.
I'm saying that because whats_loading.el is reported below warnings
and it is loaded from site-start.el:
I'd like to load whats_loading.el before anything or somehow compile
it into emacs. Or is there a better way to learn where and when stuff
is loaded?
==========================
Warning: no fonts matching `-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-1' available [2 times]
Warning: no fonts matching `-*-*-medium-r-normal-*-16-*-*-*-*-*-iso8859-1' available
Warning: no fonts matching `-*-*-*-r-normal-*-16-*-*-*-*-*-iso8859-1' available
Warning: no fonts matching `-*-*-*-*-normal-*-16-*-*-*-*-*-iso8859-1' available
Warning: no fonts matching `-*-*-*-*-*-*-16-*-*-*-*-*-iso8859-1' available [2 times]
(emacs)
**** [ -ed Harry] note that everything below is loaded from
site-start.el
Loading w3m-wget...done
Loading /usr/local/share/emacs/site-lisp/whats_loading.el (source)...
Loading advice...done
Loading /usr/local/share/emacs/site-lisp/whats_loading.el (source)...done
(Tip from Kai G): Now loading: /root/.emacs-custom
Loading /root/.emacs-custom...done
Loading skeleton...done
Loading regexp-opt...done
(Tip from Kai G): Now loading: nil [3 times]
For information about the GNU Project and its goals, type C-h C-p.
byte-code: Beginning of buffer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: what is loading and when
2006-06-05 11:27 what is loading and when reader
@ 2006-06-05 19:54 ` Eli Zaretskii
2006-06-06 0:58 ` reader
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2006-06-05 19:54 UTC (permalink / raw)
> From: reader@newsguy.com
> Date: Mon, 05 Jun 2006 06:27:01 -0500
>
> I have a mystery in newly installed emacs-cvs running on gentoo linux
> under kde-3.5.
Problems with CVS Emacs should be posted to emacs-devel@gnu.org.
> How can I findout where these warning are coming from?
Grepping the lisp tree for "no fonts matching" finds a single hit --
in fontset.el. Run fontset.el under Edebug or modify it to print some
useful info, and you should be able to find out who calls the function
that issues the warnings.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: what is loading and when
2006-06-05 19:54 ` Eli Zaretskii
@ 2006-06-06 0:58 ` reader
2006-06-06 3:32 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: reader @ 2006-06-06 0:58 UTC (permalink / raw)
Eli Zaretskii <eliz@gnu.org> writes:
>> From: reader@newsguy.com
>> Date: Mon, 05 Jun 2006 06:27:01 -0500
>>
>> I have a mystery in newly installed emacs-cvs running on gentoo linux
>> under kde-3.5.
>
> Problems with CVS Emacs should be posted to emacs-devel@gnu.org.
Hello Eli,
I suspect it is more problem elsewhere in X or even in gentoo
modifications so posted here.
>> How can I findout where these warning are coming from?
>
> Grepping the lisp tree for "no fonts matching" finds a single hit --
> in fontset.el. Run fontset.el under Edebug or modify it to print some
> useful info, and you should be able to find out who calls the function
> that issues the warnings.
I've renamed fontset.elc then edited fontset.el by commenting out the
warning at line:406
;; (message "Warning: no fonts matching `%s' available" pattern)
Starting a fresh emacs I still see the same warnings. And no mention
of loading fontset.el from source now that *.elc is out of play.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: what is loading and when
2006-06-06 0:58 ` reader
@ 2006-06-06 3:32 ` Eli Zaretskii
2006-06-07 10:20 ` reader
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2006-06-06 3:32 UTC (permalink / raw)
> From: reader@newsguy.com
> Date: Mon, 05 Jun 2006 19:58:02 -0500
>
> > Problems with CVS Emacs should be posted to emacs-devel@gnu.org.
>
> Hello Eli,
>
> I suspect it is more problem elsewhere in X or even in gentoo
> modifications so posted here.
Suit yourself, but even if these problems are with Gentoo, there's
much more expertise with the CVS code on emacs-devel than here.
> > Grepping the lisp tree for "no fonts matching" finds a single hit --
> > in fontset.el. Run fontset.el under Edebug or modify it to print some
> > useful info, and you should be able to find out who calls the function
> > that issues the warnings.
>
> I've renamed fontset.elc then edited fontset.el by commenting out the
> warning at line:406
> ;; (message "Warning: no fonts matching `%s' available" pattern)
>
> Starting a fresh emacs I still see the same warnings.
Of course, you would: fontset.elc is preloaded when Emacs is built, so
any changes in fontset.el that aren't followed by rebuilding Emacs
will have no effect.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: what is loading and when
2006-06-06 3:32 ` Eli Zaretskii
@ 2006-06-07 10:20 ` reader
2006-06-07 15:24 ` Peter Dyballa
0 siblings, 1 reply; 6+ messages in thread
From: reader @ 2006-06-07 10:20 UTC (permalink / raw)
Eli Zaretskii <eliz@gnu.org> writes:
>> Starting a fresh emacs I still see the same warnings.
>
> Of course, you would: fontset.elc is preloaded when Emacs is built, so
> any changes in fontset.el that aren't followed by rebuilding Emacs
> will have no effect.
Ahh ok, I see. Where can I get that kind of info. What is preloaded
what isn't .. etc somewhere?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: what is loading and when
2006-06-07 10:20 ` reader
@ 2006-06-07 15:24 ` Peter Dyballa
0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2006-06-07 15:24 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 07.06.2006 um 12:20 schrieb reader@newsguy.com:
> What is preloaded what isn't .. etc somewhere?
Look into lisp/loadup.el!
--
Greetings
Pete
<\
\__ O __O
| O\ _\\/\-% _`\<,
'()-'-(_)--(_) (_)/(_)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-07 15:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 11:27 what is loading and when reader
2006-06-05 19:54 ` Eli Zaretskii
2006-06-06 0:58 ` reader
2006-06-06 3:32 ` Eli Zaretskii
2006-06-07 10:20 ` reader
2006-06-07 15:24 ` Peter Dyballa
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.