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

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

[elpa] externals-release/activities a4d0cf85a5 062/103: Docs: Update, li


From: ELPA Syncer
Subject: [elpa] externals-release/activities a4d0cf85a5 062/103: Docs: Update, list commands
Date: Tue, 30 Jan 2024 03:57:51 -0500 (EST)

branch: externals-release/activities
commit a4d0cf85a5e61c3123b03200a71571714bca6261
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Docs: Update, list commands
---
 README.org      | 15 ++++++++++++++-
 activities.info | 56 +++++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 59 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index 4b3eba0901..c395821268 100644
--- a/README.org
+++ b/README.org
@@ -38,7 +38,9 @@ Until this library is available from a package archive, it's 
recommended to inst
      ("C-x C-a RET" . activities-switch)
      ("C-x C-a g" . activities-revert)
      ("C-x C-a n" . activities-new)
-     ("C-x C-a s" . activities-suspend))
+     ("C-x C-a s" . activities-suspend)
+     ;; Alias for `activities-suspend'.
+     ("C-x C-a C-k" . activities-kill))
 
     :config
     ;; Automatically save activities' states when Emacs is idle and upon
@@ -72,6 +74,17 @@ An example of a workflow using activities:
 8. Call ~activities-new~ with a universal prefix argument (~C-u C-x C-a n~) to 
redefine an activity's default state.
 9. Suspend the activity with ~activities-suspend~ (~C-x C-a s~) (which saves 
its last state and closes its frame/tab).
 
+** Commands
+
++ ~activities-new~ (~C-x C-a n~) :: Define a new activity whose default state 
is the current frame's or tab's window configuration.  With prefix argument, 
overwrite an existing activity (thereby updating its default state to the 
current state).
++ ~activities-suspend~ (~C-x C-a s~) :: Save an activity's state and close its 
frame or tab.
++ ~activities-kill~ (~C-x C-a C-k~) :: Alias for ~activities-suspend~.
++ ~activities-resume~ (~C-x C-a C-a~) :: Resume an activity, switching to a 
new frame or tab for its window configuration, and restoring its buffers.  With 
prefix argument, restore its default state rather than its last.
++ ~activities-revert~ (~C-x C-a g~) :: Revert an activity to its default state.
++ ~activities-switch~ (~C-x C-a RET~) :: Switch to an already-active activity.
++ ~activities-discard~ :: Discard an activity permanently.
++ ~activities-save-all~ :: Save all active activities' states.  
(~activities-mode~ does this automatically, so this command should rarely be 
needed.)
+
 ** Bookmarks
 
 When option ~activities-bookmark-store~ is enabled, an Emacs bookmark is 
stored when a new activity is made.  This allows the command ~bookmark-jump~ 
(~C-x r b~) to be used to resume an activity (helping to universalize the 
bookmark system).
diff --git a/activities.info b/activities.info
index feb24a2a49..372d1a3b71 100644
--- a/activities.info
+++ b/activities.info
@@ -53,6 +53,7 @@ Usage
 
 * Modes::
 * Workflow::
+* Commands::
 * Bookmarks::
 
 
@@ -90,7 +91,9 @@ to install it using Quelpa 
(https://framagit.org/steckerhalter/quelpa):
         ("C-x C-a RET" . activities-switch)
         ("C-x C-a g" . activities-revert)
         ("C-x C-a n" . activities-new)
-        ("C-x C-a s" . activities-suspend))
+        ("C-x C-a s" . activities-suspend)
+        ;; Alias for `activities-suspend'.
+        ("C-x C-a C-k" . activities-kill))
 
        :config
        ;; Automatically save activities' states when Emacs is idle and upon
@@ -114,6 +117,7 @@ File: README.info,  Node: Usage,  Next: FAQ,  Prev: 
Installation,  Up: Top
 
 * Modes::
 * Workflow::
+* Commands::
 * Bookmarks::
 
 
@@ -134,7 +138,7 @@ File: README.info,  Node: Modes,  Next: Workflow,  Up: Usage
      please report them._)
 
 
-File: README.info,  Node: Workflow,  Next: Bookmarks,  Prev: Modes,  Up: Usage
+File: README.info,  Node: Workflow,  Next: Commands,  Prev: Modes,  Up: Usage
 
 3.2 Workflow
 ============
@@ -159,9 +163,38 @@ An example of a workflow using activities:
      saves its last state and closes its frame/tab).
 
 
-File: README.info,  Node: Bookmarks,  Prev: Workflow,  Up: Usage
+File: README.info,  Node: Commands,  Next: Bookmarks,  Prev: Workflow,  Up: 
Usage
 
-3.3 Bookmarks
+3.3 Commands
+============
+
+‘activities-new’ (‘C-x C-a n’)
+     Define a new activity whose default state is the current frame’s or
+     tab’s window configuration.  With prefix argument, overwrite an
+     existing activity (thereby updating its default state to the
+     current state).
+‘activities-suspend’ (‘C-x C-a s’)
+     Save an activity’s state and close its frame or tab.
+‘activities-kill’ (‘C-x C-a C-k’)
+     Alias for ‘activities-suspend’.
+‘activities-resume’ (‘C-x C-a C-a’)
+     Resume an activity, switching to a new frame or tab for its window
+     configuration, and restoring its buffers.  With prefix argument,
+     restore its default state rather than its last.
+‘activities-revert’ (‘C-x C-a g’)
+     Revert an activity to its default state.
+‘activities-switch’ (‘C-x C-a RET’)
+     Switch to an already-active activity.
+‘activities-discard’
+     Discard an activity permanently.
+‘activities-save-all’
+     Save all active activities’ states.  (‘activities-mode’ does this
+     automatically, so this command should rarely be needed.)
+
+
+File: README.info,  Node: Bookmarks,  Prev: Commands,  Up: Usage
+
+3.4 Bookmarks
 =============
 
 When option ‘activities-bookmark-store’ is enabled, an Emacs bookmark is
@@ -230,13 +263,14 @@ Why did I get an error?
 
 Tag Table:
 Node: Top231
-Node: Contents2022
-Node: Installation2142
-Node: Usage3691
-Node: Modes3833
-Node: Workflow4458
-Node: Bookmarks5412
-Node: FAQ5764
+Node: Contents2035
+Node: Installation2155
+Node: Usage3789
+Node: Modes3944
+Node: Workflow4569
+Node: Commands5522
+Node: Bookmarks6735
+Node: FAQ7087
 
 End Tag Table
 



reply via email to

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