]> code.delx.au - gnu-emacs/commitdiff
Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Feb 2011 15:04:31 +0000 (10:04 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Feb 2011 15:04:31 +0000 (10:04 -0500)
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
non-ASCII characters.

lisp/ChangeLog
lisp/mail/emacsbug.el

index 9857abb879b080d3664d7f9bfa8fd3984e115c8b..b7cdb5f96eed1aa14898e8b2c52ec32926fca7a4 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
+       non-ASCII characters (Bug#7925).
+
 2011-02-05  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
index a621647bcf1e98e31d75c8866443468d880615f7..9aac041e8bd0bb98485f0d1a7de867bf25d57260 100644 (file)
@@ -340,18 +340,6 @@ usually do not have translators to read other languages for them.\n\n")
          (string-equal (buffer-substring-no-properties (point-min) (point))
                        report-emacs-bug-orig-text)
          (error "No text entered in bug report"))
-    ;; Check the buffer contents and reject non-English letters.
-    ;; FIXME message-mode probably does this anyway.
-    (goto-char (point-min))
-    (skip-chars-forward "\0-\177")
-    (unless (eobp)
-      (if (or report-emacs-bug-no-confirmation
-              (y-or-n-p "Convert non-ASCII letters to hexadecimal? "))
-          (while (progn (skip-chars-forward "\0-\177")
-                        (not (eobp)))
-            (let ((ch (following-char)))
-              (delete-char 1)
-              (insert (format "=%02x" ch))))))
 
     ;; The last warning for novice users.
     (unless (or report-emacs-bug-no-confirmation