diff options
| author | Michaël Cadilhac | 2007-08-15 02:23:42 +0000 |
|---|---|---|
| committer | Michaël Cadilhac | 2007-08-15 02:23:42 +0000 |
| commit | a722966c7c0bf59c1d6eaba777bf5f967755d400 (patch) | |
| tree | cf07268ff9613343824ad5627af2d582fdeb72fc | |
| parent | 1028dd04192d2647f382ac2a0ea17fd220bddfc6 (diff) | |
| download | emacs-a722966c7c0bf59c1d6eaba777bf5f967755d400.tar.gz emacs-a722966c7c0bf59c1d6eaba777bf5f967755d400.zip | |
(report-emacs-bug): Put `Bug: emacs-version; ' in the mail title.
Suggested by Reiner Steib.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 27 |
2 files changed, 21 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5ec2a41c997..9b563da201a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-08-15 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | ||
| 2 | |||
| 3 | * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; ' | ||
| 4 | in the mail title. Suggested by Reiner Steib. | ||
| 5 | |||
| 1 | 2007-08-14 Chris Hecker <checker@d6.com> (tiny change) | 6 | 2007-08-14 Chris Hecker <checker@d6.com> (tiny change) |
| 2 | 7 | ||
| 3 | * calc/calc-aent.el (calc-do-quick-calc): Add binary | 8 | * calc/calc-aent.el (calc-do-quick-calc): Add binary |
| @@ -644,7 +649,7 @@ | |||
| 644 | 2007-07-28 Masatake YAMATO <jet@gyve.org> | 649 | 2007-07-28 Masatake YAMATO <jet@gyve.org> |
| 645 | 650 | ||
| 646 | * vc.el (vc-dired-mode): Add a menu for VC related operation. | 651 | * vc.el (vc-dired-mode): Add a menu for VC related operation. |
| 647 | Use backend name as the menu label Suggested by David Kastrup. | 652 | Use backend name as the menu label. Suggested by David Kastrup. |
| 648 | 653 | ||
| 649 | 2007-07-28 Alan Mackenzie <acm@muc.de> | 654 | 2007-07-28 Alan Mackenzie <acm@muc.de> |
| 650 | 655 | ||
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index df5445da412..8a11dc90cc4 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -73,18 +73,21 @@ Prompts for bug subject. Leaves you in a mail buffer." | |||
| 73 | ;; This strange form ensures that (recent-keys) is the value before | 73 | ;; This strange form ensures that (recent-keys) is the value before |
| 74 | ;; the bug subject string is read. | 74 | ;; the bug subject string is read. |
| 75 | (interactive (reverse (list (recent-keys) (read-string "Bug Subject: ")))) | 75 | (interactive (reverse (list (recent-keys) (read-string "Bug Subject: ")))) |
| 76 | ;; The syntax `version;' is preferred to `[version]' because the | ||
| 77 | ;; latter could be mistakenly stripped by mailing software. | ||
| 78 | (setq topic (concat "Bug: " emacs-version "; " topic)) | ||
| 76 | ;; If there are four numbers in emacs-version, this is a pretest | 79 | ;; If there are four numbers in emacs-version, this is a pretest |
| 77 | ;; version. | 80 | ;; version. |
| 78 | (let* ((pretest-p (string-match "\\..*\\..*\\." emacs-version)) | 81 | (let* ((pretest-p (string-match "\\..*\\..*\\." emacs-version)) |
| 79 | (from-buffer (current-buffer)) | 82 | (from-buffer (current-buffer)) |
| 80 | (reporting-address (if pretest-p | 83 | (reporting-address (if pretest-p |
| 81 | report-emacs-bug-pretest-address | 84 | report-emacs-bug-pretest-address |
| 82 | report-emacs-bug-address)) | 85 | report-emacs-bug-address)) |
| 83 | ;; Put these properties on semantically-void text. | 86 | ;; Put these properties on semantically-void text. |
| 84 | (prompt-properties '(field emacsbug-prompt | 87 | (prompt-properties '(field emacsbug-prompt |
| 85 | intangible but-helpful | 88 | intangible but-helpful |
| 86 | rear-nonsticky t)) | 89 | rear-nonsticky t)) |
| 87 | user-point message-end-point) | 90 | user-point message-end-point) |
| 88 | (setq message-end-point | 91 | (setq message-end-point |
| 89 | (with-current-buffer (get-buffer-create "*Messages*") | 92 | (with-current-buffer (get-buffer-create "*Messages*") |
| 90 | (point-max-marker))) | 93 | (point-max-marker))) |
| @@ -106,7 +109,7 @@ Prompts for bug subject. Leaves you in a mail buffer." | |||
| 106 | (let ((pos (point))) | 109 | (let ((pos (point))) |
| 107 | (insert "not to your local site managers!") | 110 | (insert "not to your local site managers!") |
| 108 | (put-text-property pos (point) 'face 'highlight))) | 111 | (put-text-property pos (point) 'face 'highlight))) |
| 109 | (insert "\nPlease write in ") | 112 | (insert "\nPlease write in ") |
| 110 | (let ((pos (point))) | 113 | (let ((pos (point))) |
| 111 | (insert "English") | 114 | (insert "English") |
| 112 | (put-text-property pos (point) 'face 'highlight)) | 115 | (put-text-property pos (point) 'face 'highlight)) |
| @@ -132,8 +135,8 @@ usually do not have translators to read other languages for them.\n\n") | |||
| 132 | 135 | ||
| 133 | (let ((debug-file (expand-file-name "DEBUG" data-directory))) | 136 | (let ((debug-file (expand-file-name "DEBUG" data-directory))) |
| 134 | (if (file-readable-p debug-file) | 137 | (if (file-readable-p debug-file) |
| 135 | (insert "If you would like to further debug the crash, please read the file\n" | 138 | (insert "If you would like to further debug the crash, please read the file\n" |
| 136 | debug-file " for instructions.\n"))) | 139 | debug-file " for instructions.\n"))) |
| 137 | (add-text-properties (1+ user-point) (point) prompt-properties) | 140 | (add-text-properties (1+ user-point) (point) prompt-properties) |
| 138 | 141 | ||
| 139 | (insert "\n\nIn " (emacs-version) "\n") | 142 | (insert "\n\nIn " (emacs-version) "\n") |