[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sesman 13f7748b9f 017/100: Rename sesman-single-link-conte
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sesman 13f7748b9f 017/100: Rename sesman-single-link-contexts -> sesman-single-link-context-types |
Date: |
Tue, 28 Dec 2021 14:05:59 -0500 (EST) |
branch: elpa/sesman
commit 13f7748b9f0da74d2b3f817a2c8e6d8a7d5f0c57
Author: Vitalie Spinu <spinuvit@gmail.com>
Commit: Vitalie Spinu <spinuvit@gmail.com>
Rename sesman-single-link-contexts -> sesman-single-link-context-types
---
README.md | 2 +-
sesman.el | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 787f0ff6e1..c6db29d8f8 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Consists of
From the user's prospective the work-flow is as follow. Start a session,
either with `sesman-start` (`C-c C-s C-s`) or some of the system specific
commands (`run-xyz`, `xyz-jack-in` etc). On startup each session is
automatically associated with the least specific context (commonly a project).
In the most common case the user has only one session open per project. In such
case, no ambiguity arises when a system retrieves the current session. If
multiple sessions are associated with the cu [...]
-By default links with projects and directories are many-to-many in the sense
that any session can be linked to multiple context and each context can be
associated with multiple sessions. Buffers instead are 1-to-many. One buffer
can be associated with only one session and a session can be associated with
multiple buffers. This behavior is controlled by a custom
`sesman-single-link-contexts`.
+By default links with projects and directories are many-to-many in the sense
that any session can be linked to multiple context and each context can be
associated with multiple sessions. Buffers instead are 1-to-many. One buffer
can be associated with only one session and a session can be associated with
multiple buffers. This behavior is controlled by a custom
`sesman-single-link-context-types`.
### [System Interface][]
diff --git a/sesman.el b/sesman.el
index 9ea6a8b7cd..925236a0de 100644
--- a/sesman.el
+++ b/sesman.el
@@ -57,8 +57,8 @@ system's implementation, see `sesman-more-relevant-p'."
:group 'sesman
:type 'boolean)
-(defcustom sesman-single-link-contexts '(buffer)
- "List of context types for which links should be unique."
+(defcustom sesman-single-link-context-types '(buffer)
+ "List of context types to which at most one session can be linked."
:group 'sesman
:type '(repeat symbol))
@@ -118,7 +118,7 @@ Can be either a symbol, or a function returning a symbol.")
(user-error "No local context of type %s" cxt-type)))
(key (cons system ses-name))
(link (list key cxt-type cxt-val)))
- (if (member cxt-type sesman-single-link-contexts)
+ (if (member cxt-type sesman-single-link-context-types)
(thread-last sesman-links-alist
(seq-remove (sesman--link-lookup-fn system nil cxt-type cxt-val))
(cons link)
- [nongnu] branch elpa/sesman created (now e0f555f963), ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 6aa04521eb 012/100: Add badges, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 0f6eadfb1a 004/100: Idem, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman b27755c150 003/100: Major update before cider integration, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman e83fcfd939 002/100: Add readme, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 4f52cccf26 013/100: Update readme, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman fea061de16 007/100: Add sesman menu, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman a39f0e2c1b 015/100: Add commentary, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 13f7748b9f 017/100: Rename sesman-single-link-contexts -> sesman-single-link-context-types,
ELPA Syncer <=
- [nongnu] elpa/sesman 0303d66f0e 019/100: Rename link accessors --link- -> --lnk- to avoid naming confusion, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 0f86bd3d34 021/100: Rename sesman-ensure-linked-session -> sesman-ensure-session, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 43b0c9ef2a 026/100: [Fix #4] Rename lingering sesman-ensure-linked-session, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman fb4d2784f3 025/100: Fix typo in README, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 16be56c643 032/100: Add a missing :package-version to a defcustom, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 4229e2128c 027/100: Replace a redundant let*, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 9ec1c330a6 034/100: Fix typo sesman-more-relevant-p -> sesman-more-recent-p, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman e340810e82 030/100: Refer to a few commands with the #' notation, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman ae94cee124 033/100: [Fix #3] Remove outdated links from readme and add link to CIDER implementation, ELPA Syncer, 2021/12/28
- [nongnu] elpa/sesman 77ca42e33c 037/100: Add tests, ELPA Syncer, 2021/12/28