Subject: bug#42674: closed (Re: [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 12 Aug 2020 16:51:02 +0000

Your bug report

#42674: [PATCH] gnu: Add emacs-explain-pause-mode.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42674: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42674
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode.
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Wed, 12 Aug 2020 19:50:38 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Thank you!

Pushed to master.

Oleg.

Subject: [PATCH] gnu: Add emacs-explain-pause-mode.
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Sun, 2 Aug 2020 09:33:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a90d789d7a..5078bbd56e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3237,6 +3237,29 @@ keep pressing the key until it selects what you want.  There's also
 @code{er/contract-region} if you expand too far.")
     (license license:gpl3+)))
 
+(define-public emacs-explain-pause-mode
+  (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51")
+        (revision "0"))
+  (package
+    (name "emacs-explain-pause-mode")
+    (version (git-version "0.1" revision commit))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/lastquestion/explain-pause-mode")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0frnfwqal9mrnrz6q4v7vcai26ahaw81894arff1yjw372pfgv7v"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/lastquestion/explain-pause-mode")
+    (synopsis "Provides a top like interface to determine why Emacs paused")
+    (description "Monitors Emacs function calls and records their execution
+time.  This information can be reviewed to determine what is causing the user
+interface to pause.")
+    (license license:gpl3+))))
+
 (define-public emacs-fill-column-indicator
   (package
     (name "emacs-fill-column-indicator")
-- 
2.28.0