[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/activities 2027ede904 001/103: Initial commit
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals-release/activities 2027ede904 001/103: Initial commit |
|
Date: |
Tue, 30 Jan 2024 03:57:45 -0500 (EST) |
branch: externals-release/activities
commit 2027ede90490fbdf148daab664e225a12e41dff3
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Initial commit
---
activity.el | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/activity.el b/activity.el
new file mode 100644
index 0000000000..d7e4a17b98
--- /dev/null
+++ b/activity.el
@@ -0,0 +1,66 @@
+;;; activity.el --- Manage, switch between, and suspend/resume sets of
windows, frames, and buffers -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2024 Free Software Foundation, Inc.
+
+;; Author: Adam Porter <adam@alphapapa.net>
+;; Keywords: convenience
+;; Version: 0.1-pre
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Inspired by Genera's and KDE's concepts of "activities", this
+;; library allows the user to select an "activity", the loading of
+;; which restores a window configuration and/or frameset, along with
+;; the buffers shown in each window. Saving an activity saves the
+;; state for later restoration. Switching away from an activity saves
+;; the last-used state for later switching back to, while still
+;; allowing the activity's initial or default state to be restored on
+;; demand. Restoring an activity loads the last-used state, or the
+;; initial/default state when a universal argument is provided.
+
+;; The implementation uses the bookmark system to save buffers'
+;; states--that is, any major mode that supports the bookmark system
+;; is compatible. A buffer whose major mode does not support the
+;; bookmark system (or does not support it well enough to restore
+;; useful state) is not compatible and can't be fully restored, or
+;; perhaps not at all; but solving that is as simple as implementing
+;; bookmark support for the mode, which is usually trivial.
+
+;; Integration with Emacs's `tab-bar-mode' is provided: a window
+;; configuration or frameset can be restored to a window or set of
+;; frames, or to a tab or set of tabs.
+
+;; Various hooks are provided, both globally and per-activity, so that
+;; the user can define functions to be called when an activity is
+;; saved, restored, or switched from/to. For example, this could be
+;; used to limit the set of buffers offered for switching to within an
+;; activity, or to track the time spent in an activity.
+
+;;; Code:
+
+;;;; Customization
+
+(defgroup activity nil
+ "Activities."
+ :link '(emacs-commentary-link "activity")
+ :link '(url-link "https://github.com/alphapapa/activity.el")
+ :group 'convenience)
+
+;;;; Footer
+
+(provide 'activity)
+
+;;; activity.el ends here
- [elpa] externals-release/activities 7c90a5e637 074/103: Fix: Alias, (continued)
- [elpa] externals-release/activities 7c90a5e637 074/103: Fix: Alias, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 72039e1c5e 081/103: Change: (activities-tabs-face) Use font-lock-function-name-face, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities dc2bf71050 085/103: Merge: (activities-default-name-fn), ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 44df8af7de 089/103: Change: (-discard) Offer current activity as default completion, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 0ea9b84880 088/103: Change: (-switch) Offer current activity as default completion, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 6938717945 090/103: Docs: Update changelog, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 70f75f1d2a 086/103: Fix: (activities-mode) Fix parent group, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities ee788599ba 103/103: Release: v0.3, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 6d2aa1a381 003/103: WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 388f31f686 007/103: WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 2027ede904 001/103: Initial commit,
ELPA Syncer <=
- [elpa] externals-release/activities 9de2334d94 011/103: Tabs WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 10c1a7f629 010/103: WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities a337656530 014/103: WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 003df257af 002/103: WIP, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 3738d539e9 018/103: Add FAQ, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities bf181fa512 019/103: Update FAQ, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities bf84de5214 022/103: WIP (multisession doesn't seem to work with alists, trying persist next), ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities f55b63a1cf 023/103: Seems to work, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 43c4524b47 025/103: Fix: (activity-switch) Set frame name, call make-frame correctly, ELPA Syncer, 2024/01/30
- [elpa] externals-release/activities 4bc5b0f757 026/103: Fixes and additions, ELPA Syncer, 2024/01/30