[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users-jp 00632] Re: How to use in EUC code?
- To: mgp-users-jp@mew.org
- Subject: [mgp-users-jp 00632] Re: How to use in EUC code?
- From: kiri@pis.toba-cmt.ac.jp
- Date: Sun, 7 Nov 1999 22:23:57 +0900
- In-reply-to: In your message of "Sat, 30 Oct 1999 11:56:24 +0900" <>
- Posted: Sun, 07 Nov 1999 22:25:47 +0900
- References: <> <>
- Reply-to: mgp-users-jp@mew.org
- User-agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) MULE XEmacs/21.1 (patch 7) (Biscayne) (i386--freebsd)
桐山 です。
At Sat, 30 Oct 1999 11:56:24 +0900,
SHUDO Kazuyuki <shudoh@muraoka.info.waseda.ac.jp> wrote:
>
> > mgp はデフォルトのコードは JIS ですが、
> > これを EUC にする方法はありますでしょうか?
>
> いわゆる JIS で書く必要があるのは仕様です。
スッゴイ安直な方法ですが、
--- mgp-mode.el~ Mon Apr 12 02:44:41 1999
+++ mgp-mode.el Sun Nov 7 22:12:11 1999
@@ -378,8 +378,9 @@
(if (buffer-file-name (current-buffer))
(let ((compilation-window-height mgp-window-height))
(compile-internal
- (concat command-args " "
- (file-name-nondirectory (buffer-file-name (current-buffer))))
+ (concat "nkf -j "
+ (file-name-nondirectory (buffer-file-name (current-buffer)))
+ " > /tmp/temp.mgp;" command-args " /tmp/temp.mgp")
"No more errors" "MagicPoint"))))
(defun mgp-current-page-position (arg)
でしのぐことにしました。