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

Convert to UTF-8 #20

Merged
merged 3 commits into from
Jan 1, 2015
Merged
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
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

* ddskk-pkg.el: Add comment.

2014-12-31 Tsuyoshi Kitamoto <tsuyoshi.kitamoto@gmail.com>

* SKK-MK (SKK-MK-texinfo-pre-format): function disabled.
(SKK-MK-texinfo-post-format): Enable all emacsen.

2014-12-30 Tsuyoshi Kitamoto <tsuyoshi.kitamoto@gmail.com>

* SKK-MK (SKK_DICTIONARIES): Add SKK-JISYO.lisp.
Expand Down
23 changes: 11 additions & 12 deletions SKK-MK
Original file line number Diff line number Diff line change
Expand Up @@ -786,20 +786,19 @@ This version of SKK requires MULE features"))
(SKK-MK-detect-shadow-directory)))

(defun SKK-MK-texinfo-pre-format ()
(unless (and (featurep 'emacs)
(>= emacs-major-version 23))
(dolist (str '("\C-[$(Q\"1\C-[(B" "\C-[$(Q\"Q\C-[(B" "\C-[$(Q\"q\C-[(B"))
(goto-char (point-min))
(when (search-forward str nil t)
(replace-match " ")))))
;; (unless (and (featurep 'emacs)
;; (>= emacs-major-version 23))
;; (dolist (str '("\C-[$(Q\"1\C-[(B" "\C-[$(Q\"Q\C-[(B" "\C-[$(Q\"q\C-[(B"))
;; (goto-char (point-min))
;; (when (search-forward str nil t)
;; (replace-match " "))))
nil)

(defun SKK-MK-texinfo-post-format ()
(when (and (featurep 'emacs)
(>= emacs-major-version 23))
(goto-char (point-min))
(when (re-search-forward "-\\*-Text-\\*-" (point-at-eol) t)
(replace-match (format "-*- mode: text; coding: %s -*-"
SKK-MK-texinfo-coding-system)))))
(goto-char (point-min))
(when (re-search-forward "-\\*-Text-\\*-" (point-at-eol) t)
(replace-match (format "-*- mode: text; coding: %s -*-"
SKK-MK-texinfo-coding-system))))

(defun SKK-MK-texinfo-format (targets)
(let (;; Emacs20.2's default is 'raw-text-unix.
Expand Down
6 changes: 6 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
2015-01-01 Tsuyoshi Kitamoto <tsuyoshi.kitamoto@gmail.com>

* skk.texi: Add @documentencoding utf-8.

2014-12-31 Tsuyoshi Kitamoto <tsuyoshi.kitamoto@gmail.com>

* skk.texi: Convert to utf-8.

* skk.texi: Remove descripition about package.el and MELPA.
see READMEs/INSTALL.MELPA.md.

Expand Down
Loading