Bug 239394 - strange behaviour in Japanese locale
Summary: strange behaviour in Japanese locale
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xemacs-packages-extra
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-08 04:49 UTC by Jens Petersen
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 20070427-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-21 11:49:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot-XEmacs.png (34.23 KB, image/png)
2007-05-08 04:49 UTC, Jens Petersen
no flags Details
Don't try to load un-define in XEmacs >= 21.5 (in Japanese UTF-8 setups) (777 bytes, patch)
2007-05-08 16:19 UTC, Ville Skyttä
no flags Details | Diff
locale-start.el-ja.patch (3.90 KB, application/octet-stream)
2007-05-09 01:58 UTC, Jens Petersen
no flags Details
locale-start.el (11.92 KB, application/octet-stream)
2007-05-09 02:01 UTC, Jens Petersen
no flags Details

Description Jens Petersen 2007-05-08 04:49:43 UTC
Description of problem:
When I run xemacs in Japanese, I see French text partly appearing in
initial help text.

Version-Release number of selected component (if applicable):
xemacs-21.5.27-8.fc7.x86_64
xemacs-common-21.5.27-8.fc7.x86_64
xemacs-packages-base-20061221-1.fc7.noarch
xemacs-packages-extra-20061221-1.fc7.noarch

How reproducible:
every time

Steps to Reproduce:
1. LANG=ja_JP.UTF-8 /usr/bin/xemacs -vanilla
2. LANG=ja_JP.UTF-8 /usr/bin/xemacs -help

Actual results:
1. see screenshot
2. outputs:

  Loading leim-list...

xemacs exiting.


Expected results:
1. No French in initial splash help text
2. help to appear in shell

Comment 1 Jens Petersen 2007-05-08 04:49:43 UTC
Created attachment 154311 [details]
Screenshot-XEmacs.png

Comment 2 Ville Skyttä 2007-05-08 16:17:45 UTC
(In reply to comment #0)
> 1. No French in initial splash help text

French is displayed... well, because the Japanese startup screen code actually
contains French :P.  I don't speak nor write either, will report upstream. 
Unless you happen to know Japanese well enough to provide the translation?
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/mule-packages/locale/start-files/ja/locale-start.el?rev=.&content-type=text/vnd.viewcvs-markup

> 2. help to appear in shell

After "xemacs exiting.", I see also 'Cannot open load file: "un-define"'; the
attached patch (for xemacs-packages-extra) appears to be one crude way of fixing
it for XEmacs >= 21.5, will send upstream too.

Comment 3 Ville Skyttä 2007-05-08 16:19:02 UTC
Created attachment 154344 [details]
Don't try to load un-define in XEmacs >= 21.5 (in Japanese UTF-8 setups)

Comment 4 Jens Petersen 2007-05-09 01:58:54 UTC
Created attachment 154374 [details]
locale-start.el-ja.patch

Here is a patch with Japanese translations.
I attached it as binary since I am not very sure what will happen to the
encodings
as plain text.	(Japanese is ISO2022-JP, French was already corrupted?)

Comment 5 Jens Petersen 2007-05-09 02:01:22 UTC
Created attachment 154375 [details]
locale-start.el

Note this is based on the current
"/usr/share/xemacs/mule-packages/etc/start-files/ja/locale-start.el"
in xemacs-packages-extra-20061221-1.fc7.

Comment 6 Jens Petersen 2007-05-09 02:06:28 UTC
(In reply to comment #5)
> Note this is based on the current [..]
> xemacs-packages-extra-20061221-1.fc7.

But since according to cvs this file hasn't changed in the last couple of years
that should be fine I guess. :)

Comment 7 Jens Petersen 2007-05-09 02:08:47 UTC
Comment on attachment 154375 [details]
locale-start.el

(Attachment 154375 [details] should be in iso2022-jp.)

Comment 8 Jens Petersen 2007-05-09 02:10:19 UTC
Oh, if upstream prefers utf-8 encoding I am happy to provide it too.

Comment 9 Ville Skyttä 2007-05-21 11:49:09 UTC
Fixed in 20070427-1 in Rawhide, and both changes committed upstream too.  Thanks!

Comment 10 Jens Petersen 2007-06-07 02:27:04 UTC
Maybe unrelated but when I ran xemacs in rawhide yesterday I noticed
some garbage/boxes in a couple of the entries on the menubar,
presumably fonts related - I guess until now the menu was not translated?

Do you want another bug for that?

Comment 11 Ville Skyttä 2007-06-07 14:16:42 UTC
Yes, please report all new bugs as such.

Anyway, I know that there are charset issues with the buffer tabs, but don't
remember encountering them in the menubar.

Comment 12 Jens Petersen 2007-06-13 05:37:27 UTC
Ok, no problem: I opened bug 243973 for the ja menubar issue.


Note You need to log in before you can comment on or make changes to this bug.