Browse Source

Improve subject line of bug report

Carsten Dominik 15 years ago
parent
commit
2d8c5af308
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lisp/org.el

+ 5 - 1
lisp/org.el

@@ -16066,7 +16066,11 @@ what in fact did happen.  You don't know how to make a good report?  See
      http://orgmode.org/manual/Feedback.html#Feedback
 
 Your bug report will be posted to the Org-mode mailing list.
-------------------------------------------------------------------------")))
+------------------------------------------------------------------------")
+    (save-excursion
+      (if (re-search-backward "^\\(Subject: \\)\\(Org-mode version.*?\\);[ \t]*\\(.*\\)" nil t)
+	  (replace-match "\\1Bug: \\3 [\\2]")))))
+    
 
 (defun org-install-agenda-files-menu ()
   (let ((bl (buffer-list)))