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

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

[elpa] externals/tmr 5dee054c35 1/4: Document tmr-remove-finished


From: ELPA Syncer
Subject: [elpa] externals/tmr 5dee054c35 1/4: Document tmr-remove-finished
Date: Tue, 17 May 2022 05:57:57 -0400 (EDT)

branch: externals/tmr
commit 5dee054c355b809a030f1d42253cca57bf79e7ec
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Document tmr-remove-finished
---
 README.org | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 67679795ab..fe5fb783d0 100644
--- a/README.org
+++ b/README.org
@@ -122,6 +122,10 @@ an optional prefix argument, this command prompts for a 
duration and, if
 the underlying timer had a description, for a description as well.  The
 default values of such prompts as those of the original timer.
 
+#+findex: tmr-remove-finished
+The ~tmr-remove-finished~ command deletes all elapsed timers from the
+list of timers.  This means that they can no longer be cloned.
+
 Timers have hooks associated with their creation, cancellation, or
 completion ([[#h:c908f440-da08-462e-be4e-a61fb274ecbc][Hooks]]).  TMR can also 
integrate with the desktop environment
 to send notifications ([[#h:56bbbd6f-5b63-4375-9c86-e1eb231be356][Sound and 
desktop notifications]]).
@@ -169,6 +173,11 @@ While in this grid view, one can perform several 
operations on timers:
 + The =k= key runs the ~tmr-tabulated-cancel~ command.  It immediately
   cancels the timer at point.
 
+#+findex: tmr-tabulated-remove-finished
++ The =K= key uses ~tmr-tabulated-remove-finished~ to delete all elapsed
+  timers.  This means that they no longer show up in the grid and cannot
+  be cloned.
+
 #+findex: tmr-tabulated-reschedule
 + The =s= key runs the ~tmr-tabulated-reschedule~ command.  It
   effectively replaces the timer at point with a new one, using the
@@ -304,7 +313,8 @@ Everything is in place to set up the package.
   (define-key map (kbd "C-c t T") #'tmr-with-description)
   (define-key map (kbd "C-c t l") #'tmr-tabulated-view) ; "list timers" 
mnemonic
   (define-key map (kbd "C-c t c") #'tmr-clone)
-  (define-key map (kbd "C-c t k") #'tmr-cancel))
+  (define-key map (kbd "C-c t k") #'tmr-cancel)
+  (define-key map (kbd "C-c t K") #'tmr-remove-finished))
 #+end_src
 
 * Acknowledgements



reply via email to

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