Mercurial > emacs
comparison lisp/international/mule-cmds.el @ 49598:0d8b17d428b5
Trailing whitepace deleted.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 13:24:35 +0000 |
parents | f9953109e75c |
children | b76187acee2b |
comparison
equal
deleted
inserted
replaced
49597:e88404e8f2cf | 49598:0d8b17d428b5 |
---|---|
283 (cmd (key-binding keyseq)) | 283 (cmd (key-binding keyseq)) |
284 prefix) | 284 prefix) |
285 | 285 |
286 (when (eq cmd 'universal-argument) | 286 (when (eq cmd 'universal-argument) |
287 (call-interactively cmd) | 287 (call-interactively cmd) |
288 | 288 |
289 ;; Process keys bound in `universal-argument-map'. | 289 ;; Process keys bound in `universal-argument-map'. |
290 (while (progn | 290 (while (progn |
291 (setq keyseq (read-key-sequence nil t) | 291 (setq keyseq (read-key-sequence nil t) |
292 cmd (key-binding keyseq t)) | 292 cmd (key-binding keyseq t)) |
293 (not (eq cmd 'universal-argument-other-key))) | 293 (not (eq cmd 'universal-argument-other-key))) |
300 | 300 |
301 ;; This is the final call to `univeral-argument-other-key', which | 301 ;; This is the final call to `univeral-argument-other-key', which |
302 ;; set's the final `prefix-arg. | 302 ;; set's the final `prefix-arg. |
303 (let ((current-prefix-arg prefix-arg)) | 303 (let ((current-prefix-arg prefix-arg)) |
304 (call-interactively cmd)) | 304 (call-interactively cmd)) |
305 | 305 |
306 ;; Read the command to execute with the given prefix arg. | 306 ;; Read the command to execute with the given prefix arg. |
307 (setq prefix prefix-arg | 307 (setq prefix prefix-arg |
308 keyseq (read-key-sequence nil t) | 308 keyseq (read-key-sequence nil t) |
309 cmd (key-binding keyseq))) | 309 cmd (key-binding keyseq))) |
310 | 310 |
717 (cons pos (aref from pos))) | 717 (cons pos (aref from pos))) |
718 (unencodable-char-position | 718 (unencodable-char-position |
719 0 (length from) coding | 719 0 (length from) coding |
720 11 from)))) | 720 11 from)))) |
721 unsafe)) | 721 unsafe)) |
722 (setq unsafe | 722 (setq unsafe |
723 (mapcar #'(lambda (coding) | 723 (mapcar #'(lambda (coding) |
724 (cons coding | 724 (cons coding |
725 (mapcar #'(lambda (pos) | 725 (mapcar #'(lambda (pos) |
726 (cons pos (char-after pos))) | 726 (cons pos (char-after pos))) |
727 (unencodable-char-position | 727 (unencodable-char-position |
786 but it is not recommended for encoding text in this context, | 786 but it is not recommended for encoding text in this context, |
787 e.g., for sending an email message.\n ") | 787 e.g., for sending an email message.\n ") |
788 (mapc #'(lambda (x) (princ " ") (princ x)) rejected) | 788 (mapc #'(lambda (x) (princ " ") (princ x)) rejected) |
789 (insert "\n")) | 789 (insert "\n")) |
790 (when unsafe | 790 (when unsafe |
791 (insert (if rejected "And the others" | 791 (insert (if rejected "And the others" |
792 "However, each of them") | 792 "However, each of them") |
793 " encountered these problematic characters:\n") | 793 " encountered these problematic characters:\n") |
794 (mapc | 794 (mapc |
795 #'(lambda (coding) | 795 #'(lambda (coding) |
796 (insert (format " %s:" (car coding))) | 796 (insert (format " %s:" (car coding))) |
851 on your risk of losing the problematic characters.\n"))) | 851 on your risk of losing the problematic characters.\n"))) |
852 | 852 |
853 ;; Read a coding system. | 853 ;; Read a coding system. |
854 (setq default-coding-system (or (car safe) (car codings))) | 854 (setq default-coding-system (or (car safe) (car codings))) |
855 (setq coding-system | 855 (setq coding-system |
856 (read-coding-system | 856 (read-coding-system |
857 (format "Select coding system (default %s): " | 857 (format "Select coding system (default %s): " |
858 default-coding-system) | 858 default-coding-system) |
859 default-coding-system)) | 859 default-coding-system)) |
860 (setq last-coding-system-specified coding-system)) | 860 (setq last-coding-system-specified coding-system)) |
861 | 861 |
2160 `locale-translation-file-name'. | 2160 `locale-translation-file-name'. |
2161 | 2161 |
2162 See also `locale-charset-language-names', `locale-language-names', | 2162 See also `locale-charset-language-names', `locale-language-names', |
2163 `locale-preferred-coding-systems' and `locale-coding-system'." | 2163 `locale-preferred-coding-systems' and `locale-coding-system'." |
2164 (interactive "sSet environment for locale: ") | 2164 (interactive "sSet environment for locale: ") |
2165 | 2165 |
2166 ;; Do this at runtime for the sake of binaries possibly transported | 2166 ;; Do this at runtime for the sake of binaries possibly transported |
2167 ;; to a system without X. | 2167 ;; to a system without X. |
2168 (setq locale-translation-file-name | 2168 (setq locale-translation-file-name |
2169 (let ((files | 2169 (let ((files |
2170 '("/usr/lib/X11/locale/locale.alias" ; e.g. X11R6.4 | 2170 '("/usr/lib/X11/locale/locale.alias" ; e.g. X11R6.4 |