Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error raised when auto reloading the bib file. #286

Closed
Yevgnen opened this issue Sep 14, 2021 · 4 comments · Fixed by #281
Closed

Error raised when auto reloading the bib file. #286

Yevgnen opened this issue Sep 14, 2021 · 4 comments · Fixed by #281
Labels
bug Something isn't working

Comments

@Yevgnen
Copy link
Contributor

Yevgnen commented Sep 14, 2021

Describe the bug
Error raised when auto reloading the bib file.

To Reproduce
Steps to reproduce the behavior:

  1. Add (bibtex-actions-filenotify-setup '(LaTeX-mode-hook org-mode-hook)) to config.
  2. Call org-cite-insert and everything works well.
  3. Call bibtex-actions-refresh and everything works well.
  4. Make some changes to the global bib file.
  5. Call `org-cite-insert. This time emacs is stuck for seconds and finally the following error raises.
Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
  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 (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986de0911>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986de0911>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986de0911>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b7fea1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b7fea1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982b7fea1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982bd5935>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982bd5935>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982bd5935>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9820b37c1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9820b37c1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe9820b37c1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982fb6ad5>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982fb6ad5>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982fb6ad5>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97feb47e1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97feb47e1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe97feb47e1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe98616d471>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe98616d471>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe98616d471>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99b599405>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99b599405>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe99b599405>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986763991>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986763991>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986763991>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986690421>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986690421>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986690421>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982392c21>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982392c21>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982392c21>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f498385>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f498385>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe97f498385>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9824ee091>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9824ee091>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe9824ee091>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9823e0221>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9823e0221>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe9823e0221>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b5f835>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b5f835>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982b5f835>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982a686c1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982a686c1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982a686c1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982ddd6d5>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982ddd6d5>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982ddd6d5>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982f9dae1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982f9dae1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982f9dae1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986de0571>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986de0571>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986de0571>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9865f0b85>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe9865f0b85>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe9865f0b85>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99b7e7511>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99b7e7511>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe99b7e7511>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe997470c21>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe997470c21>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe997470c21>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f8b6a8d>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f8b6a8d>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe97f8b6a8d>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986c59539>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986c59539>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986c59539>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986687c49>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986687c49>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986687c49>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986258759>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986258759>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986258759>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982c0db69>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982c0db69>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982c0db69>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b79879>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982b79879>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982b79879>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982cf0a89>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982cf0a89>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982cf0a89>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982ee0499>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982ee0499>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982ee0499>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97ff080a9>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97ff080a9>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe97ff080a9>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986ee0939>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986ee0939>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986ee0939>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f4bbcc9>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe97f4bbcc9>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe97f4bbcc9>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99ba905cd>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99ba905cd>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe99ba905cd>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99bb9fb89>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe99bb9fb89>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe99bb9fb89>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986554d51>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe986554d51>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe986554d51>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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))))
  (if (and (eq 'uninitialized bibtex-actions--candidates-cache) (eq 'uninitialized bibtex-actions--local-candidates-cache)) (message "Something is wrong; your library is not initialize...") (cdr (cdr (seq-find #'(lambda (entry) (string-equal key (car ...))) (bibtex-actions--get-candidates)))))
  bibtex-actions-get-entry("turian-2010-word-repres")
  bibtex-actions-file--possible-names("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  bibtex-actions-file--files-for-key("turian-2010-word-repres" ("/Users/user/Library/Mobile Documents/com~apple~...") ("pdf" "org" "md"))
  (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions))
  (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))
  (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-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 (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-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 . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982fc41e1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates))))("turian-2010-word-repres" (("year" . "2010") ("author" . "Turian, Joseph and Ratinov, Lev and Bengio, Yoshua") ("title" . "Word representations: a simple and general method ...") ("=type=" . "inproceedings") ("=key=" . "turian-2010-word-repres")))
  maphash((closure ((star-width . -25) (symbols-width . 5) (suffix-width . 20) (main-width . 118) (raw-candidates . #<hash-table equal 1441/1642 0x1fe982fc41e1>) (candidates) (context) (files "/Users/user/org/bibliography/references.bib") t) (citekey entry) (let* ((files (if (or (bibtex-actions-get-value bibtex-actions-file-variable entry) (bibtex-actions-file--files-for-key citekey bibtex-actions-library-paths bibtex-actions-file-extensions)) (progn " has:files"))) (notes (if (bibtex-actions-file--files-for-key citekey bibtex-actions-notes-paths bibtex-actions-file-extensions) (progn " has:notes"))) (link (if (bibtex-actions-has-a-value '... entry) (progn "has:link"))) (candidate-main (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'main))) (candidate-suffix (bibtex-actions--format-entry entry star-width (bibtex-actions-get-template 'suffix))) (candidate-hidden (string-join (list files notes link context citekey) " "))) (setq candidates (cons (cons (string-trim-right (concat ... " " ... " " ...)) (cons citekey entry)) candidates)))) #<hash-table equal 1441/1642 0x1fe982fc41e1>)
  (let* ((candidates nil) (raw-candidates (parsebib-parse files :fields (bibtex-actions--fields-to-parse))) (main-width (bibtex-actions--format-width (bibtex-actions-get-template 'main))) (suffix-width (bibtex-actions--format-width (bibtex-actions-get-template 'suffix))) (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 (string-join ... " "))) (setq candidates (cons (cons ... ...) candidates)))) raw-candidates) candidates)
  bibtex-actions--format-candidates(("/Users/user/org/bibliography/references.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(nil)
  (let* ((crm-separator "\\s-*&\\s-*") (candidates (bibtex-actions--get-candidates rebuild-cache)) (chosen (completing-read-multiple "References: " #'(lambda (string predicate action) (if (eq action ...) '... (complete-with-action action candidates string predicate))) nil nil nil 'bibtex-actions-history bibtex-actions-presets nil))) (seq-map #'(lambda (choice) (or (car (cdr (assoc choice candidates))) choice)) chosen))
  (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:rebuild-cache :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ... --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:rebuild-cache)" (car --cl-keys--)))))) (let* ((crm-separator "\\s-*&\\s-*") (candidates (bibtex-actions--get-candidates rebuild-cache)) (chosen (completing-read-multiple "References: " #'(lambda (string predicate action) (if ... ... ...)) nil nil nil 'bibtex-actions-history bibtex-actions-presets nil))) (seq-map #'(lambda (choice) (or (car (cdr ...)) choice)) chosen)))
  (let* ((rebuild-cache (car (cdr (plist-member --cl-rest-- ':rebuild-cache))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '...) (setq --cl-keys-- (cdr ...))) ((car (cdr ...)) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:rebuild-cache)" (car --cl-keys--)))))) (let* ((crm-separator "\\s-*&\\s-*") (candidates (bibtex-actions--get-candidates rebuild-cache)) (chosen (completing-read-multiple "References: " #'(lambda ... ...) nil nil nil 'bibtex-actions-history bibtex-actions-presets nil))) (seq-map #'(lambda (choice) (or (car ...) choice)) chosen))))
  bibtex-actions-select-keys()
  (let ((references (bibtex-actions-select-keys))) (if multiple references (car references)))
  oc-bibtex-actions-insert(t)
  #f(compiled-function (select-key select-style arg) #<bytecode 0x1fe97f5c7d45>)(oc-bibtex-actions-insert oc-bibtex-actions-select-style nil)
  #f(compiled-function (context arg) #<bytecode 0x1fe982ce2391>)(nil nil)
  org-cite-insert(nil)
  funcall-interactively(org-cite-insert nil)
  call-interactively(org-cite-insert nil nil)
  command-execute(org-cite-insert)

Expected behavior
There should not be any error when reloading the bib file.

Emacs version:
GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.3.0, Carbon Version 164 AppKit 2022.3) of 2021-04-02

@Yevgnen Yevgnen added the bug Something isn't working label Sep 14, 2021
@bdarcus
Copy link
Contributor

bdarcus commented Sep 14, 2021

Thanks.

It's fixed on #281. I plan to merge it in the morning. If you have time to test it, that would be helpful.

bdarcus added a commit that referenced this issue Sep 14, 2021
…281)

Fix #286 (a recursion bug), but may have other benefits for modularity
and performance.

1. bibtex-actions-select-keys -> bibtex-actions-select-refs, 
   which now returns (key . entry)
2. change functions that rely on keys to accept this richer input
3. decouple action and formatting functions from caches (no more 
   looking up data there, which caused the bug)
@bdarcus
Copy link
Contributor

bdarcus commented Sep 14, 2021

Merged, though I haven't time to test it thoroughly.

PS - the issue should not have anything to do with filenotify etc; it was just a bug that occurred in some situations when loading the library.

@Yevgnen
Copy link
Contributor Author

Yevgnen commented Sep 14, 2021

Seems work, thanks.

@bdarcus
Copy link
Contributor

bdarcus commented Sep 18, 2021

PS - how are you find the filenotify support?

I've not yet set it up on my system, but was wondering if it should be default in Doom emacs (I'm working on its biblio module).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants