Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change coding-system to utf-8 #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-03-30 Takahiro Fujisawa <[email protected]>

Converted the code written in ISO-2022-JP, Shift JIS, and EUC-JP character codes to UTF-8.

2020-09-06 Tsuyoshi Kitamoto <[email protected]>

* skk.el (skk-henkan-show-candidates-buffer, skk-show-num-type-info): Remove code for window management.
Expand Down
2 changes: 1 addition & 1 deletion READMEs/AUTHORS.ja
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ skk-server.el, skk.el, skk-study.el, bayesian/bskk
** and more.



Local variables:
coding: utf-8
mode: outline
Expand Down
2 changes: 1 addition & 1 deletion READMEs/CODENAME.ja
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ http://www.jrhokkaido.co.jp/network/img/routemap_j.pdf
http://www2.jrhokkaido.co.jp/global/english/rmap/route_map.pdf

* Next, where shall we go?

Local variables:
coding: utf-8
mode: outline
Expand Down
2 changes: 1 addition & 1 deletion READMEs/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ PDF manual are available.
If you are looking for example elisp codes for customization, see files
etc/dot.emacs and etc/dot.skk, which are included in this distribution.


Local variables:
coding: utf-8
mode: outline
Expand Down
2 changes: 1 addition & 1 deletion READMEs/NEWS.ja
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ works well with SKK by itself. skk-vip.el is discarded.

** Experimental package skk-tutcode.el is provided by GUNJI Takao
<[email protected]>. Now you can imput Japanese by TUT-code with SKK.

Local variables:
coding: utf-8
mode: outline
Expand Down
2 changes: 1 addition & 1 deletion READMEs/PROPOSAL.ja
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ o skk-after-point-move として inline function として実装。フックを

o skk-mode の中で post-command-hook のローカルフックとして
skk-after-point-move をフックした。

Local variables:
coding: utf-8
mode: outline
Expand Down
180 changes: 179 additions & 1 deletion READMEs/README.MacOSX.ja
Original file line number Diff line number Diff line change
@@ -1 +1,179 @@
Mac OS X �� SKK ���g�����@�ɂ‚��Đ������܂��B������ INSTALL ����� README �ɂ��ڂ�ʂ��Ă����ĉ������B* ���O����** Developer Tools (Xcode) �̃C���X�g�[��Mac OS X �ɂ͏�����Ԃł� make �R�}���h���C���X�g�[������Ă��܂���B���~�̍�Ƃ����邽�߂ɂ� Developer Tools (Xcode) ���C���X�g�[������K�v������܂��BDeveloper Tools �� OS ���p�b�P�[�W�ōw�������ꍇ�͓�������Ă��܂��B�����ŐV�� Developer Tools ���K�v�ȏꍇ�� Apple Developer Connection https://connect.apple.com/�ɂĖ����̉���o�^�����鎖�Ń_�E�����[�h�ɂ�����R�X�g�݂̂œ��肷�鎖���ł��܂��B�܂��AApp Store �ł��ŐV�� Developer Tools ����肷�邱�Ƃ������܂��B�Ȃ� Developer Tools �́A���݂� Xcode �Ƃ����P��̃A�v���P�[�V�����ɂȂ��Ă��܂��BXcode 4.3 �ȍ~�ł� make �Ȃǂ̃R�}���h���C���c�[���� Xcode �N�����Preferences �� Downloads �� Command Line Tools �ŕʓr�C���X�g�[������K�v������܂��B** �R���p�C���ɗ��p���� Emacs �̊m�FTerminal ��� Emacs �̈ʒu���m�F���܂��B$ which emacsMac OS X �W���� Emacs �� /usr/bin/emacs �ɑ��݂��܂��BOS X 10.7.3 �̒i�K�ŃC���X�g�[������Ă�����̂́AGNU Emacs 22.1 �x�[�X�ł��B����AMac OS X �̃E�B���h�E�V�X�e���œ��삷�� Emacs �ɂ� Carbon ���g�������̂� Cocoa ���g�������̂�����܂��BCarbon Emacs �ɂ�����ނ�����悤�������A�K�J���i������ Carbon Emacs Package ( http://homepage.mac.com/zenitani/emacs-j.html ) http://th.nao.ac.jp/MEMBER/zenitani/emacs-j.html���ł��悭�X�V����Ă���A�܂����{��‹����\�ߐ�������Ă���̂ŁA�g�������ł��傤�B���̃p�b�P�[�W�́A�l�X�ȃp�X�ɃC���X�g�[�����邱�Ƃ��”\�ł����A�W���I�ɂ� /Applications (�n�[�h�f�B�X�N�́u�A�v���P�[�V�����v�t�H���_)�ɃC���X�g�[�����܂��B���̏ꍇ�̎��s�`���t�@�C����/Applications/Emacs.app/Contents/MacOS/Emacs �ł��B�ŐV��2010�N�ł� GNUEmacs 22.3 �x�[�X�ł��B�܂��AGNU Emacs 23 ���� �\�[�X�̏C���Ȃ��� Cocoa �ł̃R���p�C�����”\���Ȃ�܂����BCocoa �� �� Carbon Emacs �Ɠ��l�� Self contained �ȃA�v���P�[�V�����o���h���ɂȂ�܂��B��������W���I�ɂ� /Applications �ɃC���X�g�[�����A���s�`���t�@�C���� /Applications/Emacs.app/Contents/MacOS/Emacs �����B* Emacs �ւ̃C���X�g�[��** APEL �̃C���X�g�[�� (DDSKK 14.1 ���g���ꍇ)*** ����DDSKK 14.2 ��� Carbon Emacs, Cocoa Emacs �Ƃ� APEL �̕ʓr�C���X�g�[�����s�v�ɂȂ�܂����B�{���� DDSKK 14.1 �̃��[�U�̂��߂̐����ł��B*** APEL �� �擾DDSKK 14.1 �ł́A�܂� APEL ���C���X�g�[�����邵�܂��BDaredevil SKK �ł́AAPEL10.7 �ȍ~�ł̓��삪�m�F����Ă��܂����A�ł��邾���ŐV�o�[�W�������C���X�g�[�����邱�Ƃ������߂��܂��BAPEL �́A http://git.chise.org/elisp/apel/�������ł��܂��B*** APEL �̓W�J(��)APEL �̃A�[�J�C�u���_�u���N���b�N����� StuffIt Expander �ɂ��𓀂����܂��B�܂��ATerminal �̑���Ɋ���Ă���ꍇ�͈ȉ��̃R�}���h�����s�������ł��𓀂ł��܂��B $ tar xvfz apel-10.8.tar.gz*** APEL �� byte-compile �ƃC���X�g�[��Carbon Emacs �� Cocoa Emacs �̂悤�ȁA /Applications �̉��� Emacs.app ���g���ꍇ�́A Makefile �� EMACS �̍s�����̂悤�ɕҏW���܂��BEMACS = /Applications/Emacs.app/Contents/MacOS/Emacs���̃p�X�� Emacs.app �̃C���X�g�[���p�X�ɍ��킹�ēK�X�ύX���Ă��������Bwhich �R�}���h�ŕԂ��ė��� Emacs �𗘗p����ꍇ�͐ݒ�̕K�v�͂���܂���BAPEL �̓W�J�f�B���N�g���� Terminal ���ȉ��̃R�}���h�����s���܂��B $ make $ sudo make install $ password: (Password�𕷂��Ă���̂ŊǗ��p�X���[�h�����)*** load-path �ւ̒lj�which �R�}���h�ŕԂ��ė��� Emacs �𗘗p����ꍇ�͐ݒ�̕K�v�͂���܂���B�܂��ACarbon Emacs �� Cocoa Emacs �ł��ݒ�̕K�v�͂���܂���B** SKK �̃C���X�g�[��*** SKK �̓W�J(��)APEL �Ɠ��l�̕��@�ʼn𓀂ł��܂��B*** SKK �̃C���X�g�[��SKK ��W�J�����g�b�v�f�B���N�g���� SKK-CFG �Ƃ����t�@�C��������܂��B���̃t�@�C���̓V�X�e���ˑ��̃C���X�g�[���ݒ�����[�U���s�����߂ɂ�������B���̒��̃h�L�������g�Ɛݒ����Q�l�ɂ��Ă��������B��{�I�ɂ� APEL �Ɠ��l�A Carbon Emacs �� Cocoa Emacs �𗘗p����ꍇ��Makefile �� EMACS �̍s�� APEL �̏ꍇ�Ɠ��l�ɕҏW������ɁA�܂� which �R�}���h�ŕԂ��ė��� Emacs �� ���p����ꍇ�͂��̂܂܁A `sudo make install'�ŃC���X�g�[���ł���͂��ł��B*** load-path �ւ̒lj�which �R�}���h�ŕԂ��ė��� Emacs �𗘗p����ꍇ�͐ݒ�̕K�v�͂���܂���B�܂��ACarbon Emacs �� Cocoa Emacs �ł��ݒ�̕K�v�͂���܂���B*** .emacs �ւ̒lj�which �R�}���h�ŕԂ��ė��� Emacs �𗘗p����ꍇ�͐ݒ�̕K�v�͂���܂���B�܂��ACarbon Emacs �� Cocoa Emacs �ł��ݒ�̕K�v�͂���܂���B* Mac OS X ��œ��������T�[�o�ɂ‚���Mac OS X �ŗ��p�ł��� SKK �����T�[�o�ɂ͎��̂悤�Ȃ��̂�����܂��B** skkservskkserv �� http://openlab.jp/skk/skk/skkserv/�������ł��܂��B** dbskkddbskkd �� http://www.ne.jp/asahi/bdx/info/software/jp-dbskkd.html�������ł��܂��B** �X�N���v�g����Ŏ������ꂽ�T�[�oruby ���g�p�ł���Ȃ�΁A rskkserv ���g�p�ł��܂��Brskkserv �� http://sourceforge.jp/projects/rskkserv/�������ł��܂��B* Mac OS X �ŗ��p�ł��� SKK ����Mac OS X ��œ��삷�� SKK ���C�N�� IME ������܂��B** AquaSKKCocoa �ɂ���������Ă��܂��BSKK �Ƌ��ʂ̎������g�p�ł��܂��B http://aquaskk.sourceforge.jp/* ���̏���{�h�L�������g�ƍ��킹�Ĉȉ��̏����m�F���邱�Ƃ������߂��܂��B http://sakito.s2.xrea.com/detail/emacs/emacs21.html Local variables:mode: outlineend:
Mac OS X で SKK を使う方法について説明します。

同梱の INSTALL および README にも目を通しておいて下さい。

* 事前準備

** Developer Tools (Xcode) のインストール

Mac OS X には初期状態では make コマンドがインストールされていません。以
降の作業をするためには Developer Tools (Xcode) をインストールする必要が
あります。

Developer Tools は OS をパッケージで購入した場合は同梱されています。も
し最新の Developer Tools が必要な場合は Apple Developer Connection

https://connect.apple.com/

にて無料の会員登録をする事でダウンロードにかかるコストのみで入手する事が
できます。また、App Store でも最新の Developer Tools を入手することがで
きます。なお Developer Tools は、現在は Xcode という単一のアプリケーショ
ンになっています。

Xcode 4.3 以降では make などのコマンドラインツールは Xcode 起動後に
Preferences → Downloads → Command Line Tools で別途インストールする必要
があります。

** コンパイルに利用する Emacs の確認

Terminal より Emacs の位置を確認します。

$ which emacs

Mac OS X 標準の Emacs は /usr/bin/emacs に存在します。OS X 10.7.3 の段階
でインストールされているものは、GNU Emacs 22.1 ベースです。
一方、Mac OS X のウィンドウシステムで動作する Emacs には Carbon を使った
ものと Cocoa を使ったものがあります。Carbon Emacs にも何種類かあるようで
すが、銭谷誠司さん作の Carbon Emacs Package

( http://homepage.mac.com/zenitani/emacs-j.html )
http://th.nao.ac.jp/MEMBER/zenitani/emacs-j.html

が最もよく更新されており、また日本語環境が予め整備されているので、使い易
いでしょう。このパッケージは、様々なパスにインストールすることが可能です
が、標準的には /Applications (ハードディスクの「アプリケーション」フォル
ダ)にインストールします。その場合の実行形式ファイルは
/Applications/Emacs.app/Contents/MacOS/Emacs です。最新の2010年版は GNU
Emacs 22.3 ベースです。

また、GNU Emacs 23 から ソースの修整なしに Cocoa 版のコンパイルが可能に
なりました。Cocoa 版 も Carbon Emacs と同様に Self contained なアプリケー
ションバンドルになります。こちらも標準的には /Applications にインストー
ルし、実行形式ファイルは /Applications/Emacs.app/Contents/MacOS/Emacs で
す。

* Emacs へのインストール

** APEL のインストール (DDSKK 14.1 を使う場合)

*** 注意

DDSKK 14.2 より Carbon Emacs, Cocoa Emacs とも APEL の別途インストールは
不要になりました。本項は DDSKK 14.1 のユーザのための説明です。

*** APEL の 取得

DDSKK 14.1 では、まず APEL をインストールするします。Daredevil SKK では、
APEL10.7 以降での動作が確認されていますが、できるだけ最新バージョンを
インストールすることをお勧めします。

APEL は、

http://git.chise.org/elisp/apel/

から入手できます。

*** APEL の展開(解凍)

APEL のアーカイブをダブルクリックすれば StuffIt Expander により解凍され
ます。また、Terminal の操作に慣れている場合は以下のコマンドを実行する
事でも解凍できます。

$ tar xvfz apel-10.8.tar.gz

*** APEL の byte-compile とインストール

Carbon Emacs や Cocoa Emacs のような、 /Applications の下の Emacs.app を
使う場合は、 Makefile の EMACS の行を次のように編集します。

EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs

このパスは Emacs.app のインストールパスに合わせて適宜変更してください。
which コマンドで返って来た Emacs を利用する場合は設定の必要はありません。

APEL の展開ディレクトリで Terminal より以下のコマンドを実行します。

$ make
$ sudo make install
$ password: (Passwordを聞いてくるので管理パスワードを入力)

*** load-path への追加

which コマンドで返って来た Emacs を利用する場合は設定の必要はありません。
また、Carbon Emacs や Cocoa Emacs でも設定の必要はありません。

** SKK のインストール

*** SKK の展開(解凍)

APEL と同様の方法で解凍できます。

*** SKK のインストール

SKK を展開したトップディレクトリに SKK-CFG というファイルがあります。
このファイルはシステム依存のインストール設定をユーザが行うためにありま
す。この中のドキュメントと設定例を参考にしてください。

基本的には APEL と同様、 Carbon Emacs や Cocoa Emacs を利用する場合は
Makefile の EMACS の行を APEL の場合と同様に編集した後に、また which コマ
ンドで返って来た Emacs を 利用する場合はそのまま、 `sudo make install'
でインストールできるはずです。

*** load-path への追加

which コマンドで返って来た Emacs を利用する場合は設定の必要はありません。
また、Carbon Emacs や Cocoa Emacs でも設定の必要はありません。

*** .emacs への追加

which コマンドで返って来た Emacs を利用する場合は設定の必要はありません。
また、Carbon Emacs や Cocoa Emacs でも設定の必要はありません。

* Mac OS X 上で動く辞書サーバについて

Mac OS X で利用できる SKK 辞書サーバには次のようなものがあります。

** skkserv

skkserv は

http://openlab.jp/skk/skk/skkserv/

から入手できます。

** dbskkd

dbskkd は

http://www.ne.jp/asahi/bdx/info/software/jp-dbskkd.html

から入手できます。

** スクリプト言語で実装されたサーバ

ruby が使用できるならば、 rskkserv が使用できます。
rskkserv は

http://sourceforge.jp/projects/rskkserv/

から入手できます。

* Mac OS X で利用できる SKK 実装

Mac OS X 上で動作する SKK ライクの IME があります。

** AquaSKK

Cocoa により実装されています。SKK と共通の辞書が使用できます。

http://aquaskk.sourceforge.jp/

* 他の情報源

本ドキュメントと合わせて以下の情報を確認することをお勧めします。

http://sakito.s2.xrea.com/detail/emacs/emacs21.html

Local variables:
mode: outline
end:
2 changes: 1 addition & 1 deletion READMEs/README.VIP.ja
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ o vip と skk の両方を使うユーザは、さらに、以下を追加する

o vip, skk の両方に関係するコードはすべて、vip.el に吸収したので、skk
での個人設定は何もしなくてよい。

Local variables:
coding: utf-8
mode: text
Expand Down
2 changes: 1 addition & 1 deletion READMEs/TODO.ja
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ skk-dcomp-multiple-activate を t と設定し、実際に dcomp 候補を複数
きない (Carbon Emacs では X の場合のように Emacs のフォント設定ができ
た)。


Local variables:
coding: utf-8
mode: outline
Expand Down
Loading