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

helm-bibtex fails to create window with (wrong-type-argument window-live-p nil) #448

Open
bitcathedrals opened this issue Mar 15, 2024 · 1 comment

Comments

@bitcathedrals
Copy link

When I attempt "helm-bibtex" it fails with the error message above.

I have helm-frame active, but it failed in. the same way before I enabled that package

Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
select-window(nil norecord)
(progn (select-window (car save-selected-window--state) 'norecord) (helm-bibtex-window-width))
(unwind-protect (progn (select-window (car save-selected-window--state) 'norecord) (helm-bibtex-window-width)) (internal--after-with-selected-window save-selected-window--state))
(save-current-buffer (unwind-protect (progn (select-window (car save-selected-window--state) 'norecord) (helm-bibtex-window-width)) (internal--after-with-selected-window save-selected-window--state)))
(let ((save-selected-window--state (internal--before-with-selected-window (helm-window)))) (save-current-buffer (unwind-protect (progn (select-window (car save-selected-window--state) 'norecord) (helm-bibtex-window-width)) (internal--after-with-selected-window save-selected-window--state))))
(let* ((width (let ((save-selected-window--state (internal--before-with-selected-window (helm-window)))) (save-current-buffer (unwind-protect (progn (select-window ... ...) (helm-bibtex-window-width)) (internal--after-with-selected-window save-selected-window--state))))) (--cl-var-- candidates) (entry nil) (entry nil) (entry-key nil) (--cl-var-- nil) (--cl-var-- t)) (while (consp --cl-var--) (setq entry (car --cl-var--)) (setq entry (cdr entry)) (setq entry-key (bibtex-completion-get-value "=key=" entry)) (setq --cl-var-- (cons (cons (bibtex-completion-format-entry entry width) entry-key) --cl-var--)) (setq --cl-var-- (cdr --cl-var--)) (setq --cl-var-- nil)) (nreverse --cl-var--))
helm-bibtex-candidates-formatter((("MacTex unknown onlin..." ... ... ... ...) ("Customizing Org Mode..." ... ... ... ...) ("2021 Introducing Cit..." ... ... ... ... ...) ("2024 Git Flow Atlass..." ... ... ... ... ...) ("2024 Conventional Co..." ... ... ... ... ...) ("2003 Powers, S. Unix..." ... ... ... ... ...) ("2012 Kuhn, T.S. and ..." ... ... ... ... ...) ("1996 Kahn, D. The Co..." ... ... ... ... ...) ("1998 Knuth, D.E. The..." ... ... ... ... ...) ("2022 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("1996 Abelson, H. and..." ... ... ... ... ...) ("1997 Gullberg, J. Ma..." ... ... ... ... ...) ("2004 Huth, M. and Ry..." ... ... ... ... ...) ("1999 Hofstadter, D.R..." ... ... ... ... ...) ("2004 Evans, E. Domai..." ... ... ... ... ...) ("1994 Gamma, E. and H..." ... ... ... ... ...) ("2017 Schneier, B. Ap..." ... ... ... ... ...) ("2022 Cormen, T.H. an..." ... ... ... ... ...) ...) ((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm)))
apply(helm-bibtex-candidates-formatter ((("MacTex unknown online macL..." ... ... ... ...) ("Customizing Org Mode LaTEX..." ... ... ... ...) ("2021 Introducing Citations..." ... ... ... ... ...) ("2024 Git Flow Atlassian on..." ... ... ... ... ...) ("2024 Conventional Commits ..." ... ... ... ... ...) ("2003 Powers, S. Unix Power..." ... ... ... ... ...) ("2012 Kuhn, T.S. and Hackin..." ... ... ... ... ...) ("1996 Kahn, D. The Codebrea..." ... ... ... ... ...) ("1998 Knuth, D.E. The Art o..." ... ... ... ... ...) ("2022 Knuth, D.E. The Art o..." ... ... ... ... ...) ("2014 Knuth, D.E. The Art o..." ... ... ... ... ...) ("2014 Knuth, D.E. The Art o..." ... ... ... ... ...) ("1996 Abelson, H. and Sussm..." ... ... ... ... ...) ("1997 Gullberg, J. Mathemat..." ... ... ... ... ...) ("2004 Huth, M. and Ryan, M...." ... ... ... ... ...) ("1999 Hofstadter, D.R. Gode..." ... ... ... ... ...) ("2004 Evans, E. Domain-driv..." ... ... ... ... ...) ("1994 Gamma, E. and Helm, R..." ... ... ... ... ...) ("2017 Schneier, B. Applied ..." ... ... ... ... ...) ("2022 Cormen, T.H. and Leis..." ... ... ... ... ...) ("2024 MacTex online macLate..." ... ... ... ...) ("2023 Customizing Org Mode ..." ... ... ... ...) ("2021 This Month in Org Int..." ... ... ... ... ...)) ((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm))))
(setq result (apply fn args))
(while (consp --cl-var--) (setq fn (car --cl-var--)) (setq result (apply fn args)) (if (and args (cdr funs)) (progn (setcar args result))) (setq --cl-var-- (cdr --cl-var--)))
(let* ((result nil) (--cl-var-- funs) (fn nil)) (while (consp --cl-var--) (setq fn (car --cl-var--)) (setq result (apply fn args)) (if (and args (cdr funs)) (progn (setcar args result))) (setq --cl-var-- (cdr --cl-var--))) result)
(let ((helm--source-name (assoc-default 'name source)) (helm-current-source source) (funs (if (functionp functions) (list functions) functions))) (let* ((result nil) (--cl-var-- funs) (fn nil)) (while (consp --cl-var--) (setq fn (car --cl-var--)) (setq result (apply fn args)) (if (and args (cdr funs)) (progn (setcar args result))) (setq --cl-var-- (cdr --cl-var--))) result))
helm-apply-functions-from-source(((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm)) (helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (("MacTex unknown onlin..." ... ... ... ...) ("Customizing Org Mode..." ... ... ... ...) ("2021 Introducing Cit..." ... ... ... ... ...) ("2024 Git Flow Atlass..." ... ... ... ... ...) ("2024 Conventional Co..." ... ... ... ... ...) ("2003 Powers, S. Unix..." ... ... ... ... ...) ("2012 Kuhn, T.S. and ..." ... ... ... ... ...) ("1996 Kahn, D. The Co..." ... ... ... ... ...) ("1998 Knuth, D.E. The..." ... ... ... ... ...) ("2022 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("1996 Abelson, H. and..." ... ... ... ... ...) ("1997 Gullberg, J. Ma..." ... ... ... ... ...) ("2004 Huth, M. and Ry..." ... ... ... ... ...) ("1999 Hofstadter, D.R..." ... ... ... ... ...) ("2004 Evans, E. Domai..." ... ... ... ... ...) ("1994 Gamma, E. and H..." ... ... ... ... ...) ("2017 Schneier, B. Ap..." ... ... ... ... ...) ("2022 Cormen, T.H. an..." ... ... ... ... ...) ...) ((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm)))
(if it (helm-apply-functions-from-source source it candidates source) candidates)
(let ((it (assoc-default 'filtered-candidate-transformer source))) (if it (helm-apply-functions-from-source source it candidates source) candidates))
helm-process-filtered-candidate-transformer((("MacTex unknown onlin..." ... ... ... ...) ("Customizing Org Mode..." ... ... ... ...) ("2021 Introducing Cit..." ... ... ... ... ...) ("2024 Git Flow Atlass..." ... ... ... ... ...) ("2024 Conventional Co..." ... ... ... ... ...) ("2003 Powers, S. Unix..." ... ... ... ... ...) ("2012 Kuhn, T.S. and ..." ... ... ... ... ...) ("1996 Kahn, D. The Co..." ... ... ... ... ...) ("1998 Knuth, D.E. The..." ... ... ... ... ...) ("2022 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("2014 Knuth, D.E. The..." ... ... ... ... ...) ("1996 Abelson, H. and..." ... ... ... ... ...) ("1997 Gullberg, J. Ma..." ... ... ... ... ...) ("2004 Huth, M. and Ry..." ... ... ... ... ...) ("1999 Hofstadter, D.R..." ... ... ... ... ...) ("2004 Evans, E. Domai..." ... ... ... ... ...) ("1994 Gamma, E. and H..." ... ... ... ... ...) ("2017 Schneier, B. Ap..." ... ... ... ... ...) ("2022 Cormen, T.H. an..." ... ... ... ... ...) ...) ((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm)))
(let ((matchfns (helm-match-functions source)) (matchpartfn (assoc-default 'match-part source)) (helm--source-name (assoc-default 'name source)) (helm-current-source source) (limit (helm-candidate-number-limit source)) (helm-pattern (helm-process-pattern-transformer helm-pattern source))) (helm--fuzzy-match-maybe-set-pattern) (helm-process-filtered-candidate-transformer (if (or (equal helm-pattern "") (assq 'match-dynamic source) (helm--candidates-in-buffer-p source)) (helm--initialize-one-by-one-candidates (helm-take (helm-get-cached-candidates source) limit) source) (helm-match-from-candidates (helm-get-cached-candidates source) matchfns matchpartfn limit source)) source))
(save-current-buffer (let ((matchfns (helm-match-functions source)) (matchpartfn (assoc-default 'match-part source)) (helm--source-name (assoc-default 'name source)) (helm-current-source source) (limit (helm-candidate-number-limit source)) (helm-pattern (helm-process-pattern-transformer helm-pattern source))) (helm--fuzzy-match-maybe-set-pattern) (helm-process-filtered-candidate-transformer (if (or (equal helm-pattern "") (assq 'match-dynamic source) (helm--candidates-in-buffer-p source)) (helm--initialize-one-by-one-candidates (helm-take (helm-get-cached-candidates source) limit) source) (helm-match-from-candidates (helm-get-cached-candidates source) matchfns matchpartfn limit source)) source)))
helm-compute-matches(((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure ((n . 11)) nil (interactive) (helm-select-nth-action n)) (f11 closure ((n . 10)) nil (interactive) (helm-select-nth-action n)) (f10 closure ((n . 9)) nil (interactive) (helm-select-nth-action n)) (f9 closure ((n . 8)) nil (interactive) (helm-select-nth-action n)) (f8 closure ((n . 7)) nil (interactive) (helm-select-nth-action n)) (f7 closure ((n . 6)) nil (interactive) (helm-select-nth-action n)) (f6 closure ((n . 5)) nil (interactive) (helm-select-nth-action n)) (f5 closure ((n . 4)) nil (interactive) (helm-select-nth-action n)) (f4 closure ((n . 3)) nil (interactive) (helm-select-nth-action n)) (f3 closure ((n . 2)) nil (interactive) (helm-select-nth-action n)) (f2 closure ((n . 1)) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap (describe keymap ...))) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure ((n . 0)) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (56 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (55 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (54 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (53 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (52 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (51 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (50 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (49 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (56 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (55 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (54 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (53 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (52 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (51 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (50 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (49 closure (... ...) nil (interactive) (helm-execute-selection-action-at-nth ...)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping ses..." 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)))
(cons (helm-compute-matches src) --cl-var--)
(setq --cl-var-- (cons (helm-compute-matches src) --cl-var--))
(while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--)))
(let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))
(progn (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--)))
(setq val (progn (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))))
(let ((throw-on-input 'input) val) (setq val (progn (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--)))) (cond ((eq quit-flag throw-on-input) (setq quit-flag nil)) (quit-flag nil) (t val)))
(catch 'input (let ((throw-on-input 'input) val) (setq val (progn (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons ... --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--)))) (cond ((eq quit-flag throw-on-input) (setq quit-flag nil)) (quit-flag nil) (t val))))
(let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input) val) (setq val (progn (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src ...) (setq --cl-var-- ...) (setq --cl-var-- ...)) (nreverse --cl-var--)))) (cond ((eq quit-flag throw-on-input) (setq quit-flag nil)) (quit-flag nil) (t val)))))
(condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input) val) (setq val (progn (let* (... ... ...) (while ... ... ... ...) (nreverse --cl-var--)))) (cond ((eq quit-flag throw-on-input) (setq quit-flag nil)) (quit-flag nil) (t val))))) (quit (setq quit-flag t) (eval '(ignore nil) t)))
(let ((while-no-input-ignore-events (and (boundp 'while-no-input-ignore-events) (cons 'dbus-event while-no-input-ignore-events)))) (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input) val) (setq val (progn (let* ... ... ...))) (cond ((eq quit-flag throw-on-input) (setq quit-flag nil)) (quit-flag nil) (t val))))) (quit (setq quit-flag t) (eval '(ignore nil) t))))
(if (and (file-remote-p helm-pattern) (not (file-remote-p helm-pattern nil t))) (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--)) (helm-log "helm--maybe-use-while-no-input" "Using here helm-while-no-input'") (let ((while-no-input-ignore-events (and (boundp 'while-no-input-ignore-events) (cons 'dbus-event while-no-input-ignore-events)))) (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input ...) val) (setq val (progn ...)) (cond (... ...) (quit-flag nil) (t val))))) (quit (setq quit-flag t) (eval '(ignore nil) t))))) (progn (if (and (file-remote-p helm-pattern) (not (file-remote-p helm-pattern nil t))) (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (setq --cl-var-- (cons (helm-compute-matches src) --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--)) (helm-log "helm--maybe-use-while-no-input" "Using here helm-while-no-input'") (let ((while-no-input-ignore-events (and (boundp 'while-no-input-ignore-events) (cons 'dbus-event while-no-input-ignore-events)))) (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let (... val) (setq val ...) (cond ... ... ...)))) (quit (setq quit-flag t) (eval '(ignore nil) t))))))
(let ((matches (progn (if (and (file-remote-p helm-pattern) (not (file-remote-p helm-pattern nil t))) (let* ((--cl-var-- src-list) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src ...) (setq --cl-var-- ...) (setq --cl-var-- ...)) (nreverse --cl-var--)) (helm-log "helm--maybe-use-while-no-input" "Using here `helm-while-no-input'") (let ((while-no-input-ignore-events ...)) (condition-case nil (let ... ...) (quit ... ...))))))) (if (eq matches t) nil matches))
helm--collect-matches((((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure (...) nil (interactive) (helm-select-nth-action n)) (f11 closure (...) nil (interactive) (helm-select-nth-action n)) (f10 closure (...) nil (interactive) (helm-select-nth-action n)) (f9 closure (...) nil (interactive) (helm-select-nth-action n)) (f8 closure (...) nil (interactive) (helm-select-nth-action n)) (f7 closure (...) nil (interactive) (helm-select-nth-action n)) (f6 closure (...) nil (interactive) (helm-select-nth-action n)) (f5 closure (...) nil (interactive) (helm-select-nth-action n)) (f4 closure (...) nil (interactive) (helm-select-nth-action n)) (f3 closure (...) nil (interactive) (helm-select-nth-action n)) (f2 closure (...) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure (...) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping ses..." 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda (candidate) (bibtex-completion-fallback-action candidate helm-pattern)))))
(or candidates (helm--collect-matches sources))
(setq matches (or candidates (helm--collect-matches sources)))
(helm-log "helm-update" "Matches: %S" (setq matches (or candidates (helm--collect-matches sources))))
(let (sources matches) (setq sources (let* ((--cl-var-- helm-sources) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (if (helm-update-source-p src) (progn (setq --cl-var-- (cons src --cl-var--)))) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))) (if sources nil (erase-buffer)) (helm-log "helm-update" "Matches: %S" (setq matches (or candidates (helm--collect-matches sources)))) (if matches (progn (erase-buffer) (let* ((--cl-var-- sources) (src nil) (--cl-var-- matches) (mtc nil)) (while (and (consp --cl-var--) (progn (setq src ...) (consp --cl-var--))) (setq mtc (car --cl-var--)) (helm-render-source src mtc) (setq --cl-var-- (cdr --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) nil) (helm--update-move-first-line))))
(unwind-protect (let (sources matches) (setq sources (let* ((--cl-var-- helm-sources) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (if (helm-update-source-p src) (progn (setq --cl-var-- ...))) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))) (if sources nil (erase-buffer)) (helm-log "helm-update" "Matches: %S" (setq matches (or candidates (helm--collect-matches sources)))) (if matches (progn (erase-buffer) (let* ((--cl-var-- sources) (src nil) (--cl-var-- matches) (mtc nil)) (while (and (consp --cl-var--) (progn ... ...)) (setq mtc (car --cl-var--)) (helm-render-source src mtc) (setq --cl-var-- (cdr --cl-var--)) (setq --cl-var-- (cdr --cl-var--))) nil) (helm--update-move-first-line)))) (let ((src (or source (helm-get-current-source)))) (if (assq 'candidates-process src) nil (helm-display-mode-line src 'force) (helm-log-run-hook "helm-update" 'helm-after-update-hook))) (if preselect (progn (helm-log "helm-update" "Update preselect candidate %s" preselect) (if (helm-window) (let ((save-selected-window--state (internal--before-with-selected-window ...))) (save-current-buffer (unwind-protect (progn ... ...) (internal--after-with-selected-window save-selected-window--state)))) (helm-preselect preselect source)))) (setq helm--force-updating-p nil) (helm--reset-update-flag))
(save-current-buffer (set-buffer (helm-buffer-get)) (set (make-local-variable 'helm-input-local) helm-pattern) (unwind-protect (let (sources matches) (setq sources (let* ((--cl-var-- helm-sources) (src nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq src (car --cl-var--)) (if (helm-update-source-p src) (progn ...)) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))) (if sources nil (erase-buffer)) (helm-log "helm-update" "Matches: %S" (setq matches (or candidates (helm--collect-matches sources)))) (if matches (progn (erase-buffer) (let* ((--cl-var-- sources) (src nil) (--cl-var-- matches) (mtc nil)) (while (and ... ...) (setq mtc ...) (helm-render-source src mtc) (setq --cl-var-- ...) (setq --cl-var-- ...)) nil) (helm--update-move-first-line)))) (let ((src (or source (helm-get-current-source)))) (if (assq 'candidates-process src) nil (helm-display-mode-line src 'force) (helm-log-run-hook "helm-update" 'helm-after-update-hook))) (if preselect (progn (helm-log "helm-update" "Update preselect candidate %s" preselect) (if (helm-window) (let ((save-selected-window--state ...)) (save-current-buffer (unwind-protect ... ...))) (helm-preselect preselect source)))) (setq helm--force-updating-p nil) (helm--reset-update-flag)) (helm-log "helm-update" "end update"))
helm-update((lambda nil (and preselect (> preselect 0) (helm-next-line preselect))))
(if (and (helm-resume-p resume) (helm-get-current-source)) (helm-mark-current-line t) (helm-update preselect))
(save-current-buffer (set-buffer (helm-buffer-get)) (if (and (helm-resume-p resume) (helm-get-current-source)) (helm-mark-current-line t) (helm-update preselect)) (let* ((src (helm-get-current-source)) (src-keymap (assoc-default 'keymap src)) (hist (or (and history (symbolp history) history) (assoc-default 'history src))) (timer nil) blink-matching-paren (first-src (car helm-sources)) (source-process-p (or (assq 'candidates-process src) (assq 'candidates-process first-src))) (inhibit-quit source-process-p)) (helm-log "helm-read-from-minibuffer" "helm-get-candidate-number => %S" (helm-get-candidate-number)) (helm-log "helm-read-from-minibuffer" "helm-execute-action-at-once-if-one = %S" helm-execute-action-at-once-if-one) (helm-log "helm-read-from-minibuffer" "helm-quit-if-no-candidate = %S" helm-quit-if-no-candidate) (if (and src (helm-resume-p resume)) (progn (helm-display-mode-line src) (setq helm-pattern input))) (if helm-maybe-use-default-as-input (progn (setq helm-input helm-pattern) (if source-process-p (let (helm--hook) (setq helm--hook #'...) (setq helm--temp-hooks (cons ... helm--temp-hooks)) (add-hook 'helm-after-update-hook helm--hook)) (helm--reset-default-pattern)) (and (helm-empty-buffer-p) (null helm-quit-if-no-candidate) (helm-force-update preselect)))) (cond ((and (if (functionp helm-execute-action-at-once-if-one) (funcall helm-execute-action-at-once-if-one) helm-execute-action-at-once-if-one) (= (helm-get-candidate-number (eq helm-execute-action-at-once-if-one ...)) 1)) (ignore)) ((and helm-quit-if-no-candidate (= (helm-get-candidate-number) 0)) (setq helm--quit t) (and (functionp helm-quit-if-no-candidate) (funcall helm-quit-if-no-candidate))) (t (let ((tap (or default ...))) (if helm-execute-action-at-once-if-one (progn (helm-display-buffer helm-buffer resume) (select-window ...))) (unwind-protect (let (... ...) (fset setup-hook ...) (unwind-protect ... ...)) (if timer (progn ... ...))))))))
helm-read-from-minibuffer(nil nil (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) nil nil nil nil)
(unwind-protect (helm-read-from-minibuffer prompt input preselect resume keymap default history) (helm-cleanup))
(let (helm--source-name helm-current-source helm-in-persistent-action helm--quit (helm-buffer (or buffer helm-buffer))) (helm-initialize resume input default sources) (and ori--minibuffer-follows-selected-frame (setq minibuffer-follows-selected-frame (if (or helm--nested (minibufferp helm-current-buffer)) nil t))) (if helm-execute-action-at-once-if-one nil (helm-display-buffer helm-buffer resume) (select-window (helm-window)) (if (and resume helm-visible-mark-overlays) (progn (set-window-margins (selected-window) (+ (string-width helm-visible-mark-prefix) helm-left-margin-width))))) (if helm-allow-mouse nil (helm--remap-mouse-mode 1)) (add-hook 'post-command-hook 'helm--maybe-update-keymap) (add-hook 'helm-after-update-hook 'helm--maybe-update-keymap) (add-hook 'post-command-hook 'helm--update-header-line) (helm-log "helm-internal" "show prompt") (unwind-protect (helm-read-from-minibuffer prompt input preselect resume keymap default history) (helm-cleanup)) (prog1 (if helm--quit nil (helm-execute-selection-action)) (helm-log "helm-internal" (concat "[End session] " (make-string 41 45)))))
(condition-case _v (let (helm--source-name helm-current-source helm-in-persistent-action helm--quit (helm-buffer (or buffer helm-buffer))) (helm-initialize resume input default sources) (and ori--minibuffer-follows-selected-frame (setq minibuffer-follows-selected-frame (if (or helm--nested (minibufferp helm-current-buffer)) nil t))) (if helm-execute-action-at-once-if-one nil (helm-display-buffer helm-buffer resume) (select-window (helm-window)) (if (and resume helm-visible-mark-overlays) (progn (set-window-margins (selected-window) (+ (string-width helm-visible-mark-prefix) helm-left-margin-width))))) (if helm-allow-mouse nil (helm--remap-mouse-mode 1)) (add-hook 'post-command-hook 'helm--maybe-update-keymap) (add-hook 'helm-after-update-hook 'helm--maybe-update-keymap) (add-hook 'post-command-hook 'helm--update-header-line) (helm-log "helm-internal" "show prompt") (unwind-protect (helm-read-from-minibuffer prompt input preselect resume keymap default history) (helm-cleanup)) (prog1 (if helm--quit nil (helm-execute-selection-action)) (helm-log "helm-internal" (concat "[End session] " (make-string 41 45))))) ((debug quit) (helm-restore-position-on-quit) (helm-log-run-hook "helm-internal" 'helm-quit-hook) (helm-log "helm-internal" (concat "[End session (quit)] " (make-string 34 45))) nil))
(unwind-protect (condition-case _v (let (helm--source-name helm-current-source helm-in-persistent-action helm--quit (helm-buffer (or buffer helm-buffer))) (helm-initialize resume input default sources) (and ori--minibuffer-follows-selected-frame (setq minibuffer-follows-selected-frame (if (or helm--nested (minibufferp helm-current-buffer)) nil t))) (if helm-execute-action-at-once-if-one nil (helm-display-buffer helm-buffer resume) (select-window (helm-window)) (if (and resume helm-visible-mark-overlays) (progn (set-window-margins (selected-window) (+ ... helm-left-margin-width))))) (if helm-allow-mouse nil (helm--remap-mouse-mode 1)) (add-hook 'post-command-hook 'helm--maybe-update-keymap) (add-hook 'helm-after-update-hook 'helm--maybe-update-keymap) (add-hook 'post-command-hook 'helm--update-header-line) (helm-log "helm-internal" "show prompt") (unwind-protect (helm-read-from-minibuffer prompt input preselect resume keymap default history) (helm-cleanup)) (prog1 (if helm--quit nil (helm-execute-selection-action)) (helm-log "helm-internal" (concat "[End session] " (make-string 41 45))))) ((debug quit) (helm-restore-position-on-quit) (helm-log-run-hook "helm-internal" 'helm-quit-hook) (helm-log "helm-internal" (concat "[End session (quit)] " (make-string 34 45))) nil)) (if (fboundp 'advice-remove) (progn (advice-remove 'tramp-read-passwd #'helm--suspend-read-passwd) (advice-remove 'ange-ftp-get-passwd #'helm--suspend-read-passwd) (advice-remove 'epa-passphrase-callback-function #'helm--suspend-read-passwd) (advice-remove 'linum-on #'helm--advice-linum-on))) (helm-log "helm-internal" "helm-alive-p = %S" (setq helm-alive-p nil)) (helm--remap-mouse-mode -1) (setq helm-alive-p nil) (and ori--minibuffer-follows-selected-frame (set-default-toplevel-value 'minibuffer-follows-selected-frame ori--minibuffer-follows-selected-frame)) (setq helm--force-updating-p nil) (setq helm--buffer-in-new-frame-p nil) (setq helm-pattern "") (progn (setq helm--ignore-errors nil) (setq helm-debug nil)))
(let ((non-essential t) mouse-autoselect-window focus-follows-mouse mode-line-in-non-selected-windows minibuffer-completion-confirm (ori--minibuffer-follows-selected-frame (and (boundp 'minibuffer-follows-selected-frame) (default-toplevel-value 'minibuffer-follows-selected-frame))) (input-method-verbose-flag helm-input-method-verbose-flag) (helm-maybe-use-default-as-input (and (null input) (or helm-maybe-use-default-as-input (let* ((--cl-var-- ...) (s nil) (--cl-flag-- t) --cl-var--) (while (and ... ...) (setq --cl-var-- ...)) --cl-var--))))) (unwind-protect (condition-case _v (let (helm--source-name helm-current-source helm-in-persistent-action helm--quit (helm-buffer (or buffer helm-buffer))) (helm-initialize resume input default sources) (and ori--minibuffer-follows-selected-frame (setq minibuffer-follows-selected-frame (if (or helm--nested ...) nil t))) (if helm-execute-action-at-once-if-one nil (helm-display-buffer helm-buffer resume) (select-window (helm-window)) (if (and resume helm-visible-mark-overlays) (progn (set-window-margins ... ...)))) (if helm-allow-mouse nil (helm--remap-mouse-mode 1)) (add-hook 'post-command-hook 'helm--maybe-update-keymap) (add-hook 'helm-after-update-hook 'helm--maybe-update-keymap) (add-hook 'post-command-hook 'helm--update-header-line) (helm-log "helm-internal" "show prompt") (unwind-protect (helm-read-from-minibuffer prompt input preselect resume keymap default history) (helm-cleanup)) (prog1 (if helm--quit nil (helm-execute-selection-action)) (helm-log "helm-internal" (concat "[End session] " (make-string 41 45))))) ((debug quit) (helm-restore-position-on-quit) (helm-log-run-hook "helm-internal" 'helm-quit-hook) (helm-log "helm-internal" (concat "[End session (quit)] " (make-string 34 45))) nil)) (if (fboundp 'advice-remove) (progn (advice-remove 'tramp-read-passwd #'helm--suspend-read-passwd) (advice-remove 'ange-ftp-get-passwd #'helm--suspend-read-passwd) (advice-remove 'epa-passphrase-callback-function #'helm--suspend-read-passwd) (advice-remove 'linum-on #'helm--advice-linum-on))) (helm-log "helm-internal" "helm-alive-p = %S" (setq helm-alive-p nil)) (helm--remap-mouse-mode -1) (setq helm-alive-p nil) (and ori--minibuffer-follows-selected-frame (set-default-toplevel-value 'minibuffer-follows-selected-frame ori--minibuffer-follows-selected-frame)) (setq helm--force-updating-p nil) (setq helm--buffer-in-new-frame-p nil) (setq helm-pattern "") (progn (setq helm--ignore-errors nil) (setq helm-debug nil))))
helm-internal((((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure (...) nil (interactive) (helm-select-nth-action n)) (f11 closure (...) nil (interactive) (helm-select-nth-action n)) (f10 closure (...) nil (interactive) (helm-select-nth-action n)) (f9 closure (...) nil (interactive) (helm-select-nth-action n)) (f8 closure (...) nil (interactive) (helm-select-nth-action n)) (f7 closure (...) nil (interactive) (helm-select-nth-action n)) (f6 closure (...) nil (interactive) (helm-select-nth-action n)) (f5 closure (...) nil (interactive) (helm-select-nth-action n)) (f4 closure (...) nil (interactive) (helm-select-nth-action n)) (f3 closure (...) nil (interactive) (helm-select-nth-action n)) (f2 closure (...) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure (...) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping ses..." 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda (candidate) (bibtex-completion-fallback-action candidate helm-pattern)))) nil nil nil (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) "helm bibtex" nil nil nil)
apply(helm-internal ((((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure (...) nil (interactive) (helm-select-nth-action n)) (f11 closure (...) nil (interactive) (helm-select-nth-action n)) (f10 closure (...) nil (interactive) (helm-select-nth-action n)) (f9 closure (...) nil (interactive) (helm-select-nth-action n)) (f8 closure (...) nil (interactive) (helm-select-nth-action n)) (f7 closure (...) nil (interactive) (helm-select-nth-action n)) (f6 closure (...) nil (interactive) (helm-select-nth-action n)) (f5 closure (...) nil (interactive) (helm-select-nth-action n)) (f4 closure (...) nil (interactive) (helm-select-nth-action n)) (f3 closure (...) nil (interactive) (helm-select-nth-action n)) (f2 closure (...) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure (...) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) (right . helm-next-source) (15 . helm-next-source) (10 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (7 . helm-keyboard-quit) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping session)" 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda (candidate) (bibtex-completion-fallback-action candidate helm-pattern)))) nil nil nil (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) "helm bibtex" nil nil nil))
(if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda (key) (plist-get plist key)) helm-argument-keys))) (apply fn plist))
(if (and helm-alive-p (eq fn #'helm)) (if (helm--alive-p) (error "Error: Trying to run helm within a running helm se...") (save-current-buffer (set-buffer (helm-buffer-get)) (prog1 (message "Aborting an helm session running in background") (helm-keyboard-quit)))) (if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda (key) (plist-get plist key)) helm-argument-keys))) (apply fn plist)))
(let ((fn (cond ((or (and helm-alive-p (plist-get plist :allow-nest)) (and helm-alive-p (memq ... plist))) #'helm--nest) ((keywordp (car plist)) #'helm) (t #'helm-internal)))) (if (and helm-alive-p (eq fn #'helm)) (if (helm--alive-p) (error "Error: Trying to run helm within a running helm se...") (save-current-buffer (set-buffer (helm-buffer-get)) (prog1 (message "Aborting an helm session running in background") (helm-keyboard-quit)))) (if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda ... ...) helm-argument-keys))) (apply fn plist))))
helm((((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure (...) nil (interactive) (helm-select-nth-action n)) (f11 closure (...) nil (interactive) (helm-select-nth-action n)) (f10 closure (...) nil (interactive) (helm-select-nth-action n)) (f9 closure (...) nil (interactive) (helm-select-nth-action n)) (f8 closure (...) nil (interactive) (helm-select-nth-action n)) (f7 closure (...) nil (interactive) (helm-select-nth-action n)) (f6 closure (...) nil (interactive) (helm-select-nth-action n)) (f5 closure (...) nil (interactive) (helm-select-nth-action n)) (f4 closure (...) nil (interactive) (helm-select-nth-action n)) (f3 closure (...) nil (interactive) (helm-select-nth-action n)) (f2 closure (...) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure (...) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping ses..." 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda (candidate) (bibtex-completion-fallback-action candidate helm-pattern)))) nil nil nil (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) "helm bibtex" nil nil nil)
apply(helm ((((name . "BibTeX entries") (header-name lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) (candidates . helm-bibtex-candidates) (keymap keymap (f12 closure (...) nil (interactive) (helm-select-nth-action n)) (f11 closure (...) nil (interactive) (helm-select-nth-action n)) (f10 closure (...) nil (interactive) (helm-select-nth-action n)) (f9 closure (...) nil (interactive) (helm-select-nth-action n)) (f8 closure (...) nil (interactive) (helm-select-nth-action n)) (f7 closure (...) nil (interactive) (helm-select-nth-action n)) (f6 closure (...) nil (interactive) (helm-select-nth-action n)) (f5 closure (...) nil (interactive) (helm-select-nth-action n)) (f4 closure (...) nil (interactive) (helm-select-nth-action n)) (f3 closure (...) nil (interactive) (helm-select-nth-action n)) (f2 closure (...) nil (interactive) (helm-select-nth-action n)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 closure (...) nil (interactive) (helm-select-nth-action n)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (100 . helm-debug-output) (99 . helm-customize-group) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (26 . helm-toggle-full-frame) (3 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (110 . helm-helm-run-cycle-resume-with-subkeys) (108 . helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-insert-or-copy) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (18 . undefined) (19 . undefined) (24 keymap (57 closure ... nil ... ...) (56 closure ... nil ... ...) (55 closure ... nil ... ...) (54 closure ... nil ... ...) (53 closure ... nil ... ...) (52 closure ... nil ... ...) (51 closure ... nil ... ...) (50 closure ... nil ... ...) (49 closure ... nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (127 . helm-delete-char-backward) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (left . helm-previous-source) (right . helm-next-source) (15 . helm-next-source) (10 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (7 . helm-keyboard-quit) ...) (action ("Open PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . helm-bibtex-open-url-or-doi) ("Insert citation" . helm-bibtex-insert-citation) ("Insert reference" . helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show entry" . helm-bibtex-show-entry) ("Add PDF to library" . helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . #("C-j: Open PDF, URL or DOI (keeping session)" 0 3 (font-lock-face help-key-binding face help-key-binding))) (multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda (candidate) (bibtex-completion-fallback-action candidate helm-pattern)))) nil nil nil (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) "helm bibtex" nil nil nil))
(progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda (key) (plist-get plist key)) helm-argument-keys)))
(if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda (key) (plist-get plist key)) helm-argument-keys))) (apply fn plist))
(if (and helm-alive-p (eq fn #'helm)) (if (helm--alive-p) (error "Error: Trying to run helm within a running helm se...") (save-current-buffer (set-buffer (helm-buffer-get)) (prog1 (message "Aborting an helm session running in background") (helm-keyboard-quit)))) (if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda (key) (plist-get plist key)) helm-argument-keys))) (apply fn plist)))
(let ((fn (cond ((or (and helm-alive-p (plist-get plist :allow-nest)) (and helm-alive-p (memq ... plist))) #'helm--nest) ((keywordp (car plist)) #'helm) (t #'helm-internal)))) (if (and helm-alive-p (eq fn #'helm)) (if (helm--alive-p) (error "Error: Trying to run helm within a running helm se...") (save-current-buffer (set-buffer (helm-buffer-get)) (prog1 (message "Aborting an helm session running in background") (helm-keyboard-quit)))) (if (keywordp (car plist)) (progn (setq helm--local-variables (append helm--local-variables (helm-parse-keys plist))) (apply fn (mapcar #'(lambda ... ...) helm-argument-keys))) (apply fn plist))))
helm(:sources (((name . "BibTeX entries") (header-name lambda ... ...) (candidates . helm-bibtex-candidates) (keymap keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action ... ... ... ... ... ... ... ... ... ...) (requires-pattern . 0) (filtered-candidate-transformer helm-bibtex-candidates-formatter helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) (redisplay . identity) (header-line . ...) (multimatch . t) (group . helm)) ((name . "Fallback options") (match ...) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action lambda ... ...))) :full-frame t :buffer "helm bibtex" :input nil :preselect (lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) :candidate-number-limit 500 :bibtex-candidates (("MacTex unknown online macL..." ("title" . "MacTex") ("author" . "unknown") ("=type=" . "online") ("=key=" . "macLatex")) ("Customizing Org Mode LaTEX..." ("title" . "Customizing Org Mode LaTEX...") ("author" . "Norman Walsh") ("=type=" . "online") ("=key=" . "latexNice")) ("2021 Introducing Citations..." ("year" . "2021") ("title" . "Introducing Citations!") ("author" . "This Month in Org") ("=type=" . "online") ("=key=" . "orgCite")) ("2024 Git Flow Atlassian on..." ("year" . "2024") ("title" . "Git Flow") ("author" . "Atlassian") ("=type=" . "online") ("=key=" . "flow")) ("2024 Conventional Commits ..." ("year" . "2024") ("title" . "Conventional Commits") ("author" . "Conventional Commits") ("=type=" . "online") ("=key=" . "conventional")) ("2003 Powers, S. Unix Power..." ("year" . "2003") ("author" . "Powers, S.") ("title" . "Unix Power Tools") ("=type=" . "book") ("=key=" . "powers2003unix")) ("2012 Kuhn, T.S. and Hackin..." ("year" . "2012") ("author" . "Kuhn, T.S. and Hacking, I.") ("title" . "The Structure of Scientifi...") ("=type=" . "book") ("=key=" . "kuhn2012structure")) ("1996 Kahn, D. The Codebrea..." ("year" . "1996") ("author" . "Kahn, D.") ("title" . "The Codebreakers: The Comp...") ("=type=" . "book") ("=key=" . "kahn1996codebreakers")) ("1998 Knuth, D.E. The Art o..." ("year" . "1998") ("author" . "Knuth, D.E.") ("title" . "The Art of Computer Progra...") ("=type=" . "book") ("=key=" . "knuth1998art")) ("2022 Knuth, D.E. The Art o..." ("year" . "2022") ("author" . "Knuth, D.E.") ("title" . "The Art of Computer Progra...") ("=type=" . "book") ("=key=" . "knuth2022art")) ("2014 Knuth, D.E. The Art o..." ("year" . "2014") ("author" . "Knuth, D.E.") ("title" . "The Art of Computer Progra...") ("=type=" . "book") ("=key=" . "knuth2014art")) ("2014 Knuth, D.E. The Art o..." ("year" . "2014") ("author" . "Knuth, D.E.") ("title" . "The Art of Computer Progra...") ("=type=" . "book") ("=key=" . "knuth2014art")) ("1996 Abelson, H. and Sussm..." ("year" . "1996") ("author" . "Abelson, H. and Sussman, G...") ("title" . "Structure and Interpretati...") ("=type=" . "book") ("=key=" . "abelson1996structure")) ("1997 Gullberg, J. Mathemat..." ("year" . "1997") ("author" . "Gullberg, J.") ("title" . "Mathematics From the Birth...") ("=type=" . "book") ("=key=" . "gullberg1997mathematics")) ("2004 Huth, M. and Ryan, M...." ("year" . "2004") ("author" . "Huth, M. and Ryan, M.") ("title" . "Logic in Computer Science:...") ("=type=" . "book") ("=key=" . "huth2004logic")) ("1999 Hofstadter, D.R. Gode..." ("year" . "1999") ("author" . "Hofstadter, D.R.") ("title" . "Godel, Escher, Bach: An Et...") ("=type=" . "book") ("=key=" . "hofstadter1999godel")) ("2004 Evans, E. Domain-driv..." ("year" . "2004") ("author" . "Evans, E.") ("title" . "Domain-driven Design: Tack...") ("=type=" . "book") ("=key=" . "evans2004domain")) ("1994 Gamma, E. and Helm, R..." ("year" . "1994") ("author" . "Gamma, E. and Helm, R. and...") ("title" . "Design Patterns: Elements ...") ("=type=" . "book") ("=key=" . "gamma1994design")) ("2017 Schneier, B. Applied ..." ("year" . "2017") ("author" . "Schneier, B.") ("title" . "Applied Cryptography: Prot...") ("=type=" . "book") ("=key=" . "schneier2017applied")) ("2022 Cormen, T.H. and Leis..." ("year" . "2022") ("author" . "Cormen, T.H. and Leiserson...") ("title" . "Introduction to Algorithms...") ("=type=" . "book") ("=key=" . "cormen2022introduction")) ("2024 MacTex online macLate..." ("year" . "2024") ("title" . "MacTex") ("=type=" . "online") ("=key=" . "macLatex")) ("2023 Customizing Org Mode ..." ("year" . "2023") ("title" . "Customizing Org Mode LaTEX...") ("=type=" . "online") ("=key=" . "latexNice")) ("2021 This Month in Org Int..." ("year" . "2021") ("author" . "This Month in Org") ("title" . "Introducing Citations!") ("=type=" . "online") ("=key=" . "orgCite"))) :bibtex-local-bib nil)
(let* ((candidates (bibtex-completion-candidates)) (key (bibtex-completion-key-at-point)) (preselect (and key (cl-position-if #'(lambda (cand) (member ... ...)) candidates)))) (helm :sources (list helm-source-bibtex helm-source-fallback-options) :full-frame helm-bibtex-full-frame :buffer "helm bibtex" :input input :preselect #'(lambda nil (and preselect (> preselect 0) (helm-next-line preselect))) :candidate-number-limit (max 500 (1+ (or preselect 0))) :bibtex-candidates candidates :bibtex-local-bib local-bib))
helm-bibtex(nil)
funcall-interactively(helm-bibtex nil)
command-execute(helm-bibtex record)
execute-extended-command(nil "helm-bibtex" "helm-bib")
funcall-interactively(execute-extended-command nil "helm-bibtex" "helm-bib")
command-execute(execute-extended-command)

@tmalsburg
Copy link
Owner

Hi, happy to look into it. Could you please make a minimal reproducible example with emacs -Q, so that I can reproduce this issue? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants