1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Backport memory info in bug reports (2014-03-21T21:27:25Z!dancol@dancol.org) from trunk

This commit is contained in:
Daniel Colascione 2014-03-22 23:16:14 -07:00
parent e4e40f72f3
commit a41475e146
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-23 Daniel Colascione <dancol@dancol.org>
* emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'

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)