Mercurial > emacs
comparison lisp/mail/emacsbug.el @ 21498:e69604162c2b
(report-emacs-bug-hook): Don't absolutely
reject non-ASCII characters.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 13 Apr 1998 18:57:28 +0000 |
parents | 238c1cd70a27 |
children | 0f8ca1599a5a |
comparison
equal
deleted
inserted
replaced
21497:837148a1541f | 21498:e69604162c2b |
---|---|
190 (y-or-n-p "Convert non-ASCII letters to hexadecimal? ")) | 190 (y-or-n-p "Convert non-ASCII letters to hexadecimal? ")) |
191 (while (progn (skip-chars-forward "\0-\177") | 191 (while (progn (skip-chars-forward "\0-\177") |
192 (not (eobp))) | 192 (not (eobp))) |
193 (let ((ch (following-char))) | 193 (let ((ch (following-char))) |
194 (delete-char 1) | 194 (delete-char 1) |
195 (insert (format "=%02x" ch)))) | 195 (insert (format "=%02x" ch))))))) |
196 (error "Please convert non-ASCII characters to something else")))) | |
197 | 196 |
198 ;; The last warning for novice users. | 197 ;; The last warning for novice users. |
199 (if (or report-emacs-bug-no-confirmation | 198 (if (or report-emacs-bug-no-confirmation |
200 (yes-or-no-p | 199 (yes-or-no-p |
201 "Send this bug report to the Emacs maintainers? ")) | 200 "Send this bug report to the Emacs maintainers? ")) |