unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15805: 24.3.50; path to lisp/language?
@ 2013-11-04 22:56 Katsumi Yamaoka
  2013-11-05  3:47 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2013-11-04 22:56 UTC (permalink / raw)
  To: 15805

$ emacs -Q
Cannot open load file: No such file or directory, japan-util

$ export LC_ALL=C; export LANG=C; emacs -Q
It runs.
And "/usr/local/share/emacs/24.3.50/lisp/language" is found in
`load-path'.  But, er, it seems to be missing initially.

$ locale
LANG=C
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

In GNU Emacs 24.3.50.1 (i686-pc-cygwin, GTK+ Version 3.8.2)
 of 2013-11-05 on localhost
Bzr revision: 114953 monnier@iro.umontreal.ca-20131104204536-z5efgardvkwk4uw4
Windowing system distributor `The Cygwin/X Project', version 11.0.11403000
Configured using:
 `configure --verbose --with-x-toolkit=gtk3'

Important settings:
  value of $LC_CTYPE: ja_JP.UTF-8
  value of $LC_MESSAGES: C
  value of $LANG: C
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15805: 24.3.50; path to lisp/language?
  2013-11-04 22:56 bug#15805: 24.3.50; path to lisp/language? Katsumi Yamaoka
@ 2013-11-05  3:47 ` Eli Zaretskii
  2013-11-05  7:29   ` Katsumi Yamaoka
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2013-11-05  3:47 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 15805

> Date: Tue, 05 Nov 2013 07:56:59 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> 
> $ emacs -Q
> Cannot open load file: No such file or directory, japan-util
> 
> $ export LC_ALL=C; export LANG=C; emacs -Q
> It runs.
> And "/usr/local/share/emacs/24.3.50/lisp/language" is found in
> `load-path'.  But, er, it seems to be missing initially.

Please step through Fload with a debugger, and see what is going wrong
there.  Most probably, something is wrong in 'openp'.  I don't have
access to as system with ja_JP locale to do this myself.

Thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15805: 24.3.50; path to lisp/language?
  2013-11-05  3:47 ` Eli Zaretskii
@ 2013-11-05  7:29   ` Katsumi Yamaoka
  2013-11-05 16:19     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2013-11-05  7:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15805

Eli Zaretskii wrote:
>> Date: Tue, 05 Nov 2013 07:56:59 +0900
>> From: Katsumi Yamaoka <yamaoka@jpl.org>
>>
>> $ emacs -Q
>> Cannot open load file: No such file or directory, japan-util
>>
>> $ export LC_ALL=C; export LANG=C; emacs -Q
>> It runs.
>> And "/usr/local/share/emacs/24.3.50/lisp/language" is found in
>> `load-path'.  But, er, it seems to be missing initially.

> Please step through Fload with a debugger, and see what is going wrong
> there.  Most probably, something is wrong in 'openp'.  I don't have
> access to as system with ja_JP locale to do this myself.

Thanks.
I found what loads japan-util is `normal-top-level'.  In addition,
lisp/subdirs.el hasn't yet been evaluated at that time.  Here's
an xbacktrace:

(gdb) r -Q
Starting program: /Work/emacs-24.3.50/src/emacs -Q
[New Thread 10568.0x2c90]
[New Thread 10568.0x2968]
[New Thread 10568.0x2ec0]
[New Thread 10568.0x2914]
[New Thread 10568.0x37b0]
[New Thread 10568.0x1de8]
[New Thread 10568.0x145c]
[New Thread 10568.0x37d4]

Breakpoint 3, Fload (file=file@entry=6349529, noerror=noerror@entry=8468506, 
    nomessage=8468530, nosuffix=nosuffix@entry=8468506, must_suffix=8468530)
    at lread.c:1044
1044    {
(gdb) xbacktrace
"require" (0x22a558)
"set-language-environment" (0x22a6d8)
"set-locale-environment" (0x22a868)
"normal-top-level" (0x22a9a0)
(gdb) c
Continuing.
[Thread 10568.0x145c exited with code 0]
[New Thread 10568.0x3aa8]
[New Thread 10568.0x4104]
[New Thread 10568.0x4024]
Cannot open load file: No such file or directory, japan-util
[...]





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15805: 24.3.50; path to lisp/language?
  2013-11-05  7:29   ` Katsumi Yamaoka
@ 2013-11-05 16:19     ` Eli Zaretskii
  2013-11-05 22:41       ` Katsumi Yamaoka
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2013-11-05 16:19 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 15805

> Date: Tue, 05 Nov 2013 16:29:49 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: 15805@debbugs.gnu.org
> 
> Eli Zaretskii wrote:
> >> Date: Tue, 05 Nov 2013 07:56:59 +0900
> >> From: Katsumi Yamaoka <yamaoka@jpl.org>
> >>
> >> $ emacs -Q
> >> Cannot open load file: No such file or directory, japan-util
> >>
> >> $ export LC_ALL=C; export LANG=C; emacs -Q
> >> It runs.
> >> And "/usr/local/share/emacs/24.3.50/lisp/language" is found in
> >> `load-path'.  But, er, it seems to be missing initially.
> 
> > Please step through Fload with a debugger, and see what is going wrong
> > there.  Most probably, something is wrong in 'openp'.  I don't have
> > access to as system with ja_JP locale to do this myself.
> 
> Thanks.
> I found what loads japan-util is `normal-top-level'.  In addition,
> lisp/subdirs.el hasn't yet been evaluated at that time.

Right.  And I see that you actually said so in your original report,
but I misunderstood you.  Sorry.

Please try with the current trunk, I think I fixed this.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15805: 24.3.50; path to lisp/language?
  2013-11-05 16:19     ` Eli Zaretskii
@ 2013-11-05 22:41       ` Katsumi Yamaoka
  2013-11-06  3:48         ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2013-11-05 22:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15805-done

Eli Zaretskii wrote:
> Please try with the current trunk, I think I fixed this.

Works fine.  Thank you!





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15805: 24.3.50; path to lisp/language?
  2013-11-05 22:41       ` Katsumi Yamaoka
@ 2013-11-06  3:48         ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2013-11-06  3:48 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 15805

> Date: Wed, 06 Nov 2013 07:41:37 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: 15805-done@debbugs.gnu.org
> 
> Eli Zaretskii wrote:
> > Please try with the current trunk, I think I fixed this.
> 
> Works fine.  Thank you!

Thanks for testing.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-06  3:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-04 22:56 bug#15805: 24.3.50; path to lisp/language? Katsumi Yamaoka
2013-11-05  3:47 ` Eli Zaretskii
2013-11-05  7:29   ` Katsumi Yamaoka
2013-11-05 16:19     ` Eli Zaretskii
2013-11-05 22:41       ` Katsumi Yamaoka
2013-11-06  3:48         ` Eli Zaretskii

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).