diff options
| author | Glenn Morris | 2007-11-25 01:05:00 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-11-25 01:05:00 +0000 |
| commit | abf1a55b87c13424d4f80b28b8d4c75003cbbe68 (patch) | |
| tree | 36b6b0e59563cbdea7131c66f1424ee78f2a39f1 | |
| parent | 0bcc6163fe83d56aef78034841e8938504d487da (diff) | |
| download | emacs-abf1a55b87c13424d4f80b28b8d4c75003cbbe68.tar.gz emacs-abf1a55b87c13424d4f80b28b8d4c75003cbbe68.zip | |
(eshell-report-bug-address): Remove.
(eshell-report-bug): Redefine as an alias for report-emacs-bug.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/eshell/eshell.el | 32 |
2 files changed, 7 insertions, 30 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 997cc9d5ec4..702e434452e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-11-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * eshell/eshell.el (eshell-report-bug-address): Remove. | ||
| 4 | (eshell-report-bug): Redefine as an alias for report-emacs-bug. | ||
| 5 | |||
| 1 | 2007-11-24 Glenn Morris <rgm@gnu.org> | 6 | 2007-11-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * calendar/appt.el: Remove leading `*' from defcustom doc-strings. | 8 | * calendar/appt.el: Remove leading `*' from defcustom doc-strings. |
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index 518fb82ac4d..721fa7ebbe4 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el | |||
| @@ -453,40 +453,12 @@ corresponding to a successful execution." | |||
| 453 | 453 | ||
| 454 | ;;;_* Reporting bugs | 454 | ;;;_* Reporting bugs |
| 455 | ;; | 455 | ;; |
| 456 | ;; Since Eshell has not yet been in use by a wide audience, and since | 456 | ;; If you do encounter a bug, on any system, please report |
| 457 | ;; the number of possible configurations is quite large, it is certain | ||
| 458 | ;; that many bugs slipped past the rigors of testing it was put | ||
| 459 | ;; through. If you do encounter a bug, on any system, please report | ||
| 460 | ;; it -- in addition to any particular oddities in your configuration | 457 | ;; it -- in addition to any particular oddities in your configuration |
| 461 | ;; -- so that the problem may be corrected for the benefit of others. | 458 | ;; -- so that the problem may be corrected for the benefit of others. |
| 462 | 459 | ||
| 463 | (defconst eshell-report-bug-address "johnw@gnu.org" | ||
| 464 | "E-mail address to send Eshell bug reports to.") | ||
| 465 | |||
| 466 | ;;;###autoload | 460 | ;;;###autoload |
| 467 | (defun eshell-report-bug (topic) | 461 | (define-obsolete-function-alias 'eshell-report-bug 'report-emacs-bug) |
| 468 | "Report a bug in Eshell. | ||
| 469 | Prompts for the TOPIC. Leaves you in a mail buffer. | ||
| 470 | Please include any configuration details that might be involved." | ||
| 471 | (interactive "sBug Subject: ") | ||
| 472 | (compose-mail eshell-report-bug-address topic) | ||
| 473 | (goto-char (point-min)) | ||
| 474 | (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$")) | ||
| 475 | (forward-line 1) | ||
| 476 | (let ((signature (buffer-substring (point) (point-max)))) | ||
| 477 | ;; Discourage users from writing non-English text. | ||
| 478 | (set-buffer-multibyte nil) | ||
| 479 | (delete-region (point) (point-max)) | ||
| 480 | (insert signature) | ||
| 481 | (backward-char (length signature))) | ||
| 482 | (insert "emacs-version: " (emacs-version)) | ||
| 483 | (insert "\n\nThere appears to be a bug in Eshell.\n\n" | ||
| 484 | "Please describe exactly what actions " | ||
| 485 | "triggered the bug and the precise\n" | ||
| 486 | "symptoms of the bug:\n\n") | ||
| 487 | ;; This is so the user has to type something in order to send | ||
| 488 | ;; the report easily. | ||
| 489 | (use-local-map (nconc (make-sparse-keymap) (current-local-map)))) | ||
| 490 | 462 | ||
| 491 | ;;; Code: | 463 | ;;; Code: |
| 492 | 464 | ||