Created
August 26, 2021 14:18
-
-
Save teddygroves/df7e2eeb62951bbb841018cba8746063 to your computer and use it in GitHub Desktop.
bibtex actions commit f6862f6 debug output
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 0x1848f6065a957df4>)((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 0x1848f6065a957df4>) (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 0x1ff12101c431>) (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 0x1ff12101c431>) (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 0x1ff12101c431>) | |
(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 0x1ff11f1848f5>) (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 0x1ff11f1848f5>) (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 0x1ff11f1848f5>) | |
(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 0x1ff1210f52b1>) (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 0x1ff1210f52b1>) (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 0x1ff1210f52b1>) | |
(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 0x1ff1209f027b>) (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 0x1ff1209f027b>) (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 0x1ff1209f027b>) | |
(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 0x1ff12116318b>) (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 0x1ff12116318b>) (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 0x1ff12116318b>) | |
(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 0x1ff121ac973d>) (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 0x1ff121ac973d>) (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 0x1ff121ac973d>) | |
(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 0x1ff12119b35f>) (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 0x1ff12119b35f>) (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 0x1ff12119b35f>) | |
(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 0x1ff1202419a5>) (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 0x1ff1202419a5>) (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 0x1ff1202419a5>) | |
(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 0x1ff1203ada6d>) (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 0x1ff1203ada6d>) (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 0x1ff1203ada6d>) | |
(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 0x1ff120377d31>) (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 0x1ff120377d31>) (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 0x1ff120377d31>) | |
(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 0x1ff1206542f5>) (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 0x1ff1206542f5>) (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 0x1ff1206542f5>) | |
(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 0x1ff1207a4eb1>) (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 0x1ff1207a4eb1>) (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 0x1ff1207a4eb1>) | |
(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 0x1ff11fda67fb>) (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 0x1ff11fda67fb>) (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 0x1ff11fda67fb>) | |
(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 0x1ff12085c231>) (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 0x1ff12085c231>) (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 0x1ff12085c231>) | |
(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 0x1ff11fdf726d>) (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 0x1ff11fdf726d>) (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 0x1ff11fdf726d>) | |
(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 0x1ff11fdf4b15>) (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 0x1ff11fdf4b15>) (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 0x1ff11fdf4b15>) | |
(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 0x1ff120215de7>) (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 0x1ff120215de7>) (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 0x1ff120215de7>) | |
(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 0x1ff12087a45d>) (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 0x1ff12087a45d>) (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 0x1ff12087a45d>) | |
(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 0x1ff120756613>) (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 0x1ff120756613>) (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 0x1ff120756613>) | |
(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 0x1ff11f0026e7>) (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 0x1ff11f0026e7>) (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 0x1ff11f0026e7>) | |
(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 0x1ff120571f4b>) (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 0x1ff120571f4b>) (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 0x1ff120571f4b>) | |
(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 0x1ff11ee87d37>) (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 0x1ff11ee87d37>) (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 0x1ff11ee87d37>) | |
(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 0x1ff1202c8431>) (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 0x1ff1202c8431>) (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 0x1ff1202c8431>) | |
(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 0x1ff1203be175>) (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 0x1ff1203be175>) (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 0x1ff1203be175>) | |
(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 0x1ff120357d31>) (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 0x1ff120357d31>) (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 0x1ff120357d31>) | |
(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 0x1ff12136c37b>) (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 0x1ff12136c37b>) (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 0x1ff12136c37b>) | |
(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 0x1ff12139068b>) (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 0x1ff12139068b>) (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 0x1ff12139068b>) | |
(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 0x1ff1208ec7bd>) (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 0x1ff1208ec7bd>) (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 0x1ff1208ec7bd>) | |
(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 0x1ff1212a125f>) (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 0x1ff1212a125f>) (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 0x1ff1212a125f>) | |
(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 0x1ff121044fa5>) (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 0x1ff121044fa5>) (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 0x1ff121044fa5>) | |
(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 0x1ff1210dc26d>) (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 0x1ff1210dc26d>) (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 0x1ff1210dc26d>) | |
(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 0x1ff12097b5b1>) (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 0x1ff12097b5b1>) (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 0x1ff12097b5b1>) | |
(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 0x1ff1209e7af5>) (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 0x1ff1209e7af5>) (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 0x1ff1209e7af5>) | |
(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 0x1ff12047c831>) (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 0x1ff12047c831>) (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 0x1ff12047c831>) | |
(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 0x1ff12117f8fb>) (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 0x1ff12117f8fb>) (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 0x1ff12117f8fb>) | |
(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 0x1ff12116638b>) (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 0x1ff12116638b>) (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 0x1ff12116638b>) | |
(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 0x1ff1207688bd>) (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 0x1ff1207688bd>) (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 0x1ff1207688bd>) | |
(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 0x1ff1207d235f>) (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 0x1ff1207d235f>) (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 0x1ff1207d235f>) | |
(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 0x1ff121a183a5>) (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 0x1ff121a183a5>) (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 0x1ff121a183a5>) | |
(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 0x1ff12051926d>) (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 0x1ff12051926d>) (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 0x1ff12051926d>) | |
(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 0x1ff1205bf3b1>) (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 0x1ff1205bf3b1>) (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 0x1ff1205bf3b1>) | |
(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 0x1ff120353461>) (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 0x1ff120353461>) (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 0x1ff120353461>) | |
(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 0x1ff1212b9def>) (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 0x1ff1212b9def>) (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 0x1ff1212b9def>) | |
(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 0x1ff1212f805b>) (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 0x1ff1212f805b>) (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 0x1ff1212f805b>) | |
(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 0x1ff12067c053>) (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 0x1ff12067c053>) (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 0x1ff12067c053>) | |
(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 0x1ff120c1fb13>) (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 0x1ff120c1fb13>) (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 0x1ff120c1fb13>) | |
(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 0x1ff11f4e11db>) (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 0x1ff11f4e11db>) (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 0x1ff11f4e11db>) | |
(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 0x1ff120720dfb>) (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 0x1ff120720dfb>) (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 0x1ff120720dfb>) | |
(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 0x1ff11f48a22d>) (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 0x1ff11f48a22d>) (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 0x1ff11f48a22d>) | |
(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 0x1ff11fc5c6ff>) (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 0x1ff11fc5c6ff>) (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 0x1ff11fc5c6ff>) | |
(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 0x1ff12126c3b1>) (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 0x1ff12126c3b1>) (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 0x1ff12126c3b1>) | |
(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 0x1ff120908af5>) (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 0x1ff120908af5>) (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 0x1ff120908af5>) | |
(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 0x1ff1210f5731>) (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 0x1ff1210f5731>) (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 0x1ff1210f5731>) | |
(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 0x1ff1209d09fb>) (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 0x1ff1209d09fb>) (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 0x1ff1209d09fb>) | |
(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 0x1ff1210a1c8b>) (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 0x1ff1210a1c8b>) (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 0x1ff1210a1c8b>) | |
(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 0x1ff11f4e103d>) (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 0x1ff11f4e103d>) (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 0x1ff11f4e103d>) | |
(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 0x1ff1211479df>) (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 0x1ff1211479df>) (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 0x1ff1211479df>) | |
(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 0x1ff1204f7ca5>) (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 0x1ff1204f7ca5>) (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 0x1ff1204f7ca5>) | |
(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 0x1ff12058626d>) (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 0x1ff12058626d>) (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 0x1ff12058626d>) | |
(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 0x1ff1211c7431>) (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 0x1ff1211c7431>) (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 0x1ff1211c7431>) | |
(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 0x1ff121bed075>) (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 0x1ff121bed075>) (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 0x1ff121bed075>) | |
(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 0x1ff121b8fab1>) (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 0x1ff121b8fab1>) (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 0x1ff121b8fab1>) | |
(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 0x1ff12002a57b>) (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 0x1ff12002a57b>) (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 0x1ff12002a57b>) | |
(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 0x1ff12064ed0b>) (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 0x1ff12064ed0b>) (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 0x1ff12064ed0b>) | |
(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 0x1ff1207cb83d>) (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 0x1ff1207cb83d>) (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 0x1ff1207cb83d>) | |
(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 0x1ff1207f52df>) (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 0x1ff1207f52df>) (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 0x1ff1207f52df>) | |
(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 0x1ff1219f5925>) (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 0x1ff1219f5925>) (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 0x1ff1219f5925>) | |
(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 0x1ff121b149ed>) (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 0x1ff121b149ed>) (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 0x1ff121b149ed>) | |
(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 0x1ff12196810d>) (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 0x1ff12196810d>) (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 0x1ff12196810d>) | |
(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 0x1ff121ac16d5>) (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 0x1ff121ac16d5>) (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 0x1ff121ac16d5>) | |
(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 0x1ff1212f7e49>) (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 0x1ff1212f7e49>) (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 0x1ff1212f7e49>) | |
(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 0x1ff11fad7663>) (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 0x1ff11fad7663>) (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 0x1ff11fad7663>) | |
(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 0x1ff120860469>) (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 0x1ff120860469>) (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 0x1ff120860469>) | |
(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 0x1ff12007d7ab>) (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 0x1ff12007d7ab>) (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 0x1ff12007d7ab>) | |
(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 0x1ff120c0635d>) (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 0x1ff120c0635d>) (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 0x1ff120c0635d>) | |
(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 0x1ff11f476949>) (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 0x1ff11f476949>) (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 0x1ff11f476949>) | |
(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 0x1ff120225601>) (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 0x1ff120225601>) (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 0x1ff120225601>) | |
(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 0x1ff12024e8cf>) (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 0x1ff12024e8cf>) (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 0x1ff12024e8cf>) | |
(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 0x1ff1211940df>) (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 0x1ff1211940df>) (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 0x1ff1211940df>) | |
(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 0x1ff11f0ceea5>) (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 0x1ff11f0ceea5>) (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 0x1ff11f0ceea5>) | |
(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 0x1ff12120963d>) (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 0x1ff12120963d>) (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 0x1ff12120963d>) | |
(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 0x1ff12063aac5>) (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 0x1ff12063aac5>) (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 0x1ff12063aac5>) | |
(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 0x1d62cfcf20320bd>)("albertyThermodynamicsBiochemicalReactions2003") | |
mapcar(#f(compiled-function (key) #<bytecode 0x1d62cfcf20320bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
#f(compiled-function #'sequence #<bytecode 0x1848f6065a957df4>)(#f(compiled-function (key) #<bytecode 0x1d62cfcf20320bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
apply(#f(compiled-function #'sequence #<bytecode 0x1848f6065a957df4>) #f(compiled-function (key) #<bytecode 0x1d62cfcf20320bd>) ("albertyThermodynamicsBiochemicalReactions2003") nil) | |
seq-map(#f(compiled-function (key) #<bytecode 0x1d62cfcf20320bd>) ("albertyThermodynamicsBiochemicalReactions2003")) | |
seq-mapcat(#f(compiled-function (key) #<bytecode 0x1d62cfcf20320bd>) ("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