unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode.
@ 2020-08-02 13:33 Morgan.J.Smith
  2020-08-02 15:17 ` Oleg Pykhalov
  2020-08-02 19:10 ` Morgan.J.Smith
  0 siblings, 2 replies; 4+ messages in thread
From: Morgan.J.Smith @ 2020-08-02 13:33 UTC (permalink / raw)
  To: 42674; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode.
  2020-08-02 13:33 [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode Morgan.J.Smith
@ 2020-08-02 15:17 ` Oleg Pykhalov
  2020-08-02 19:10 ` Morgan.J.Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2020-08-02 15:17 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 42674

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Hi,

Could you take a look on running the test suite, please?

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode.
  2020-08-02 13:33 [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode Morgan.J.Smith
  2020-08-02 15:17 ` Oleg Pykhalov
@ 2020-08-02 19:10 ` Morgan.J.Smith
  2020-08-12 16:50   ` bug#42674: " Oleg Pykhalov
  1 sibling, 1 reply; 4+ messages in thread
From: Morgan.J.Smith @ 2020-08-02 19:10 UTC (permalink / raw)
  To: 42674; +Cc: go.wigust, Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): New variable.
---
DO NOT COMMIT YET!

This should only be commited after patch 42679.

 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a90d789d7a..ab8e6dff6c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3237,6 +3237,39 @@ 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)
+      (native-inputs
+       `(("emacs" ,emacs-buttercup)))
+      (arguments
+       '(#:tests? #t
+         ;; Don't run case-tests as they will fail to create sockets because
+         ;; the path is too long
+         #:test-command '("make" "byte-compile" "unit-tests")
+         ;; Parallel testing will cause the tests to run before
+         ;; byte-compilation is finished
+         #:parallel-tests? #f))
+      (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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#42674: [PATCH] gnu: Add emacs-explain-pause-mode.
  2020-08-02 19:10 ` Morgan.J.Smith
@ 2020-08-12 16:50   ` Oleg Pykhalov
  0 siblings, 0 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2020-08-12 16:50 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 42674-done

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Hi,

Thank you!

Pushed to master.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-12 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02 13:33 [bug#42674] [PATCH] gnu: Add emacs-explain-pause-mode Morgan.J.Smith
2020-08-02 15:17 ` Oleg Pykhalov
2020-08-02 19:10 ` Morgan.J.Smith
2020-08-12 16:50   ` bug#42674: " Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).