🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by TAGA Yoshitaka Thu, 08 Jul 1999 00:00
Help: ispell+mule won't work well!
#619
Author: TAGA Yoshitaka
Date: Thu, 08 Jul 1999 00:00
25 lines
1331 bytes
多賀@津田塾と申します。

Mule の上で Latin-1 の文字を含む言語で M-x ispell-region や M-x
ispell-buffer
( (ispell-region ...) を呼んでいるので当然ですけど) を実行すると、
Latin-1の文字の
前に語の切れ目があるような結果になってしまいます。M-x ispell-word では、
外の
LANG の値や primary-environment の値により変わるのですが、うまく行く語と
うま
く行かない語があります。

とりあえず Latin-1 の文字をTeX用に書き換える elisp を書いてごまかしてい
るの
ですが、どなたか解決法をご存知ありませんか。ispell.el を読んでいると頭が
痛く
なって来て...。

環境は、
OS: Linux 2.0.36 (Vine)
Mule: GNU Emacs 19.34.1 / Mule 2.3
Ispell: International Ispell 3.1.20
です。

tagga
Re: Help: ispell+mule won't work well!
#620
Author: TAGA Yoshitaka
Date: Fri, 09 Jul 1999 00:00
22 lines
1223 bytes
えーと、多賀@津田塾です。解決しました。

;; すみません。Netscapeで投稿するのがこの間が初めて
:: で、まだ、設定がうまくできていません。これも変?

ASCII 以外の文字を使っていると、*リーディングキャラ
クタ* を含むものを Mule と Ispell がやり取りをして、
Mule が途中で、コード系を誤解するというのが、理由
でした。

(define-program-code-system nil "ispell"
   (cons *iso-8859-1* iso-8859-1*))

でとりあえずうまくいきます。

(define-program-code-system nil "ispell"
  (cons *internal* *internal*))

として、*.aff を書き換えて、辞書を作り直すと、多言語
対応します。

tagga
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads