From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "niDapeng" Newsgroups: gmane.emacs.help Subject: Re: xml encoding conflict with my defult emacs language configuartion Date: Tue, 24 Feb 2004 14:16:07 +0800 (CST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077603653 18522 80.91.224.253 (24 Feb 2004 06:20:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2004 06:20:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 07:20:36 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AvVvo-0004Eg-00 for ; Tue, 24 Feb 2004 07:20:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvVu5-0005Th-1E for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2004 01:18:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AvVtX-0005MU-6e for help-gnu-emacs@gnu.org; Tue, 24 Feb 2004 01:18:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AvVsw-0004Hd-Qc for help-gnu-emacs@gnu.org; Tue, 24 Feb 2004 01:18:11 -0500 Original-Received: from [61.140.60.50] (helo=21cn.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1AvVst-0003sP-RG for help-gnu-emacs@gnu.org; Tue, 24 Feb 2004 01:17:36 -0500 Original-Received: from 21cn.com([10.2.2.2]) by 21cn.com(AIMC 2.9.5.6) with SMTP id jm17403b0c4e; Tue, 24 Feb 2004 14:20:50 +0800 X-AIMailer: AIMC 2.9.5.6 2002.10.10 X-AIMime: MIME/SMIME Lib 2.9 2.9 2002.10.10 Original-To: eliz@elta.co.il X-Priority: 3 X-Originating-IP: 170.252.155.1 X-AIMC-AUTH: (null) X-AIMC-MAILFROM: steveneo@21cn.com X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17116 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17116 I guess my English isn't good enough to explain my question exactly. My emacs is Windows version 21.3.1. And you needn't try to guess my emacs setting from my email encoding, becuase I didn't use Emacs as my email client:) My .emacs has such settting: ============================================ (set-language-environment 'Chinese-GB) (set-clipboard-coding-system 'chinese-iso-8bit) ;euc-cn (set-terminal-coding-system 'chinese-iso-8bit) (set-buffer-file-coding-system 'chinese-iso-8bit) (set-selection-coding-system 'chinese-iso-8bit) (set-keyboard-coding-system 'chinese-iso-8bit) (setq-default pathname-coding-system 'chinese-iso-8bit) (modify-coding-system-alist 'process "*" 'chinese-iso-8bit) (setq default-process-coding-system '(chinese-iso-8bit . chinese-iso-8bit)) ==================================================== I use XAE to create a docbook XML file, and input Chinese words. When I save, message pop up like my last mail. I guess the reason is : my buffer file is GB2312 encoding, but emacs try to save it as UTF-8, and emacs can't convert GB2312 Chinese words to UTF-8 automatically. So emacs ask if I want to save forcedly . BTW, my another mail, about "Redo" function. My mean is when I do more "undo", I can't use "redo" function to "undo" last time "undo":). I do think it's common request for an editor. but why emacs hasn't accept "redo" as default command. Thanks your kindly reply! Best ---------------------------------------------- 玩游戏赢数码相机、MP3、U盘 http://mail.21cn.com/huodong/0310/ 中美日韩高中生性调查:日女生性观念最开放 http://news.21cn.com/huahua/ 广东ADSL用户有着数,21CN商务邮免费领 http://mail.21cn.com/vip 希腊前总理与美艳空姐闹出桃色性丑闻(图) http://news.21cn.com/social/