From 0184dfdcffd31eac9ac1a83f136729d03f34453c Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 22 Dec 2024 13:17:59 +0100 Subject: [PATCH] update sesman Signed-off-by: Andreas Gerler --- elpa/sesman-20210901.1134/sesman-pkg.el | 14 ----- .../sesman-autoloads.el | 57 ++++++++----------- .../sesman-browser.el | 0 elpa/sesman-20240417.1723/sesman-pkg.el | 8 +++ .../sesman.el | 21 +++---- elpa/sesman-readme.txt | 3 - 6 files changed, 42 insertions(+), 61 deletions(-) delete mode 100644 elpa/sesman-20210901.1134/sesman-pkg.el rename elpa/{sesman-20210901.1134 => sesman-20240417.1723}/sesman-autoloads.el (76%) rename elpa/{sesman-20210901.1134 => sesman-20240417.1723}/sesman-browser.el (100%) create mode 100644 elpa/sesman-20240417.1723/sesman-pkg.el rename elpa/{sesman-20210901.1134 => sesman-20240417.1723}/sesman.el (99%) delete mode 100644 elpa/sesman-readme.txt diff --git a/elpa/sesman-20210901.1134/sesman-pkg.el b/elpa/sesman-20210901.1134/sesman-pkg.el deleted file mode 100644 index 28483f7d..00000000 --- a/elpa/sesman-20210901.1134/sesman-pkg.el +++ /dev/null @@ -1,14 +0,0 @@ -(define-package "sesman" "20210901.1134" "Generic Session Manager" - '((emacs "25")) - :commit "e0f555f963c9f02f8e4a50e06fc353eb4c15ee77" :authors - '(("Vitalie Spinu")) - :maintainers - '(("Vitalie Spinu")) - :maintainer - '("Vitalie Spinu") - :keywords - '("process") - :url "https://github.com/vspinu/sesman") -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/sesman-20210901.1134/sesman-autoloads.el b/elpa/sesman-20240417.1723/sesman-autoloads.el similarity index 76% rename from elpa/sesman-20210901.1134/sesman-autoloads.el rename to elpa/sesman-20240417.1723/sesman-autoloads.el index 791c3959..1b16cda2 100644 --- a/elpa/sesman-20210901.1134/sesman-autoloads.el +++ b/elpa/sesman-20240417.1723/sesman-autoloads.el @@ -1,17 +1,18 @@ -;;; sesman-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; +;;; sesman-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + ;;; Code: -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + -;;;### (autoloads nil "sesman" "sesman.el" (0 0 0 0)) ;;; Generated autoloads from sesman.el (autoload 'sesman-start "sesman" "\ -Start a Sesman session." t nil) - +Start a Sesman session." t) (autoload 'sesman-restart "sesman" "\ Restart sesman session. When WHICH is nil, restart the current session; when a single universal @@ -19,8 +20,7 @@ argument or 'linked, restart all linked sessions; when a double universal argument, t or 'all, restart all sessions. For programmatic use, WHICH can also be a session or a name of the session, in which case that session is restarted. -\(fn &optional WHICH)" t nil) - +(fn &optional WHICH)" t) (autoload 'sesman-quit "sesman" "\ Terminate a Sesman session. When WHICH is nil, kill only the current session; when a single universal @@ -28,77 +28,66 @@ argument or 'linked, kill all linked sessions; when a double universal argument, t or 'all, kill all sessions. For programmatic use, WHICH can also be a session or a name of the session, in which case that session is killed. -\(fn &optional WHICH)" t nil) - +(fn &optional WHICH)" t) (autoload 'sesman-info "sesman" "\ Display info for all current sessions (`sesman-current-sessions'). In the resulting minibuffer display linked sessions are numbered and the other (friendly) sessions are not. When ALL is non-nil, show info for all sessions. -\(fn &optional ALL)" t nil) - +(fn &optional ALL)" t) (autoload 'sesman-link-with-buffer "sesman" "\ Ask for SESSION and link with BUFFER. BUFFER defaults to current buffer. On universal argument, or if BUFFER is 'ask, ask for buffer. -\(fn &optional BUFFER SESSION)" t nil) - +(fn &optional BUFFER SESSION)" t) (autoload 'sesman-link-with-directory "sesman" "\ Ask for SESSION and link with DIR. DIR defaults to `default-directory'. On universal argument, or if DIR is 'ask, ask for directory. -\(fn &optional DIR SESSION)" t nil) - +(fn &optional DIR SESSION)" t) (autoload 'sesman-link-with-project "sesman" "\ Ask for SESSION and link with PROJECT. PROJECT defaults to current project. On universal argument, or if PROJECT is 'ask, ask for the project. SESSION defaults to the current session. -\(fn &optional PROJECT SESSION)" t nil) - +(fn &optional PROJECT SESSION)" t) (autoload 'sesman-link-with-least-specific "sesman" "\ Ask for SESSION and link with the least specific context available. Normally the least specific context is the project. If not in a project, link with the `default-directory'. If `default-directory' is nil, link with current buffer. -\(fn &optional SESSION)" t nil) - +(fn &optional SESSION)" t) (autoload 'sesman-unlink "sesman" "\ Break sesman LINKS. If LINKS is nil, ask interactively for a link. With a prefix argument break all links. -\(fn &optional LINKS)" t nil) +(fn &optional LINKS)" t) (autoload 'sesman-map "sesman" "Session management prefix keymap." t 'keymap) - (register-definition-prefixes "sesman" '("sesman-")) -;;;*** -;;;### (autoloads nil "sesman-browser" "sesman-browser.el" (0 0 0 -;;;;;; 0)) ;;; Generated autoloads from sesman-browser.el (autoload 'sesman-browser "sesman-browser" "\ Display an interactive session browser. -See `sesman-browser-mode' for more details." t nil) - +See `sesman-browser-mode' for more details." t) (register-definition-prefixes "sesman-browser" '("sesman-")) - -;;;*** -;;;### (autoloads nil nil ("sesman-pkg.el") (0 0 0 0)) +;;; End of scraped data + +(provide 'sesman-autoloads) -;;;*** - ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t -;; coding: utf-8 +;; no-native-compile: t +;; coding: utf-8-emacs-unix ;; End: + ;;; sesman-autoloads.el ends here diff --git a/elpa/sesman-20210901.1134/sesman-browser.el b/elpa/sesman-20240417.1723/sesman-browser.el similarity index 100% rename from elpa/sesman-20210901.1134/sesman-browser.el rename to elpa/sesman-20240417.1723/sesman-browser.el diff --git a/elpa/sesman-20240417.1723/sesman-pkg.el b/elpa/sesman-20240417.1723/sesman-pkg.el new file mode 100644 index 00000000..7db0ec0b --- /dev/null +++ b/elpa/sesman-20240417.1723/sesman-pkg.el @@ -0,0 +1,8 @@ +;; -*- no-byte-compile: t; lexical-binding: nil -*- +(define-package "sesman" "20240417.1723" + "Generic Session Manager." + '((emacs "25")) + :url "https://github.com/vspinu/sesman" + :commit "7bca68dbbab0af26a6a23be1ff5fa97f9a18e022" + :revdesc "7bca68dbbab0" + :keywords '("process")) diff --git a/elpa/sesman-20210901.1134/sesman.el b/elpa/sesman-20240417.1723/sesman.el similarity index 99% rename from elpa/sesman-20210901.1134/sesman.el rename to elpa/sesman-20240417.1723/sesman.el index 22bd3fe8..0045916b 100644 --- a/elpa/sesman-20210901.1134/sesman.el +++ b/elpa/sesman-20240417.1723/sesman.el @@ -4,7 +4,8 @@ ;; Author: Vitalie Spinu ;; URL: https://github.com/vspinu/sesman ;; Keywords: process -;; Version: 0.3.3-DEV +;; Package-Version: 20240417.1723 +;; Package-Revision: 7bca68dbbab0 ;; Package-Requires: ((emacs "25")) ;; Keywords: processes, tools, vc ;; @@ -32,8 +33,8 @@ ;;; Commentary: ;; ;; Sesman provides facilities for session management and interactive session -;; association with the current contexts (project, directory, buffers etc). See -;; project's readme for more details. +;; association with the current contexts (project, directory, buffers etc). +;; See project's readme for more details. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; @@ -86,10 +87,10 @@ When nil, don't follow symlinks. When 'vc, follow symlinks only when ;; (defcustom sesman-disambiguate-by-relevance t ;; "If t choose most relevant session in ambiguous situations, otherwise ask. -;; Ambiguity arises when multiple sessions are associated with current context. By -;; default only projects could be associated with multiple sessions. See -;; `sesman-single-link-contexts' in order to change that. Relevance is decided by -;; system's implementation, see `sesman-more-relevant-p'." +;; Ambiguity arises when multiple sessions are associated with current context. +;; By default only projects could be associated with multiple sessions. See +;; `sesman-single-link-contexts' in order to change that. Relevance is decided +;; by system's implementation, see `sesman-more-relevant-p'." ;; :group 'sesman ;; :type 'boolean) @@ -122,9 +123,8 @@ and cxt-type must be symbols.") Can be either a symbol, or a function returning a symbol.") (put 'sesman-system 'permanent-local 't) - -;; Internal Utilities +;;; Internal Utilities (defun sesman--on-C-u-u-sessions (system which) (cond @@ -626,7 +626,8 @@ types to consider. Defaults to the list returned from `sesman-context-types'." "Get the most relevant current session for the SYSTEM. CXT-TYPES is a list of context types to consider." (or (car (sesman--linked-sessions system 'sort cxt-types)) - (car (sesman--friendly-sessions system 'sort)))) + (when sesman-use-friendly-sessions + (car (sesman--friendly-sessions system 'sort))))) (defun sesman-ensure-session (system &optional cxt-types) "Get the most relevant linked session for SYSTEM or throw if none exists. diff --git a/elpa/sesman-readme.txt b/elpa/sesman-readme.txt deleted file mode 100644 index 653b8954..00000000 --- a/elpa/sesman-readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -Sesman provides facilities for session management and interactive session -association with the current contexts (project, directory, buffers etc). See -project's readme for more details. -- 2.47.3