all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
@ 2004-10-04  8:32 zrr
  2004-10-04 12:12 ` Kenichi Handa
  0 siblings, 1 reply; 9+ messages in thread
From: zrr @ 2004-10-04  8:32 UTC (permalink / raw)



Hi,

  I have successfully compiled the most recent unicode-2 branch on
  my slackware box.(kernel 2.6.8.1, gcc 3.2.3, glibc-2.3.2)

  My default locale is "zh_CN.gbk". When I tried to run emacs with
  this command "./src/emacs -q", emacs starts up but complains
  "Cannot open load file: tool-bar". Actually, it can't load any
  library.

  Here is the full error message I have got:

    Loading mwheel...done
    (./emacs -q)
    Failure in loading charset map: "GBK" [5718 times]
    command-line: Cannot open load file: tool-barFailure in loading charset map: "GBK"
    Failure in loading charset map: "GBK" [50080 times]

  I managed to specify another locale for emacs in this way
  "LC_CTYPE=zh_CN.utf8 ./src/emacs -q". It works. After I tried some
  other locale settings, for instance, zh_CN.gb18030, en_US.utf8,
  etc. I realized that emacs only can't work in "zh_CN.gbk" locale.

  Is this a bug?

  By the way, it seems that a big change have been made on unicode
  emacs font selection method. I encountered some mess of font
  settings. Is there any new documentation about this topic?

Best Regards!
Tang

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04  8:32 [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale zrr
@ 2004-10-04 12:12 ` Kenichi Handa
  2004-10-04 13:40   ` zrr
                     ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kenichi Handa @ 2004-10-04 12:12 UTC (permalink / raw)
  Cc: emacs-devel

In article <m27jq6nat0.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:
>   I have successfully compiled the most recent unicode-2 branch on
>   my slackware box.(kernel 2.6.8.1, gcc 3.2.3, glibc-2.3.2)

>   My default locale is "zh_CN.gbk". When I tried to run emacs with
>   this command "./src/emacs -q", emacs starts up but complains
>   "Cannot open load file: tool-bar". Actually, it can't load any
>   library.

>   Here is the full error message I have got:

>     Loading mwheel...done
>     (./emacs -q)
>     Failure in loading charset map: "GBK" [5718 times]
>     command-line: Cannot open load file: tool-barFailure in loading charset map: "GBK"
>     Failure in loading charset map: "GBK" [50080 times]

Thank you for the report.  There was an error in the
definition of chinese-gbk coding system; it couldn't handle
ascii. :-(  I've jsut installed a fix.  Please try again.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 12:12 ` Kenichi Handa
@ 2004-10-04 13:40   ` zrr
  2004-10-04 23:06     ` Kenichi Handa
  2004-10-04 16:52   ` zrr
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: zrr @ 2004-10-04 13:40 UTC (permalink / raw)
  Cc: beijing_2008_gold, emacs-devel

Kenichi Handa <handa@m17n.org> writes:


> In article <m27jq6nat0.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:
>>   I have successfully compiled the most recent unicode-2 branch on
>>   my slackware box.(kernel 2.6.8.1, gcc 3.2.3, glibc-2.3.2)
>
>>   My default locale is "zh_CN.gbk". When I tried to run emacs with
>>   this command "./src/emacs -q", emacs starts up but complains
>>   "Cannot open load file: tool-bar". Actually, it can't load any
>>   library.
>
>>   Here is the full error message I have got:
>
>>     Loading mwheel...done
>>     (./emacs -q)
>>     Failure in loading charset map: "GBK" [5718 times]
>>     command-line: Cannot open load file: tool-barFailure in loading charset map: "GBK"
>>     Failure in loading charset map: "GBK" [50080 times]
>
> Thank you for the report.  There was an error in the
> definition of chinese-gbk coding system; it couldn't handle
> ascii. :-(  I've jsut installed a fix.  Please try again.

  Great!
  It works well now, Thanks for your hardworking.

  Maybe there are still more works to be doen, emacs can't handle
  X11 GBK fonts now. :-(

Tang
>
> ---
> Ken'ichi HANDA
> handa@m17n.org
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 12:12 ` Kenichi Handa
  2004-10-04 13:40   ` zrr
@ 2004-10-04 16:52   ` zrr
  2004-10-05  0:27     ` Kenichi Handa
  2004-10-05 14:37   ` zrr
  2004-10-05 16:23   ` zrr
  3 siblings, 1 reply; 9+ messages in thread
From: zrr @ 2004-10-04 16:52 UTC (permalink / raw)
  Cc: beijing_2008_gold, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> In article <m27jq6nat0.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:
>>   I have successfully compiled the most recent unicode-2 branch on
>>   my slackware box.(kernel 2.6.8.1, gcc 3.2.3, glibc-2.3.2)
>
>>   My default locale is "zh_CN.gbk". When I tried to run emacs with
>>   this command "./src/emacs -q", emacs starts up but complains
>>   "Cannot open load file: tool-bar". Actually, it can't load any
>>   library.
>
>>   Here is the full error message I have got:
>
>>     Loading mwheel...done
>>     (./emacs -q)
>>     Failure in loading charset map: "GBK" [5718 times]
>>     command-line: Cannot open load file: tool-barFailure in loading charset map: "GBK"
>>     Failure in loading charset map: "GBK" [50080 times]
>
> Thank you for the report.  There was an error in the
> definition of chinese-gbk coding system; it couldn't handle
> ascii. :-(  I've jsut installed a fix.  Please try again.

  Emacs can works in 'zh_CN.gbk' locale now, but it still can't
  handle 'gbk' coding X fonts.

  I have solved this problem by adding following lines in my .emacs
  file:

     (add-to-list 'font-encoding-alist '("gbk" . chinese-gbk))
     (add-to-list 'charset-script-alist '(chinese-gbk . han))

  However, maybe you should fix it in the 'fontset.el'.


Cheers!
Tang
>
> ---
> Ken'ichi HANDA
> handa@m17n.org
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 13:40   ` zrr
@ 2004-10-04 23:06     ` Kenichi Handa
  0 siblings, 0 replies; 9+ messages in thread
From: Kenichi Handa @ 2004-10-04 23:06 UTC (permalink / raw)
  Cc: emacs-devel

In article <m2llemvby8.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:
>   Maybe there are still more works to be doen, emacs can't handle
>   X11 GBK fonts now. :-(

As I don't have GBK font, I can't test it.  Please tell me
from where to get a GBK font?

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 16:52   ` zrr
@ 2004-10-05  0:27     ` Kenichi Handa
  0 siblings, 0 replies; 9+ messages in thread
From: Kenichi Handa @ 2004-10-05  0:27 UTC (permalink / raw)
  Cc: emacs-devel

In article <m2wty6s9wm.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:
>   Emacs can works in 'zh_CN.gbk' locale now, but it still can't
>   handle 'gbk' coding X fonts.

>   I have solved this problem by adding following lines in my .emacs
>   file:

>      (add-to-list 'font-encoding-alist '("gbk" . chinese-gbk))
>      (add-to-list 'charset-script-alist '(chinese-gbk . han))

>   However, maybe you should fix it in the 'fontset.el'.

Thank you for finding the solution.  I've just installed a
fix in fontset.el.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 12:12 ` Kenichi Handa
  2004-10-04 13:40   ` zrr
  2004-10-04 16:52   ` zrr
@ 2004-10-05 14:37   ` zrr
  2004-10-05 23:16     ` Kenichi Handa
  2004-10-05 16:23   ` zrr
  3 siblings, 1 reply; 9+ messages in thread
From: zrr @ 2004-10-05 14:37 UTC (permalink / raw)
  Cc: beijing_2008_gold, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

Bug report.

In "mule-cmds.el" line 2177 and 2178

     ("zh.*[._].gb18030" . "Chinese-GB18030") ; zh_CN.GB18030/GB18030 in glibc
     ("zh.*[._].gbk" . "Chinese-GBK")

The two regexps can't match "zh_CN.gb18030" and "zh_CN.gbk". Perhaps
they should be "zh.*[._]gb18030" and "zh.*[._]gbk".

Cheers!
Tang

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-04 12:12 ` Kenichi Handa
                     ` (2 preceding siblings ...)
  2004-10-05 14:37   ` zrr
@ 2004-10-05 16:23   ` zrr
  3 siblings, 0 replies; 9+ messages in thread
From: zrr @ 2004-10-05 16:23 UTC (permalink / raw)
  Cc: beijing_2008_gold, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

Bug report.

In "mule-cmds.el" line 2177 and 2178

     ("zh.*[._].gb18030" . "Chinese-GB18030") ; zh_CN.GB18030/GB18030 in glibc
     ("zh.*[._].gbk" . "Chinese-GBK")

The two regexps can't match "zh_CN.gb18030" and "zh_CN.gbk". Perhaps
they should be "zh.*[._]gb18030" and "zh.*[._]gbk".

Cheers!
Tang

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

* Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale
  2004-10-05 14:37   ` zrr
@ 2004-10-05 23:16     ` Kenichi Handa
  0 siblings, 0 replies; 9+ messages in thread
From: Kenichi Handa @ 2004-10-05 23:16 UTC (permalink / raw)
  Cc: emacs-devel

In article <m21xgdmdtb.fsf@yahoo.com.cn>, zrr <beijing_2008_gold@yahoo.com.cn> writes:

> Kenichi Handa <handa@m17n.org> writes:
> Bug report.

> In "mule-cmds.el" line 2177 and 2178

>      ("zh.*[._].gb18030" . "Chinese-GB18030") ; zh_CN.GB18030/GB18030 in glibc
>      ("zh.*[._].gbk" . "Chinese-GBK")

> The two regexps can't match "zh_CN.gb18030" and "zh_CN.gbk". Perhaps
> they should be "zh.*[._]gb18030" and "zh.*[._]gbk".

Thank you for the report.  I've just fixed it.

---
Ken'ichi HANDA
handa@m17n.org

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

end of thread, other threads:[~2004-10-05 23:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04  8:32 [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale zrr
2004-10-04 12:12 ` Kenichi Handa
2004-10-04 13:40   ` zrr
2004-10-04 23:06     ` Kenichi Handa
2004-10-04 16:52   ` zrr
2004-10-05  0:27     ` Kenichi Handa
2004-10-05 14:37   ` zrr
2004-10-05 23:16     ` Kenichi Handa
2004-10-05 16:23   ` zrr

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.