unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chun-Chieh Huang <jjhuang@cm.nctu.edu.tw>
Subject: Processing Chinese Big5 in Emacs Info reader
Date: Sun, 18 Jan 2004 13:23:51 +0800	[thread overview]
Message-ID: <m2ektx6d94.fsf@cm.nctu.edu.tw> (raw)

Dear all,

I don't know current policy of FSF for supporting Chinese Big5 in its
Info/Texinfo utilities. But I did a quick fix to read Chinese Big5 in
Emacs Info reader. BTW, if I converted my texinfo files to Info by
texinfo-format-buffer command in Texinfo-mode, I can process Chinese
Big5 too. Makeinfo, however, can't process Chinese Big5 correctly. So
maybe the Chinese translation team in FSF can use Emacs to process
Texinfo and Info. 

I only changed one line in info.el to support Big5 Info reading in
Emacs, as below: (info.el from CVS)

[jjhuang@albert-laptop lisp]$ diff info.el.~1.376.~ info.el
343c343,344
<               (coding-system-for-write 'no-conversion)
---
> ;;            (coding-system-for-write 'no-conversion)
>               (coding-system-for-write 'buffer-file-coding-system)

But I only test it on my GNU Emacs 21.3.1 (i386-mandrake-linux-gnu, X
toolkit, Xaw3d scroll bars) of 2003-08-27 on ke.mandrakesoft.com,
modified by Mandrake. It works fine. Finally, I can edit some Texinfo
files and convert them into Info, and read it in Emacs. Usually the
Chinese Big5 users would change buffer-file-coding-system to
chinese-big5, so this is a quick fix only. :-)


Chun-Chieh
-- 
Chun-Chieh Huang, aka Albert    E-mail: jjhuang AT cm.nctu.edu.tw
黃俊傑                         
Department of Computer Science  
National Tsing Hua University   MIME/ASCII/PDF/PostScript are welcome!
HsinChu, Taiwan                 NO MS WORD DOC FILE, PLEASE!

             reply	other threads:[~2004-01-18  5:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18  5:23 Chun-Chieh Huang [this message]
2004-01-18  6:52 ` Processing Chinese Big5 in Emacs Info reader Eli Zaretskii
2004-01-18 15:28   ` Chun-Chieh Huang
2004-01-18 16:16 ` Chun-Chieh Huang

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=m2ektx6d94.fsf@cm.nctu.edu.tw \
    --to=jjhuang@cm.nctu.edu.tw \
    /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).