changeset 30566:ddb7ddedd08a

(select-safe-coding-system): Make the message text about selecting a safe coding system more clear.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 03 Aug 2000 11:36:22 +0000
parents 338238ca63ce
children 6fb8395584a1
files lisp/international/mule-cmds.el
diffstat 1 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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)))