emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emacs-gc-stats 02bb72e5ea 2/3: Add email address to sha


From: ELPA Syncer
Subject: [elpa] externals/emacs-gc-stats 02bb72e5ea 2/3: Add email address to share the results
Date: Fri, 16 Jun 2023 09:58:20 -0400 (EDT)

branch: externals/emacs-gc-stats
commit 02bb72e5ea6cc4b710e3d94930d4b382eeff1eee
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Add email address to share the results
    
    * emacs-gc-stats.el (emacs-gc-stats-save-session): Tell user where to
    share the results.
    * README.org: Update, adding email address to be used for sharing the
    results.
---
 README.md         | 3 ++-
 README.org        | 3 ++-
 emacs-gc-stats.el | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 2717fa5e1c..c81790185c 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,8 @@ to your init file to enable the statistics acquiring.
 
 When you are ready to share the results, run `M-x emacs-gc-stats-save-session`
 and then share the saved `emacs-gc-stats-file` (defaults to
-`~/.emacs.d/emacs-gc-stats.eld`).
+`~/.emacs.d/emacs-gc-stats.eld`) by sending an email attachment to
+<mailto:emacs-gc-stats@gnu.org>.
 
 You can use `M-x emacs-gc-stats-clear` to clear the currently collected
 session data.
diff --git a/README.org b/README.org
index 4d37232d57..d64b1be4d1 100644
--- a/README.org
+++ b/README.org
@@ -19,7 +19,8 @@ to your init file to enable the statistics acquiring.
 
 When you are ready to share the results, run =M-x emacs-gc-stats-save-session=
 and then share the saved ~emacs-gc-stats-file~ (defaults to
-=~/.emacs.d/emacs-gc-stats.eld=).
+=~/.emacs.d/emacs-gc-stats.eld=) by sending an email attachment to
+mailto:emacs-gc-stats@gnu.org.
 
 You can use =M-x emacs-gc-stats-clear= to clear the currently collected
 session data.
diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el
index 6773d23da3..237f718f9f 100644
--- a/emacs-gc-stats.el
+++ b/emacs-gc-stats.el
@@ -183,7 +183,8 @@ Otherwise, collect symbol."
         (if existing
             (setcdr (cdr existing) (cdr session))
           (push session previous-sessions)))
-      (prin1 previous-sessions (current-buffer)))))
+      (prin1 previous-sessions (current-buffer)))
+    (message "GC stats saved to \"%s\".  You can share the file by sending 
email to emacs-gc-stats@gnu.org" emacs-gc-stats-file)))
 
 (defun emacs-gc-stats-clear ()
   "Clear GC stats collected so far."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]