From f8b351c190ecb3d01bd81a0c4624153b15a95f89 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 6 Feb 2011 10:04:31 -0500 Subject: [PATCH] Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925). * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for non-ASCII characters. --- lisp/ChangeLog | 5 +++++ lisp/mail/emacsbug.el | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9857abb879..b7cdb5f96e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-02-06 Chong Yidong + + * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for + non-ASCII characters (Bug#7925). + 2011-02-05 Glenn Morris * emacs-lisp/cl-macs.el (return-from): Fix doc typo. diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index a621647bcf..9aac041e8b 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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 -- 2.39.2