# HG changeset patch # User Eli Zaretskii # Date 965302582 0 # Node ID ddb7ddedd08af77219de2983fa44d30f10e37630 # Parent 338238ca63cee840738d6cb8c1f4bc7d0ad3e2e6 (select-safe-coding-system): Make the message text about selecting a safe coding system more clear. diff -r 338238ca63ce -r ddb7ddedd08a lisp/international/mule-cmds.el --- a/lisp/international/mule-cmds.el Wed Aug 02 21:29:36 2000 +0000 +++ b/lisp/international/mule-cmds.el Thu Aug 03 11:36:22 2000 +0000 @@ -587,21 +587,24 @@ (with-output-to-temp-buffer "*Warning*" (save-excursion (set-buffer standard-output) - (insert "The following default coding systems were tried,\n" - (if (consp coding-system) - (format "and %s safely encodes the target text:\n" - (car coding-system)) - "but none of them safely encode the target text:\n")) + (insert "The following default coding systems were tried:\n") (let ((pos (point)) (fill-prefix " ")) (mapcar (function (lambda (x) (princ " ") (princ (car x)))) default-coding-system) (insert "\n") (fill-region-as-paragraph pos (point))) + (insert + (if (consp coding-system) + (concat (format "%s safely encodes the target text,\n" + (car coding-system)) + "but it is not recommended for encoding text in this context,\n" + "e.g., for sending an email message.\n") + "However, none of them safely encodes the target text.\n")) (insert (if (consp coding-system) - "Select it or " - "Select ") - "one from the following safe coding systems:\n") + "\nSelect the above, or " + "\nSelect ") + "one of the following safe coding systems:\n") (let ((pos (point)) (fill-prefix " ")) (mapcar (function (lambda (x) (princ " ") (princ x)))