[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
[Summary] Re: M-x grep での日本語文字列検索
- X-ml-count: 589
- Subject: [Summary] Re: M-x grep での日本語文字列検索
- From: Yoshihiro Tsukamoto <y-tukamoto@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 07 Jun 1999 09:35:26 +0900
- X-mailer: Becky! ver 1.25.04
塚本です。
おかげさまで M-x grep に日本語を通せましたので、サマリを書きます。
On Fri, 4 Jun 1999 15:12:09 +0900 (JST)
Yuh Ohmura <yutopia@xxxxxxxxxxxx> wrote:
> ML で出た方法は一時的な対処方法なので、まっとうには
> emacs 20.4 base の Meadow を待つか、NTemacsを使うという
> ことになりますか ^^;;;
とはいえ、検索はテキスト処理ツールの要ですから、
たとえ対症療法でも日本語を通したいものです。
On 05 Jun 1999 09:41:53 +0900
小関 吉則 (KOSEKI Yoshinori) <kose@xxxxxxxxxxxxxxxxxx> wrote:
> その時の解決策の書いてあるメールも置きましたのでどうぞ。
>
> http://www.netlaputa.ne.jp/~kose/Software/compile/index.html#jgrep
上記を参考に、.emacs に以下の設定を置きました。
;;; Emacs 20.2 のstart-processでcoding-systemが無視されるバグの対策
(if (and (= 20 emacs-major-version) (= 2 emacs-minor-version))
(if (functionp 'orig-start-process)
()
(fset 'orig-start-process (symbol-function 'start-process))
(defun start-process (name buffer program &rest args)
(interactive)
(apply 'orig-start-process name buffer program
(mapcar (lambda (arg)
(encode-coding-string arg file-name-coding-system))
args)))) )
;;
(setq grep-program "jgrep.exe"); 日本語対応版 grep (jvim に付属)
--
Yoshihiro Tsukamoto