Add memory information to bug reports

This commit is contained in:
Daniel Colascione 2014-03-21 14:27:25 -07:00
commit 0d8ac93e1c
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-03-21 Daniel Colascione <dancol@dancol.org>
* mail/emacsbug.el (report-emacs-bug): Include memory usage
information in bug reports.
2014-03-21 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'

View file

@ -322,6 +322,10 @@ usually do not have translators for other languages.\n\n")))
shadows)))
(insert (format "\nFeatures:\n%s\n" features))
(fill-region (line-beginning-position 0) (point))
(insert (format "\nMemory information:\n"))
(pp (garbage-collect) (current-buffer))
;; This is so the user has to type something in order to send easily.
(use-local-map (nconc (make-sparse-keymap) (current-local-map)))
(define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug)