diff options
| author | Lars Ingebrigtsen | 2019-06-18 12:32:16 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-18 12:32:16 +0200 |
| commit | 29ea0803d7fa927a537ce8437944998bf2e0807e (patch) | |
| tree | 876a50b94f7b7d7689f46b5b7ed1e3248f91df89 | |
| parent | e040870e0b1fe56ac4f1f4984f3435d6b6eefb91 (diff) | |
| download | emacs-29ea0803d7fa927a537ce8437944998bf2e0807e.tar.gz emacs-29ea0803d7fa927a537ce8437944998bf2e0807e.zip | |
Make quail conversion output quieter
* lisp/international/quail.el (quail-update-leim-list-file): Ditto.
* lisp/international/titdic-cnv.el (tit-process-header)
(tit-process-body, miscdic-convert, batch-titdic-convert): Reduce
messaging.
| -rw-r--r-- | lisp/international/quail.el | 1 | ||||
| -rw-r--r-- | lisp/international/titdic-cnv.el | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/lisp/international/quail.el b/lisp/international/quail.el index a29e3fb35d8..f42b594dc46 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el | |||
| @@ -3060,7 +3060,6 @@ of each directory." | |||
| 3060 | (when dirname | 3060 | (when dirname |
| 3061 | (setq pkg-list (directory-files dirname 'full "\\.el$")) | 3061 | (setq pkg-list (directory-files dirname 'full "\\.el$")) |
| 3062 | (while pkg-list | 3062 | (while pkg-list |
| 3063 | (message "Checking %s ..." (car pkg-list)) | ||
| 3064 | (with-temp-buffer | 3063 | (with-temp-buffer |
| 3065 | (insert-file-contents (car pkg-list)) | 3064 | (insert-file-contents (car pkg-list)) |
| 3066 | (goto-char (point-min)) | 3065 | (goto-char (point-min)) |
diff --git a/lisp/international/titdic-cnv.el b/lisp/international/titdic-cnv.el index e6065fb0f76..8615d953319 100644 --- a/lisp/international/titdic-cnv.el +++ b/lisp/international/titdic-cnv.el | |||
| @@ -251,7 +251,6 @@ SPC, 6, 3, 4, or 7 specifying a tone (SPC:陰平, 6:陽平, 3:上聲, 4:去聲, | |||
| 251 | ;; Analyze header part of TIT dictionary and generate an appropriate | 251 | ;; Analyze header part of TIT dictionary and generate an appropriate |
| 252 | ;; `quail-define-package' function call. | 252 | ;; `quail-define-package' function call. |
| 253 | (defun tit-process-header (filename) | 253 | (defun tit-process-header (filename) |
| 254 | (message "Processing header part...") | ||
| 255 | (goto-char (point-min)) | 254 | (goto-char (point-min)) |
| 256 | 255 | ||
| 257 | ;; At first, generate header part of the Quail package while | 256 | ;; At first, generate header part of the Quail package while |
| @@ -416,7 +415,6 @@ SPC, 6, 3, 4, or 7 specifying a tone (SPC:陰平, 6:陽平, 3:上聲, 4:去聲, | |||
| 416 | ;; Convert body part of TIT dictionary into `quail-define-rules' | 415 | ;; Convert body part of TIT dictionary into `quail-define-rules' |
| 417 | ;; function call. | 416 | ;; function call. |
| 418 | (defun tit-process-body () | 417 | (defun tit-process-body () |
| 419 | (message "Formatting translation rules...") | ||
| 420 | (let* ((prev-key "") | 418 | (let* ((prev-key "") |
| 421 | ch key translations pos) | 419 | ch key translations pos) |
| 422 | (princ "(quail-define-rules\n") | 420 | (princ "(quail-define-rules\n") |
| @@ -494,7 +492,6 @@ the generated Quail package is saved." | |||
| 494 | (if (not slot) | 492 | (if (not slot) |
| 495 | (error "Invalid ENCODE: value in TIT dictionary")) | 493 | (error "Invalid ENCODE: value in TIT dictionary")) |
| 496 | (setq coding-system (nth 1 slot)) | 494 | (setq coding-system (nth 1 slot)) |
| 497 | (message "Decoding with coding system %s..." coding-system) | ||
| 498 | (goto-char (point-min)) | 495 | (goto-char (point-min)) |
| 499 | (decode-coding-region (point-min) (point-max) coding-system) | 496 | (decode-coding-region (point-min) (point-max) coding-system) |
| 500 | ;; Explicitly set eol format to `unix'. | 497 | ;; Explicitly set eol format to `unix'. |
| @@ -556,7 +553,6 @@ To get complete usage, invoke \"emacs -batch -f batch-titdic-convert -h\"." | |||
| 556 | (when (or force | 553 | (when (or force |
| 557 | (file-newer-than-file-p | 554 | (file-newer-than-file-p |
| 558 | file (tit-make-quail-package-file-name file targetdir))) | 555 | file (tit-make-quail-package-file-name file targetdir))) |
| 559 | (message "Converting %s to quail-package..." file) | ||
| 560 | (titdic-convert file targetdir)) | 556 | (titdic-convert file targetdir)) |
| 561 | (setq files (cdr files))) | 557 | (setq files (cdr files))) |
| 562 | (setq command-line-args-left (cdr command-line-args-left))))) | 558 | (setq command-line-args-left (cdr command-line-args-left))))) |
| @@ -1141,7 +1137,6 @@ the generated Quail package is saved." | |||
| 1141 | coding (nth 3 slot) | 1137 | coding (nth 3 slot) |
| 1142 | converter (nth 5 slot) | 1138 | converter (nth 5 slot) |
| 1143 | copyright (nth 6 slot)) | 1139 | copyright (nth 6 slot)) |
| 1144 | (message "Converting %s to %s..." dicfile quailfile) | ||
| 1145 | ;; Explicitly set eol format to `unix'. | 1140 | ;; Explicitly set eol format to `unix'. |
| 1146 | (setq coding-system-for-write 'utf-8-unix) | 1141 | (setq coding-system-for-write 'utf-8-unix) |
| 1147 | (with-temp-file (expand-file-name quailfile dirname) | 1142 | (with-temp-file (expand-file-name quailfile dirname) |
| @@ -1173,8 +1168,7 @@ the generated Quail package is saved." | |||
| 1173 | ";; version-control: never\n" | 1168 | ";; version-control: never\n" |
| 1174 | ";; no-update-autoloads: t\n" | 1169 | ";; no-update-autoloads: t\n" |
| 1175 | ";; End:\n\n" | 1170 | ";; End:\n\n" |
| 1176 | ";;; " quailfile " ends here\n")) | 1171 | ";;; " quailfile " ends here\n"))) |
| 1177 | (message "Converting %s to %s...done" dicfile quailfile)) | ||
| 1178 | (setq tail (cdr tail))))) | 1172 | (setq tail (cdr tail))))) |
| 1179 | 1173 | ||
| 1180 | (defun batch-miscdic-convert () | 1174 | (defun batch-miscdic-convert () |