update packages

This commit is contained in:
2025-02-26 20:16:44 +01:00
parent 59db017445
commit 45d49daef0
291 changed files with 16240 additions and 522600 deletions

View File

@@ -1,4 +1,4 @@
;;; org-choose.el --- decision management for org-mode
;;; org-choose.el --- decision management for org-mode -*- lexical-binding: t; -*-
;; Copyright (C) 2009-2014, 2021 Tom Breton (Tehom)
@@ -64,12 +64,12 @@
(require 'org)
;(eval-when-compile
; (require 'cl))
(require 'cl)
(require 'cl-lib)
;;; Body
;;; The variables
(defstruct (org-choose-mark-data. (:type list))
(cl-defstruct (org-choose-mark-data. (:type list))
"The format of an entry in org-choose-mark-data.
Indexes are 0-based or `nil'.
"
@@ -117,7 +117,7 @@ Each entry is an `org-choose-mark-data.'" )
(string-match "^," args)
(cons nil arglist-x)
arglist-x)))
(decision-arg (second arglist))
(decision-arg (cl-second arglist))
(type
(cond
((string= decision-arg "0")
@@ -127,7 +127,7 @@ Each entry is an `org-choose-mark-data.'" )
((string= decision-arg "-")
'bot-lower-range)
(t nil)))
(vanilla-arg (first arglist))
(vanilla-arg (cl-first arglist))
(vanilla-mark
(if vanilla-arg
(concat vanilla-text "("vanilla-arg")")
@@ -172,11 +172,11 @@ Each entry is an `org-choose-mark-data.'" )
:static-default (or static-default 0)
:all-keywords all-mark-texts)))))
(dolist (text all-mark-texts)
(pushnew (cons text tail)
org-choose-mark-data
:test
(lambda (a b)
(equal (car a) (car b)))))))
(cl-pushnew (cons text tail)
org-choose-mark-data
:test
(lambda (a b)
(equal (car a) (car b)))))))
;;; org-choose-filter-tail
(defun org-choose-filter-tail (raw)
@@ -189,9 +189,9 @@ interpretation."
((vanilla-list nil)
(all-mark-texts nil)
(index 0)
bot-lower-range top-upper-range range-length static-default)
bot-lower-range top-upper-range static-default)
(dolist (i raw)
(destructuring-bind
(cl-destructuring-bind
(vanilla-text vanilla-mark &optional type)
(org-choose-filter-one i)
(cond
@@ -332,7 +332,7 @@ setting was changed."
(if funcdata
;;The funny-looking names are to make variable capture
;;unlikely. (Poor-man's lexical bindings).
(destructuring-bind (func-d473 . args-46k) funcdata
(cl-destructuring-bind (func-d473 . args-46k) funcdata
(let
((map-over-entries
(org-choose-get-fn-map-group))
@@ -357,8 +357,8 @@ setting was changed."
(defun org-choose-get-index-in-keywords (ix all-keywords)
"Return the index of the current entry."
(if ix
(position ix all-keywords
:test #'equal)))
(cl-position ix all-keywords
:test #'equal)))
;;; org-choose-get-entry-index
(defun org-choose-get-entry-index (all-keywords)