emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103146: Remove the check for non-ASC


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103146: Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
Date: Sun, 06 Feb 2011 10:04:31 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103146
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2011-02-06 10:04:31 -0500
message:
  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.
modified:
  lisp/ChangeLog
  lisp/mail/emacsbug.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-05 22:30:14 +0000
+++ b/lisp/ChangeLog    2011-02-06 15:04:31 +0000
@@ -1,3 +1,8 @@
+2011-02-06  Chong Yidong  <address@hidden>
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
+       non-ASCII characters (Bug#7925).
+
 2011-02-05  Glenn Morris  <address@hidden>
 
        * emacs-lisp/cl-macs.el (return-from): Fix doc typo.

=== modified file 'lisp/mail/emacsbug.el'
--- a/lisp/mail/emacsbug.el     2011-01-30 18:59:58 +0000
+++ b/lisp/mail/emacsbug.el     2011-02-06 15:04:31 +0000
@@ -340,18 +340,6 @@
          (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]