]> code.delx.au - gnu-emacs/commitdiff
(select-safe-coding-system-interactively):
authorKenichi Handa <handa@m17n.org>
Wed, 27 Dec 2006 01:25:31 +0000 (01:25 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 27 Dec 2006 01:25:31 +0000 (01:25 +0000)
Improve the message in *Warning* buffer.

lisp/ChangeLog
lisp/international/mule-cmds.el

index b3c47a63eb851be80569f87d0297c87c237ecd87..81f19cbff69af9c43e0be49266e7ae2dd213994c 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-27  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule-cmds.el (select-safe-coding-system-interactively):
+       Improve the message in *Warning* buffer.
+
 2006-12-27  Kim F. Storm  <storm@cua.dk>
 
        * ido.el (ido-set-matches-1): Never put current buffer first if
index 4b415baf5faddb70ab2e693b14ad728e533809f9..e558b49df4cd17e616ad9e2e13028ac1e881c089 100644 (file)
@@ -787,19 +787,21 @@ e.g., for sending an email message.\n ")
                    (setq i (1+ i))))
                (insert "\n"))
              (insert "\
-The first problematic character is at point in the displayed buffer,\n"
+
+Click those characters to jump to the place they appear,\n"
                      (substitute-command-keys "\
 and \\[universal-argument] \\[what-cursor-position] will give information about it.\n"))))
-         (insert "\nSelect \
-one of the following safe coding systems, or edit the buffer:\n")
+         (insert (substitute-command-keys "\nSelect \
+one of the following safe coding systems,\n\
+or cancel the writing by \\[keyboard-quit] and edit the buffer,\n\
+or specify any other coding system at the risk of
+losing the problematic characters.\n"))
          (let ((pos (point))
                (fill-prefix "  "))
            (dolist (x codings)
              (princ "  ") (princ x))
            (insert "\n")
-           (fill-region-as-paragraph pos (point)))
-         (insert "Or specify any other coding system
-at the risk of losing the problematic characters.\n")))
+           (fill-region-as-paragraph pos (point)))))
 
       ;; Read a coding system.
       (setq coding-system