unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-devel <emacs-devel@gnu.org>
Subject: [ELPA] New package: activities
Date: Thu, 25 Jan 2024 18:59:42 -0600	[thread overview]
Message-ID: <cc4220a5-491f-4a23-b165-a1d46b76189a@alphapapa.net> (raw)

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

Hi,

I'd like to add a new package to ELPA, activities.el.  It's hosted at:

   https://github.com/alphapapa/activities.el

Here's the description; please see the readme/manual for more details.

   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.  Resuming 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 (or will be–feedback is welcome) 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.

Please see the attached patch to elpa-packages.

Thanks,
Adam

[-- Attachment #2: 0001-elpa-packages-activities-New-package.patch --]
[-- Type: text/x-patch, Size: 730 bytes --]

From 96e673cb20366758e4b928f72e7a1491039fa635 Mon Sep 17 00:00:00 2001
From: Adam Porter <adam@alphapapa.net>
Date: Thu, 25 Jan 2024 18:53:38 -0600
Subject: [PATCH] elpa-packages (activities): New package

---
 elpa-packages | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index c73e8a066b..c77b650592 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -35,6 +35,9 @@
 
 ((ace-window		:url "https://github.com/abo-abo/ace-window")
  (ack			:url "https://github.com/leoliu/ack-el")
+ (activities           	:url "https://github.com/alphapapa/activities.el.git"
+   :release-branch "stable"
+   :doc "README.org")
  (ada-mode		:url nil
   :doc ("ada-mode.texi")
   :release-branch t)
-- 
2.30.2


             reply	other threads:[~2024-01-26  0:59 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26  0:59 Adam Porter [this message]
2024-01-26  7:33 ` [ELPA] New package: activities Philip Kaludercic
2024-01-26 10:36   ` Adam Porter
2024-01-29 19:50     ` Adam Porter
2024-01-30  7:16       ` Philip Kaludercic
2024-01-30  7:43         ` Adam Porter
2024-01-26  7:45 ` Eli Zaretskii
2024-01-26 10:42   ` Adam Porter
2024-01-26 12:32     ` Eli Zaretskii
2024-01-26 21:59       ` Adam Porter
2024-01-27  7:08         ` Eli Zaretskii
2024-01-27  8:46           ` Adam Porter
2024-01-27 14:53             ` Eric S Fraga
2024-01-27 15:32               ` Eli Zaretskii
2024-01-27 16:14               ` Sergey Organov
2024-01-28 11:25                 ` Eric S Fraga
2024-01-29 10:45                   ` Sergey Organov
2024-01-29 13:03                     ` Philip Kaludercic
2024-01-29 22:23                       ` Sergey Organov
2024-01-29 15:29                     ` Fraga, Eric
2024-01-26  8:25 ` Eshel Yaron
2024-01-26 10:48   ` Adam Porter
2024-01-29 21:48 ` JD Smith
2024-01-30  0:08   ` Chris Van Dusen
2024-01-30  0:24     ` Adam Porter
2024-02-01  3:49       ` Richard Stallman
2024-01-30  2:50     ` JD Smith
  -- strict thread matches above, loose matches on Subject: below --
2024-01-27 19:20 Drew Adams
2024-02-01  5:33 Joseph Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc4220a5-491f-4a23-b165-a1d46b76189a@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).