Created
August 26, 2021 15:06
-
-
Save teddygroves/c2f2564c70c255409192e5319cc0eced to your computer and use it in GitHub Desktop.
b3e5033
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") | |
(split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+") | |
(closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+"))("${author editor:30} ${date year issued:4} ...") | |
mapcar((closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+")) ("${author editor:30} ${date year issued:4} ..." " ${=key= id:15} ${=type=:12} ${tags...")) | |
#f(compiled-function #'sequence #<bytecode 0x1848f6065ad47df4>)((closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+")) ("${author editor:30} ${date year issued:4} ..." " ${=key= id:15} ${=type=:12} ${tags...")) | |
apply(#f(compiled-function #'sequence #<bytecode 0x1848f6065ad47df4>) (closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+")) ("${author editor:30} ${date year issued:4} ..." " ${=key= id:15} ${=type=:12} ${tags...") nil) | |
seq-map((closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+")) ("${author editor:30} ${date year issued:4} ..." " ${=key= id:15} ${=type=:12} ${tags...")) | |
seq-mapcat((closure (crm-separator t) (format-string) (split-string (s-format format-string #'(lambda (fields-string) (car (split-string fields-string ":")))) "[ ]+")) ("${author editor:30} ${date year issued:4} ..." " ${=key= id:15} ${=type=:12} ${tags...")) | |
(progn (seq-mapcat --cl-fields-for-format-- (list (car bibtex-actions-template) (cdr bibtex-actions-template)))) | |
(let* ((--cl-fields-for-format-- #'(lambda (format-string) (split-string (s-format format-string #'...) "[ ]+")))) (progn (seq-mapcat --cl-fields-for-format-- (list (car bibtex-actions-template) (cdr bibtex-actions-template))))) | |
bibtex-actions--fields-in-formats() | |
(seq-concatenate 'list (bibtex-actions--fields-in-formats) (list "doi" "url" bibtex-actions-file-variable)) | |
bibtex-actions--fields-to-parse() | |
(parsebib-parse files :fields (bibtex-actions--fields-to-parse)) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7483726d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7483726d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7483726d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74090e31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74090e31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74090e31>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748c0175>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748c0175>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc748c0175>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7429c131>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7429c131>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7429c131>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7495017b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7495017b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7495017b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749a6b8b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749a6b8b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc749a6b8b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74373ebd>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74373ebd>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74373ebd>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749f585f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749f585f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc749f585f>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc759df7a5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc759df7a5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc759df7a5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7547c16d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7547c16d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7547c16d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744f270d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744f270d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc744f270d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7454b255>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7454b255>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7454b255>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7596a33d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7596a33d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7596a33d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72af4a4b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72af4a4b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72af4a4b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7408f47d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7408f47d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7408f47d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73ec2839>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73ec2839>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73ec2839>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74326e6b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74326e6b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74326e6b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72bfb8a7>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72bfb8a7>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72bfb8a7>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc743a0445>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc743a0445>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc743a0445>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc739cf701>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc739cf701>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc739cf701>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740a56ad>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740a56ad>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc740a56ad>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc758958b1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc758958b1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc758958b1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f2477b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f2477b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74f2477b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75820b8b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75820b8b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc75820b8b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74fcd83d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74fcd83d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74fcd83d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748624df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748624df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc748624df>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748a8ba5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748a8ba5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc748a8ba5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74950c6d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74950c6d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74950c6d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749d9731>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749d9731>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc749d9731>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7447e175>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7447e175>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7447e175>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744d9031>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744d9031>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc744d9031>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7454cd7b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7454cd7b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7454cd7b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740c4b0b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740c4b0b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc740c4b0b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7425093d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7425093d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7425093d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f4da5f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f4da5f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73f4da5f>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f8df25>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f8df25>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73f8df25>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc751edfed>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc751edfed>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc751edfed>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72b43db1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72b43db1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72b43db1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc755d2875>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc755d2875>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc755d2875>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75162b31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75162b31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc75162b31>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc751254fb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc751254fb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc751254fb>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75533dbb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75533dbb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc75533dbb>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74060071>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74060071>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74060071>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b2d4b1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b2d4b1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73b2d4b1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741523b5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741523b5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc741523b5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72ee1c25>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72ee1c25>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72ee1c25>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7430ee49>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7430ee49>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7430ee49>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b5679d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b5679d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73b5679d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741e0123>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741e0123>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc741e0123>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748a7ded>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc748a7ded>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc748a7ded>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7485b831>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7485b831>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7485b831>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc754eaef5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc754eaef5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc754eaef5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7496d431>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7496d431>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7496d431>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72ba697b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72ba697b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72ba697b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7443390b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7443390b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7443390b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744a82bd>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc744a82bd>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc744a82bd>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74516e5f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74516e5f>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74516e5f>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc742d3aa5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc742d3aa5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc742d3aa5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740b006d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc740b006d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc740b006d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74385d31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74385d31>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74385d31>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7419db75>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7419db75>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7419db75>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7421eab1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7421eab1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7421eab1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741adffb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc741adffb>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc741adffb>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7401230b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7401230b>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7401230b>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f81e3d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73f81e3d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73f81e3d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b614df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73b614df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73b614df>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f8afa5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f8afa5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74f8afa5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f3c7ed>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f3c7ed>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74f3c7ed>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75181e8d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc75181e8d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc75181e8d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7512de55>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7512de55>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7512de55>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72a70bf3>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72a70bf3>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72a70bf3>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7407b4c7>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc7407b4c7>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc7407b4c7>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74264dc1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74264dc1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74264dc1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74026b01>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74026b01>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74026b01>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74030e23>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74030e23>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74030e23>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73a55cf1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc73a55cf1>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc73a55cf1>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72a7d565>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72a7d565>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72a7d565>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72c4f9df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72c4f9df>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72c4f9df>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f4cd3d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74f4cd3d>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74f4cd3d>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74edd3d5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc74edd3d5>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc74edd3d5>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749e5393>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc749e5393>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc749e5393>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyCalculationEquilibriumCompositions2001") | |
bibtex-actions-file--possible-names("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyCalculationEquilibriumCompositions2001" nil ("pdf" "org" "md")) | |
(if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes")) | |
(let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '("doi" "url") entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat (propertize candidate-main 'face 'bibtex-actions-highlight) " " (propertize candidate-suffix 'face 'bibtex-actions) " " (propertize candidate-hidden 'invisible t))) (cons citekey entry)) candidates))) | |
(closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72bfb9f3>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("albertyCalculationEquilibriumCompositions2001" (("file" . "/Users/tedgro/Reading/Zotero/storage/GNUA7UY6/Albe...") ("doi" . "10.1021/jp003515l") ("year" . "2001") ("author" . "Alberty, Robert A.") ("title" . "Calculation of {{Equilibrium Compositions}} of {{B...") ("=type=" . "article") ("=key=" . "albertyCalculationEquilibriumCompositions2001"))) | |
maphash((closure ((star-width . 33) (symbols-width . 8) (suffix-width . 45) (main-width . 92) (raw-candidates . #<hash-table equal 191/217 0x1ffc72bfb9f3>) (candidates) (context) (files "/Users/tedgro/Reading/bibliography.bib") crm-separator t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (car bibtex-actions-template))) (candidate-suffix (bibtex-actions--format-entry entry star-width (cdr bibtex-actions-template))) (candidate-hidden (s-join " " (list files notes link context citekey)))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 191/217 0x1ffc72bfb9f3>) | |
(let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (car bibtex-actions-template))) (suffix-width (bibtex-actions--format-width (cdr bibtex-actions-template))) (symbols-width (string-width (bibtex-actions--symbols-string t t t))) (star-width (- (frame-width) (+ 2 symbols-width main-width suffix-width)))) (maphash #'(lambda (citekey entry) (let* ((files (if ... ...)) (notes (if ... ...)) (link (if ... ...)) (candidate-main (bibtex-actions--format-entry entry star-width ...)) (candidate-suffix (bibtex-actions--format-entry entry star-width ...)) (candidate-hidden (s-join " " ...))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates) | |
bibtex-actions--format-candidates(("/Users/tedgro/Reading/bibliography.bib")) | |
(setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography)) | |
(if (eq 'local scope) nil (setq bibtex-actions--candidates-cache (bibtex-actions--format-candidates bibtex-actions-bibliography))) | |
bibtex-actions-refresh(nil global) | |
(progn (bibtex-actions-refresh nil 'global)) | |
(if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) | |
(if force-rebuild-cache (bibtex-actions-refresh force-rebuild-cache) (if (eq 'uninitialized bibtex-actions--candidates-cache) (progn (bibtex-actions-refresh nil 'global))) (if (eq 'uninitialized bibtex-actions--local-candidates-cache) (progn (bibtex-actions-refresh nil 'local)))) | |
bibtex-actions--get-candidates() | |
(seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)) | |
(cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates))) | |
(cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car (cdr entry)))) (bibtex-actions--get-candidates)))) | |
bibtex-actions-get-entry("albertyThermodynamicsBiochemicalReactions2003") | |
bibtex-actions-file--possible-names("albertyThermodynamicsBiochemicalReactions2003" nil ("pdf" "org" "md")) | |
bibtex-actions-file--files-for-key("albertyThermodynamicsBiochemicalReactions2003" nil ("pdf" "org" "md")) | |
#f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>)("albertyThermodynamicsBiochemicalReactions2003") | |
mapcar(#f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
#f(compiled-function #'sequence #<bytecode 0x1848f6065ad47df4>)(#f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
apply(#f(compiled-function #'sequence #<bytecode 0x1848f6065ad47df4>) #f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>) ("albertyThermodynamicsBiochemicalReactions2003") nil) | |
seq-map(#f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
seq-mapcat(#f(compiled-function (key) #<bytecode 0x1d61d0353b710bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
bibtex-actions-file--files-for-multiple-keys(("albertyThermodynamicsBiochemicalReactions2003") nil ("pdf" "org" "md")) | |
(let ((files (bibtex-actions-file--files-for-multiple-keys keys bibtex-actions-library-paths bibtex-actions-file-extensions))) (if files (let ((--dolist-tail-- files)) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (if bibtex-actions-open-library-file-external (bibtex-actions-file-open-external file) (funcall bibtex-actions-file-open-function file)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (message "No file(s) found for %s" keys))) | |
bibtex-actions-open-library-files(("albertyThermodynamicsBiochemicalReactions2003")) | |
(progn (bibtex-actions-open-library-files '("albertyThermodynamicsBiochemicalReactions2003"))) | |
elisp--eval-last-sexp(nil) | |
eval-last-sexp(nil) | |
funcall-interactively(eval-last-sexp nil) | |
command-execute(eval-last-sexp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment