From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.help Subject: Displaying Chinese text in 20.7 vs 21.3? Date: Tue, 03 Jun 2003 13:14:38 -0400 Organization: The Mitre Corp., Bedford, MA. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1054661115 32009 80.91.224.249 (3 Jun 2003 17:25:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 17:25:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 19:25:12 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NFSX-0007uz-00 for ; Tue, 03 Jun 2003 19:20:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NFNt-0000d8-Qo for gnu-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2003 13:15:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed!newstransit.mitre.org!news.mitre.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 57 Original-NNTP-Posting-Host: blackbird.mitre.org Original-X-Trace: newslocal.mitre.org 1054660478 29467 129.83.3.34 (3 Jun 2003 17:14:38 GMT) Original-X-Complaints-To: news@mitre.org Original-NNTP-Posting-Date: Tue, 3 Jun 2003 17:14:38 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, cygwin32) Cancel-Lock: sha1:e5IjK5Xb1aczJrsZmgPILTdInnI= Original-Xref: shelby.stanford.edu gnu.emacs.help:114050 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10544 --=-=-= Last week I upgraded our installation of Emacs from 20.7 to 21.3. I'm now hearing from some of my users that the code they used to display Chinese text in 20.7 no longer works. When they run this bit of code (typically out of .emacs) they now get an error. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (setq load-path (cons "/afs/rcf/project/empty/elisp/unicode" load-path)) (require 'oc-unicode) (if (fboundp 'oc-create-fontset) (progn ; to prefer utf-8 for new files (prefer-coding-system 'utf-8) ; to make utf-8 active on all unmarked files ; (files that don't end with .utf) ; To override, use ; M-x universal-coding-system-argument [enc name] C-x C-f [filename] (modify-coding-system-alist 'file "" 'utf-8) ; to put a sufficient font in the fontset (if (eq window-system 'x) (progn (set-frame-font (oc-create-fontset "-misc-fixed-medium-r-normal--18-*-*-*-*-*-fontset-standard" "-misc-fixed-medium-r-normal-ja-18-*-iso10646-*")) )))) --=-=-= Content-Disposition: inline The error is: error: "There's no room for a new private charset unicode-b" Before I go about either rolling back our installation or (more likely) providing this particular group their own installation of 20.7 I'm hoping someone can tell us how to correctly view Chinese text under Emacs 21.3. Thanks, -- Dave Goldberg Associate Department Head, G06A: Advanced Technical Computing Center The Mitre Corporation \ MS K331 \ 202 Burlington Rd. \ Bedford, MA 01730 dsg@mitre.org \ 781-271-3887 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --=-=-=--