Version 0.9.1 of package Detached has just been released in GNU ELPA. You can now find it in M-x package-list RET.
Detached describes itself as: A package to launch, and manage, detached processes More at https://elpa.gnu.org/packages/detached.html Recent NEWS: ━━━━━━━━━━━━━━━━━━━━━━━━━ DETACHED.EL - CHANGELOG ━━━━━━━━━━━━━━━━━━━━━━━━━ Table of Contents ───────────────── 1. Development 2. Version 0.9.1 (2022-09-22) 3. Version 0.9.0 (2022-09-16) 4. Version 0.8.1 (2022-09-08) 5. Version 0.8.0 (2022-09-02) 6. Version 0.7 (2022-05-21) 1 Development ═════════════ 2 Version 0.9.1 (2022-09-22) ════════════════════════════ • Fix bug with detaching in `shell' 3 Version 0.9.0 (2022-09-16) ════════════════════════════ • Add `detached-list' user interface. It is an alternative user interface where it is easier to manage the `detached' sessions. Commands to mark, toggle, and narrow based on different criteria are available. • Rework session initialization and validation. This also improves the way Emacsen co-operates in term of updating sessions that become inactive. The new approach is described under `architecture' in `notes.org'. • Improved handling of remote sessions. The package will only try to initialize sessions that are accessible when package loads. Other active sessions it will wait until a remote connection has been established before they are being watched. 4 Version 0.8.1 (2022-09-08) ════════════════════════════ • Adjust default location for sessions, from a directory under `temporary-file-directory' to `user-emacs-directory'. This change is for security reasons in case the user shares the computer with other users. By default sessions will not be removed on reboots, the user can use `M-x detached-delete-sessions' to clear old sessions manually. • Fix bug when initializing `detached-session-directory', this worked incorrectly when users initialized `detached' while being on a remote host. • Add an `initial-mode' property to a session. This enables sessions that were created using `create' mode instead of `create-and-attach' to inherit this property when a session is being rerun. 5 Version 0.8.0 (2022-09-02) ════════════════════════════ • Change to semantic versioning • Update expectations on `detached-terminal-data-command' command, user should now set it manually. This approach works better since it doesn't cause any conflict when remote host and local host operating system differs. • Improved handling of remote sessions. The package will not eagerly try to watch sessions, it waits until user requests or that it finds an open connection to the remote host. • Detached tries to guess the `detached-terimal-data-command' based on operating system, if that's not possible the user needs to set it manually. Currently detection of `gnu/linux' and `darwin' is supported. • Detached now relies on the tool `tail' in order to attach to degraded sessions. That means that `dtach' and `tail' are required to properly use the package. • Rename non-attachable sessions to degraded sessions. • Remove tail command, favor using `attach' or `view'. • Improve support for Emacsen. The PID of all detached Emacsen are registered, this is done to be able to promote one Emacs to primary, which has the responsibility to update the database. • Add command to open a session's log file in `dired'. • Remove the need for `detached-shell-history-file', the advice is updated to figure out the history file based on the shell program. • Remove the need for external `detached-env' script, the logic of the script is moved into the package instead. • Add `detached-terminal-data-command' which makes it possible for users to tweak the command used to run `script'. • Bug fix: Since the inception of the package there had been a bug which only occurred on remote hosts, and which was caused by `shell' not properly handling being adviced. • The package makes sure to let-bind the kill-ring before killing input in different modes, previously the killed text unintentionally ended up in users kill-ring. • Notification using the `alert' package is now present in the `detached-extra.el' and therefore doesn't need to be manually added by users 6 Version 0.7 (2022-05-21) ══════════════════════════ • Rename `dtache' to `detached.el', source code has been moved to <https://git.sr.ht/~niklaseklund/detached.el> • Introduce `dtache-init.el' and move integration of other packages there. The integration now becomes even simpler for users of `dtache'. • Rewrite `dtache' to enable the package to lazy load and not force users to load it when starting Emacs. • Make completion of sessions adapt to the current dtache sessions. All of the sessions will be used to determine an an appropriate width for the command width as well as each individual annotation. Format has updated in `dtache-annotation-format' and a `dtache-command-format' has been added, this supersedes the `dtache-max-command-lenght'. … …
