diff options
| -rw-r--r-- | lisp/international/mule-diag.el | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 417eddd79d5..85df7141788 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -272,24 +272,23 @@ at the place of `..': | |||
| 272 | (with-output-to-temp-buffer "*Help*" | 272 | (with-output-to-temp-buffer "*Help*" |
| 273 | (let* ((proc (get-buffer-process (current-buffer))) | 273 | (let* ((proc (get-buffer-process (current-buffer))) |
| 274 | (process-coding-systems (if proc (process-coding-system proc)))) | 274 | (process-coding-systems (if proc (process-coding-system proc)))) |
| 275 | (princ "Current buffer file: buffer-file-coding-system\n ") | 275 | (princ "Coding system for saving this buffer:\n ") |
| 276 | (if (local-variable-p 'buffer-file-coding-system) | 276 | (if (local-variable-p 'buffer-file-coding-system) |
| 277 | (print-coding-system-briefly buffer-file-coding-system) | 277 | (print-coding-system-briefly buffer-file-coding-system) |
| 278 | (princ "Not set locally, use the following default.\n")) | 278 | (princ "Not set locally, use the default.\n")) |
| 279 | (princ "Default buffer file: default-buffer-file-coding-system\n ") | 279 | (princ "Default coding system (for new files):\n ") |
| 280 | (print-coding-system-briefly default-buffer-file-coding-system) | 280 | (print-coding-system-briefly default-buffer-file-coding-system) |
| 281 | (princ "Keyboard: (keyboard-coding-system)\n ") | 281 | (princ "Coding system for keyboard input:\n ") |
| 282 | (print-coding-system-briefly (keyboard-coding-system)) | 282 | (print-coding-system-briefly (keyboard-coding-system)) |
| 283 | (princ "Terminal: (display-coding-system)\n ") | 283 | (princ "Coding system for terminal output:\n ") |
| 284 | (print-coding-system-briefly (terminal-coding-system)) | 284 | (print-coding-system-briefly (terminal-coding-system)) |
| 285 | (princ "Current buffer process: (process-coding-system)\n") | 285 | (when (get-buffer-process (current-buffer)) |
| 286 | (if (not process-coding-systems) | 286 | (princ "Coding systems for process I/O:\n") |
| 287 | (princ " No process.\n") | 287 | (princ " encoding input to the process: ") |
| 288 | (princ " decoding: ") | 288 | (print-coding-system-briefly (cdr process-coding-systems)) |
| 289 | (print-coding-system-briefly (car process-coding-systems)) | 289 | (princ " decoding output from the process: ") |
| 290 | (princ " encoding: ") | 290 | (print-coding-system-briefly (car process-coding-systems))) |
| 291 | (print-coding-system-briefly (cdr process-coding-systems))) | 291 | (princ "Defaults for subprocess I/O:") |
| 292 | (princ "Default process: default-process-coding-system\n") | ||
| 293 | (princ " decoding: ") | 292 | (princ " decoding: ") |
| 294 | (print-coding-system-briefly (car default-process-coding-system)) | 293 | (print-coding-system-briefly (car default-process-coding-system)) |
| 295 | (princ " encoding: ") | 294 | (princ " encoding: ") |
| @@ -298,7 +297,7 @@ at the place of `..': | |||
| 298 | (save-excursion | 297 | (save-excursion |
| 299 | (set-buffer standard-output) | 298 | (set-buffer standard-output) |
| 300 | 299 | ||
| 301 | (princ "\nPriority order of coding systems:\n") | 300 | (princ "\nPriority order for recognizing coding systems when reading files:\n") |
| 302 | (let ((l coding-category-list) | 301 | (let ((l coding-category-list) |
| 303 | (i 1) | 302 | (i 1) |
| 304 | coding aliases) | 303 | coding aliases) |
| @@ -342,7 +341,7 @@ at the place of `..': | |||
| 342 | (insert "\n\n"))) | 341 | (insert "\n\n"))) |
| 343 | (setq categories (cdr categories)))) | 342 | (setq categories (cdr categories)))) |
| 344 | 343 | ||
| 345 | (princ "Look up tables for finding a coding system on I/O operations:\n") | 344 | (princ "Particular coding systems specified for certain file names:\n") |
| 346 | (terpri) | 345 | (terpri) |
| 347 | (princ " OPERATION\tTARGET PATTERN\t\tCODING SYSTEM(s)\n") | 346 | (princ " OPERATION\tTARGET PATTERN\t\tCODING SYSTEM(s)\n") |
| 348 | (princ " ---------\t--------------\t\t----------------\n") | 347 | (princ " ---------\t--------------\t\t----------------\n") |