From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: activities Date: Fri, 26 Jan 2024 04:42:26 -0600 Message-ID: References: <86frykbksh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36711"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 26 11:43:21 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rTJg6-0009J9-Si for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Jan 2024 11:43:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTJfT-0008A0-Ij; Fri, 26 Jan 2024 05:42:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTJfR-00089s-TW for emacs-devel@gnu.org; Fri, 26 Jan 2024 05:42:37 -0500 Original-Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTJfP-0000rx-Fo; Fri, 26 Jan 2024 05:42:37 -0500 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2A7C0502E1C; Fri, 26 Jan 2024 10:42:29 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a312.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A6DF05031AB; Fri, 26 Jan 2024 10:42:28 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706265748; a=rsa-sha256; cv=none; b=Fns3GzfBZSlw3iruDnZzxtdyDYUjDvsHk/J1T4R/z9HSvOOCmlEE3gBB2LoreS0SfV9/TB JYSBkx5UgTMrV/qhuPeoPvE0XYXPxpWsvoPxi6X9NdlF7zyQmbbkGmgG7jiQrSVtPZJJ+6 ll+w38vm8dwYcxhVolRewHl/7kkgRyUUHmvfKJxdjYBWxDOZF3NzzHzjK97Eksbob7xX2S Jc6siAvpi7LXLgco5t2ptEMYZIYI2cyc2oCbfEo+R4PtYdxFxHlJkO0l8i+gU2F+NWBr6J ovK9ts+1Uz6tml8iQXXMU9vyv3jh04WSC5kjq0OjOupq5KlIBIP9dtxZVV9/mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706265748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=TRTdEdK9YWVAQCsLuDy0/GEfsTrrQ2IMhGTDF8DF1ek=; b=m5AJKwgS6qCNNfpK+bGRZCQfwGJr45ZMwUSGqF4T+o4SEN2kp5Ih5M0ZkrSaaaWxdGvdem i7hdUmAMC0eivMnhhGGPixfcZQfNvqnPmXJW/hji4v9G3bF3jp8rO31/Hh/stRE/aI86jI TrkPF+vzJZfx2F42I3SlGX1WdZjm2SkMAl48Kd1z3O2n7bSNRrp9LNTTjbujCtjvWO/rJl 3eKZTjlis0217uVGaZua1jchkNevpCw1Gnd3wfq0eMD132lUIhPfjT+kkutSfws5NSXb8i olAmE0JUwFCl/QAZW/S1hUUnxaoJKet/tp6pxtPWAtyIfhXYknh43l6Ygr6wCg== ARC-Authentication-Results: i=1; rspamd-6fdd97fffb-p595b; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Trade-Power: 00002f2b59ec13fb_1706265748913_1630057794 X-MC-Loop-Signature: 1706265748913:2552671189 X-MC-Ingress-Time: 1706265748913 Original-Received: from pdx1-sub0-mail-a312.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.123.135.40 (trex/6.9.2); Fri, 26 Jan 2024 10:42:28 +0000 Original-Received: from [10.66.0.30] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a312.dreamhost.com (Postfix) with ESMTPSA id 4TLvQr1BFLzGy; Fri, 26 Jan 2024 02:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1706265748; bh=TRTdEdK9YWVAQCsLuDy0/GEfsTrrQ2IMhGTDF8DF1ek=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=o/7G5RD86qjhCxA9bYNEYocmhoKsnHUeyMndZYasOtoTH84rhOsaRBhgj6Q8mesSt BMCLEaahxRmjO2lIxZlDPRCcNjJsvUpmpEbHieoUxMpwU5M8SG/aBHjW02g7tbl71u Sc87DO3fM+/yCy/zibJV88zupIwd6e8jN9iKhmrpt1mRPk5Z2sOUFHy0ZWoyAejDFM 581sgmumNBi1/qE3eFgb2rllsRl097ecFpA2y1oBROBQ0c4mRRf76hwuMu51dUcwU4 jkkUoC4FsmKkEkpz2gBmaetkVLNeXItdV6FtHLgySeq5QmJDd+yL/TKiQ4s1/AuXQ1 nbbmo/X3q8BoQ== Content-Language: en-US In-Reply-To: <86frykbksh.fsf@gnu.org> Received-SPF: neutral client-ip=23.83.209.55; envelope-from=adam@alphapapa.net; helo=eastern.birch.relay.mailchannels.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315425 Archived-At: Hi Eli, On 1/26/24 01:45, Eli Zaretskii wrote: >> Date: Thu, 25 Jan 2024 18:59:42 -0600 >> From: Adam Porter >> >> 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. > > From the user-facing POV, how is this different from desktop.el's > ability to save/restore Emacs sessions to/from separate desktop files? As the documentation explains: How does this differ from the built-in ~desktop-mode~? :: As best this author can tell, ~desktop-mode~ saves and restores one set of buffers, with various options to control its behavior. It does not use ~bookmark~ internally, which prevents it from restoring non-file-backed buffers. As well, it is not intended to be used on-demand to switch between sets of buffers, windows, or frames (i.e. "activities"). In addition to that, activities.el provides a mode to automatically save an activity's last window configuration in addition to its default. And it provides integration with tab-bar-mode, as well as other conveniences and interactive commands. Finally, activities.el is designed to be independent of other features and co-exist with them, avoiding interference with other libraries. It's only a few days old, but is based on another library of mine; I intend to continue developing it with user feedback to allow further extension and integration with other tools. Thanks, Adam