🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #64

Re: 最初から英数字のみのテキストの編集バッファを euc-jp にする方法は?

#64
From: Oota Toshiya
Date: Fri, 14 Jul 2000 00:00
31 lines
2162 bytes
From article <ur98xqx9t.fsf@kei.nanap.org>
	by Keiichi Suzuki <keiichi@nanap.org>

> (setq default-buffer-file-coding-system 'euc-jp-unix)
>
> とすれば、お望みの結果が得られるのではないかと思います。
> また、ご使用の環境が euc-jp base のものであれば、
> set-default-coding-systems() を使うのもお勧めです。

やってみました。

現在の coding system 関連の設定はこのようになっています。

(set-language-environment "Japanese")
(set-default-coding-systems 'euc-jp-unix)
(set-keyboard-coding-system 'euc-jp-unix)
(set-terminal-coding-system 'euc-jp-unix)
(set-buffer-file-coding-system 'euc-jp-unix)
(setq buffer-file-type 'euc-jp-unix)
(setq buffer-file-coding-system 'euc-jp-unix)
(setq default-buffer-file-coding-system 'euc-jp-unix)

で、新規にまっさらのファイルを作ると、ステータスの所は確かに -EEE と
なってeucのファイルができます。
所が、やはり、英数字のみのファイルを編集しようとすると -EE- で、バッファを
EUCとみなしてくれないんです...

----
太田 俊哉@NECソリューションズ コンピュータ企画本部(府中 東京 日本 地球 太陽系) 
(samba-jp ML maintainer/mutt-jp ML server maintainer)
Technical Details
Message-ID: <8klupo$se3$1@cadup.com1.fc.nec.co.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8klm0h$1q5$2@cadup.com1.fc.nec.co.jp> <ur98xqx9t.fsf@kei.nanap.org>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,1f1909bca350680
X-Google-Attributes: gid10eba4,public
X-Google-Thread: ff358,1f1909bca350680
X-Google-Attributes: gidff358,public
From: oota@ppd.fc.nec.co.jp (Oota Toshiya)
Subject: Re: 最初から英数字のみのテキストの編集バッファを euc-jp にする方法は?
Date: 2000/07/14
Message-ID: <8klupo$se3$1@cadup.com1.fc.nec.co.jp>
X-Deja-AN: 646167164
References: <8klm0h$1q5$2@cadup.com1.fc.nec.co.jp> <ur98xqx9t.fsf@kei.nanap.org>
Content-Type: text/plain; charset=ISO-2022-JP
X-Complaints-To: usenet@cadup.com1.fc.nec.co.jp
X-Trace: cadup.com1.fc.nec.co.jp 963542648 29123 10.32.14.60 (14 Jul 2000 02:44:08 GMT)
Organization: NEC
Mime-Version: 1.0
NNTP-Posting-Date: 14 Jul 2000 02:44:08 GMT
Newsgroups: fj.editor.mule,fj.editor.emacs