2005-03-12 Daiki Ueno <ueno@unixuser.org>
* riece.el (riece-buffer-alist): Init riece-debug-buffer.
+ (riece-submit-bug-report): Insert content of riece-debug-buffer.
+
* riece-globals.el (riece-debug-buffer): New variable.
* riece-filter.el (riece-sentinel): Use riece-debug.
* riece-display.el (riece-channel-buffer-name): Use riece-debug.
(buffer-substring (point) (point-max)))
"(closed server)"))
(setq pointer (cdr pointer))))
+ (insert "\n\nRecent debug messages:\n"
+ "-----------------------------------\n"
+ (with-current-buffer riece-debug-buffer
+ (buffer-string)))
;; Insert recent keystrokes.
(insert "\n\nRecent keystrokes:\n"
"-----------------\n\n")