emacs-helm / helm

Emacs incremental completion and selection narrowing framework
https://emacs-helm.github.io/helm/
GNU General Public License v3.0
3.37k stars 389 forks source link

Helm-surfraw is not working anymore #938

Closed Enrico68 closed 9 years ago

Enrico68 commented 9 years ago

Whenever I try to start a search with helm-surfraw I have the following error

helm-get-selection: Args out of range: #<buffer *Helm Completions*>, 0, 1

Before was working ok. I am using surfraw on MacOS 10.9.5 installed with brew.

thierryvolpiatto commented 9 years ago

Enrico Pirani notifications@github.com writes:

Whenever I try to start a search with helm-surfraw I have the following error

helm-get-selection: Args out of range: #<buffer Helm Completions>, 0, 1

Before was working ok. I am using surfraw on MacOS 10.9.5 installed with brew.

Not reproductible on GNU/Linux. Probably a problem with your MacOS version of surfraw.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Enrico68 commented 9 years ago

It was working without any problems.. I cannot find any connections
because except updating Emacs I did not do anything on the MacOS

Thierry Volpiatto notifications@github.com writes:

Enrico Pirani notifications@github.com writes:

Whenever I try to start a search with helm-surfraw I have the following error

helm-get-selection: Args out of range: #<buffer Helm Completions>, 0, 1

Before was working ok. I am using surfraw on MacOS 10.9.5 installed with brew.

Not reproductible on GNU/Linux. Probably a problem with your MacOS version of surfraw.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997


Reply to this email directly or view it on GitHub: https://github.com/emacs-helm/helm/issues/938#issuecomment-84655628

thierryvolpiatto commented 9 years ago

Enrico Pirani notifications@github.com writes:

It was working without any problems.. I cannot find any connections because except updating Emacs I did not do anything on the MacOS

Try to reinstall helm, there is no reason it does not work. Also if you still have a problem, start from emacs-helm.sh and submit a backtrace of your error.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

michael-heerdegen commented 9 years ago

BTW is this french looking label a joke?

michael-heerdegen commented 9 years ago

But I cannot reproduce the error, too, here (Debian).

Enrico68 commented 9 years ago

I am not able (too lazy) to start from emacs-helm.sh (I have to sort out how to point to /Applications/MacPorts/Emacs.app). Anyway just for the sake curiosity's sake what does it means this error ?

thierryvolpiatto commented 9 years ago

Enrico Pirani notifications@github.com writes:

I am not able (too lazy) to start from emacs-helm.sh (I have to sort out how to point to /Applications/MacPorts/Emacs.app).

cd to your helm directory then ./emacs-helm.sh -P /Applications/MacPorts/Emacs.app

Anyway just for the sake curiosity's sake what does it means this error ?

You have to turn on debug-on-error with M-x toggle-debug-on-error

then send me the resulting backtrace you have after running helm-surfraw.

Did you reinstall helm ?

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Enrico68 commented 9 years ago

Yes, I have reinstalled. I will tell you this evening for the rest, I have 3 CABG +AVR to complete.

On 24 March 2015 at 17:54, Thierry Volpiatto notifications@github.com wrote:

Enrico Pirani notifications@github.com writes:

I am not able (too lazy) to start from emacs-helm.sh (I have to sort out how to point to /Applications/MacPorts/Emacs.app).

cd to your helm directory then ./emacs-helm.sh -P /Applications/MacPorts/Emacs.app

Anyway just for the sake curiosity's sake what does it means this error ?

You have to turn on debug-on-error with M-x toggle-debug-on-error

then send me the resulting backtrace you have after running helm-surfraw.

Did you reinstall helm ?

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Reply to this email directly or view it on GitHub https://github.com/emacs-helm/helm/issues/938#issuecomment-85595953.

Enrico68 commented 9 years ago

Tried to start Emacs with ~/.emacs.d/elpa/helm-20150321.11/emacs-helm.sh -P /Applications/MacPorts/EmacsMac.app/Contents/MacOS/Emacs --debug-init And this is the Backtrace log.

Debugger entered--Lisp error: (args-out-of-range #<buffer *Helm Completions*> 0 1)
  buffer-substring(1 0)
  helm-get-selection(nil withprop)
  helm-comp-read--move-to-first-real-candidate()
  run-hooks(helm-after-update-hook)
  helm-log-run-hook(helm-after-update-hook)
  #[0 "\306\307\310\311\303\242\"\"\210\300\203$\303\242\203$\302\242\203$\306\312\300\"\210\313\300\301\"\210\202S\303\242\2030\314\315!\210\202S\314 \210\316\317\301\"\204C\320\321 !\210\322\323!\210\300\203Q\306\312\300\"\210\313\300\301\"\210\324\303\242\203\221
\303\242\324\211:\203|@\262\325\326\"\262\211\203u]\262A\262\202]\266\204\327
]\330]\324\331\303\242\300\301&\210)\306\332!\207" [nil nil ((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil ... ...))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = ... collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [... nil nil ... nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil ... ...))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile)))) (nil) helm-force-updating-p helm-idle-delay helm-log "Delayed sources = %S" mapcar #[257 "\300\301\"\207" [assoc-default name] 4 "\n\n(fn S)"] "Update preselect candidate %s" helm-preselect helm-update-move-first-line without-hook assoc candidates-process helm-display-mode-line helm-get-current-source helm-log-run-hook helm-after-update-hook nil assoc-default delayed run-with-idle-timer 0.001 helm-process-delayed-sources "end update" helm-input-idle-delay] 7 "\n\n(fn)"]()
  funcall(#[0 "\306\307\310\311\303\242\"\"\210\300\203$\303\242\203$\302\242\203$\306\312\300\"\210\313\300\301\"\210\202S\303\242\2030\314\315!\210\202S\314 \210\316\317\301\"\204C\320\321 !\210\322\323!\210\300\203Q\306\312\300\"\210\313\300\301\"\210\324\303\242\203\221
\303\242\324\211:\203|@\262\325\326\"\262\211\203u]\262A\262\202]\266\204\327
]\330]\324\331\303\242\300\301&\210)\306\332!\207" [nil nil ((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil ... ...))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = ... collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [... nil nil ... nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil ... ...))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile)))) (nil) helm-force-updating-p helm-idle-delay helm-log "Delayed sources = %S" mapcar #[257 "\300\301\"\207" [assoc-default name] 4 "\n\n(fn S)"] "Update preselect candidate %s" helm-preselect helm-update-move-first-line without-hook assoc candidates-process helm-display-mode-line helm-get-current-source helm-log-run-hook helm-after-update-hook nil assoc-default delayed run-with-idle-timer 0.001 helm-process-delayed-sources "end update" helm-input-idle-delay] 7 "\n\n(fn)"])
  helm-update(nil)
  helm-read-pattern-maybe("Engine: " nil nil noresume (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil)
  #[0 "\311\211\211\211\305\206\n%%&'()\312\313*\"\314\315\316\317\320\321!\322\"\323\324%DC\216\325\303\301\307\300$\210\326%!\210+\203?\327\330!\210\331\332\333\"\210\334\335!\210\314\336DC\216\337\302\301\304\303\306\307\310&\210*\210&?\205b\340 \334\341\342\343\344\"P!\210-\207" [(((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil nil mapcar #[257 "\211JB\207" [] 3 "\n\n(fn V)"] funcall make-byte-code 0 "\300\301\211:\203@\262\211A\262\242\262\211L\210A\262\202\266\302\303!\207" vconcat vector [nil helm-log "restore variables"] 5 "\n\n(fn)" helm-initialize helm-display-buffer helm--remap-mouse-mode 1 add-hook post-command-hook helm--maybe-update-keymap helm-log "show prompt" #[0 "\300 \207" [helm-cleanup] 1 "\n\n(fn)"] helm-read-pattern-maybe helm-execute-selection-action "[End session] " make-string 41 45 helm-buffer helm-quit helm-in-persistent-action helm-current-source helm-source-name helm-restored-variables helm-prevent-escaping-from-minibuffer] 9 "\n\n(fn)"]()
  funcall(#[0 "\311\211\211\211\305\206\n%%&'()\312\313*\"\314\315\316\317\320\321!\322\"\323\324%DC\216\325\303\301\307\300$\210\326%!\210+\203?\327\330!\210\331\332\333\"\210\334\335!\210\314\336DC\216\337\302\301\304\303\306\307\310&\210*\210&?\205b\340 \334\341\342\343\344\"P!\210-\207" [(((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil nil mapcar #[257 "\211JB\207" [] 3 "\n\n(fn V)"] funcall make-byte-code 0 "\300\301\211:\203@\262\211A\262\242\262\211L\210A\262\202\266\302\303!\207" vconcat vector [nil helm-log "restore variables"] 5 "\n\n(fn)" helm-initialize helm-display-buffer helm--remap-mouse-mode 1 add-hook post-command-hook helm--maybe-update-keymap helm-log "show prompt" #[0 "\300 \207" [helm-cleanup] 1 "\n\n(fn)"] helm-read-pattern-maybe helm-execute-selection-action "[End session] " make-string 41 45 helm-buffer helm-quit helm-in-persistent-action helm-current-source helm-source-name helm-restored-variables helm-prevent-escaping-from-minibuffer] 9 "\n\n(fn)"])
  helm-internal((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil)
  apply(helm-internal ((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil))
  helm((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil)
  apply(helm ((((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) nil "Engine: " noresume nil "*Helm Completions*" (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) nil nil))
  helm(:sources (((name . "Surfraw Search Engines History") (candidates . #[0 "\304\302\300\305\303$\211\205)\306\307\310\301\203$\301\307\230\204$\311\305\301\306\301\"B\"\202%\312\313#\"\207" [nil nil nil t helm-comp-read-get-candidates nil delete "" helm-fast-remove-dups delq :test equal] 10 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (filtered-candidate-transformer (lambda (candidates sources) (cl-loop for i in candidates for cand = (replace-regexp-in-string "\\s\\" "" i) collect cand)) helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin)) ((name . "Surfraw Search Engines") (candidates . #[0 "\306\300\301\304\305$\307\303\242\310=\204?\311\230\204?\312\"\204?\312\313!\"\204?\235\204?\314\315\316\311#C\"\262\310\302\203U\302\311\230\204U\317\307\302\320\302\"B\"\202V\211\207" [("") nil nil (t) nil t helm-comp-read-get-candidates nil t "" assoc intern append replace-regexp-in-string "\\s\\" delq delete helm-cr-unknown-pattern-flag helm-pattern] 7 "\n\n(fn)"]) (action ("Sole action (Identity)" lambda (candidate) (if nil (helm-marked-candidates) (identity candidate)))) (persistent-help . "DoNothing") (requires-pattern . 0) (filtered-candidate-transformer helm-cr-default-transformer helm-fuzzy-highlight-matches) (match helm-mp-exact-match helm-mp-match) (mode-line . "\\<helm-comp-read-map>C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct") (header-line . "C-j: DoNothing (keeping session)") (dont-plug helm-compile-source--match-plugin helm-compile-source--persistent-help) (matchplugin) (volatile))) :input nil :default nil :preselect nil :prompt "Engine: " :resume noresume :case-fold-search smart :keymap (keymap (keymap (13 . helm-confirm-and-exit-minibuffer)) keymap (27 keymap (13 . helm-cr-empty-string)) (C-return . helm-cr-empty-string) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-debug-output)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (21 . helm-force-update) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (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) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (117 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) ...) :history nil :buffer "*Helm Completions*")
  helm-comp-read("Engine: " ("") :must-match t :name "Surfraw Search Engines" :del-input nil :history nil)
  byte-code("\301\302\303\304\305\306!$\307\310\311 \312\313\314\315\316\303\317&\nD\207" [helm-surfraw-engines-history read-string "SearchFor: " nil helm-surfraw-input-history thing-at-point symbol helm-comp-read "Engine: " helm-build-elvi-list :must-match t :name "Surfraw Search Engines" :del-input :history] 12)
  call-interactively(helm-surfraw record nil)
  command-execute(helm-surfraw record)
  helm-M-x()
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)
thierryvolpiatto commented 9 years ago

Enrico Pirani notifications@github.com writes:

Tried to start Emacs with ~/.emacs.d/elpa/helm-20150321.11/emacs-helm.sh -P /Applications/MacPorts/EmacsMac.app/Contents/MacOS/Emacs --debug-init

--debbug-init is not needed here, you have just to M-x toggle-debug-on-error once started

And this is the Backtrace log.

Even better is to load your helm source files (not the compiled one) this way we have no byte-code in the backtrace

Debugger entered--Lisp error: (args-out-of-range #<buffer Helm Completions> 0 1) buffer-substring(1 0) helm-get-selection(nil withprop) helm-comp-read--move-to-first-real-candidate() run-hooks(helm-after-update-hook)

But with this I think I know what is happening, the helm completing read is called with no candidates, which mean that your surfraw is not working on your Mac. Try to run in a terminal:

surfraw -elvi

Do you have some output ?

Anyway I will fix helm-comp-read to not fail in such case, you should endup with an empty helm buffer.

Thanks.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

thierryvolpiatto commented 9 years ago

Thierry Volpiatto thierry.volpiatto@gmail.com writes:

Anyway I will fix helm-comp-read to not fail in such case, you should endup with an empty helm buffer.

helm-comp-read is not failing in such situation here, what happen when you eval:

(helm-comp-read "test: " nil :must-match t)

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

michael-heerdegen commented 9 years ago

@thierryvolpiatto Note with what candidate list helm-comp-read is called in the OP's backtrace:

(helm-comp-read
 "Engine: " '("")
 :must-match t :name
 "Surfraw Search Engines" :del-input nil :history nil)

That gives indeed an error. With other words: the problem is that "helm-build-elvi-list" for the OP obviously returns nonsense: a list with one element, the empty string. If you look at the definition of "helm-build-elvi-list", that indeed happens when the process leaves the temp buffer empty ("split-string"!).

michael-heerdegen commented 9 years ago

@thierryvolpiatto That commit avoids the error here.

Seemingly you have treated the "(equal candidates '(""))" case twice times, however.

thierryvolpiatto commented 9 years ago

Michael Heerdegen notifications@github.com writes:

@thierryvolpiatto That commit avoids the error here.

Seemingly you have treated the "(equal candidates '(""))" case twice times, however.

Yes, I have corrected this, thanks.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

thierryvolpiatto commented 9 years ago

Anyway this fix will avoid an error in helm, but this will not make surfraw working better. It is up to you to fix this on your system.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Enrico68 commented 9 years ago

Surfraw is working without problems in the terminal. But I noticed now that with the command surfraw -elvi I have

GLBAL ELVI:

This is really strange as the elvi libs have correctly added to my PATH.

thierryvolpiatto commented 9 years ago

helm surfraw is using this command "surfraw -elvi" as backend, if it is not working we can do nothing more on the helm side.

Here is the output I have from GNU/Linux:

 GLOBAL ELVI:
acronym         -- Look for acronyms definitions (www.acronymfinder.com)
ads             -- Search SAO/NASA Astrophysics Data System
alioth          -- Search Alioth (alioth.debian.org)
amazon          -- Search the amazon.com bookstore
archpkg         -- Search Arch Linux Packages (www.archlinux.org/packages/)
archwiki        -- Search the Arch Linux Wiki
arxiv           -- Search arXiv E-Print Archive for articles
ask             -- Question the web using Ask Jeeves (www.ask.com)
aur             -- Search aur.archlinux.org for PKGBUILDs
austlii         -- Search Australian Law docs (www.austlii.edu.au)
bbcnews         -- Search BBC News (news.bbc.co.uk)
bing            -- Search the web using Microsoft's Bing (www.bing.com)
bookfinder      -- Search for books using www.bookfinder.com
bugmenot        -- Bypass compulsory web registration with bugmenot.com
bugzilla        -- Search for bugs on Bugzilla bugtrackers
cablesearch     -- search for leaked diplomatic communications
cia             -- Search CIA documents at www.cia.gov
cisco           -- Search Cisco documentation (www.cisco.com)
cite            -- Search computer science papers (citeseerx.ist.psu.edu)
cliki           -- Search the common lisp wiki
cnn             -- Search on CNN (cnn.com)
comlaw          -- Search Australian Law using Comlaw (www.comlaw.gov.au)
ctan            -- Search the Comprehensive TeX Archive Network (ctan.org)
currency        -- Convert currencies with the Universal Currency Converter (www.xe.net/ucc)
cve             -- Search for CAN assignments in CVE
debbugs         -- Search the debian BTS (bugs.debian.org)
debcodesearch   -- Search debian source code
debcontents     -- Search contents of debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
deblists        -- Search debian mailing lists (lists.debian.org/search.html)
deblogs         -- Show changelogs for a package in Debian main (changelogs.debian.net)
debpackages     -- Search debian/ubuntu packages (packages.debian.org/packages.ubuntu.com)
debpkghome      -- Visit the home page for a Debian package
debpts          -- Search the Debian Package Tracking System (packages.qa.debian.org)
debsec          -- Search the Debian Security Tracker for CVE ids or package names
debvcsbrowse    -- Browse the VCS repository for a Debian package
debwiki         -- Search the Debian Wikis (wiki.debian.org & women.debian.org/wiki)
deja            -- Search usenet using Google Groups (groups.google.com)
deli            -- Search Delicious bookmarks
discogs         -- Search the Discogs database of music information (www.discogs.com)
dmoz            -- Search the Open Directory Project web directory (dmoz.org)
duckduckgo      -- Securely search the web using duckduckgo (www.duckduckgo.com)
ebay            -- Search the Ebay auction site
etym            -- Look up word origins at www.etymonline.com
excite          -- Search on Excite (www.excite.com)
f5              -- Search F5 related information (www.f5.com)
finkpkg         -- Search Fink packages (pdb.finkproject.org)
foldoc          -- The Free On-Line Dictionary Of Computing (foldoc.org)
freebsd         -- Search FreeBSD related information (www.freebsd.org)
freedb          -- Search for cd track listings in FreeDB (www.freedb.org)
freshmeat       -- Search Freshmeat (www.freshmeat.net)
fsfdir          -- Search the FSF/UNESCO Free Software Directory (directory.fsf.org)
gcache          -- Search the web using Google cache (www.google.com)
genbugs         -- Search the Gentoo bug tracker (bugs.gentoo.org)
genportage      -- Search gentoo-portage.com for packages
github          -- Search GitHub (https://github.com)
gmane           -- Search mailing list with gmane (gmane.org)
google          -- Search the web using Google (www.google.com)
gutenberg       -- Search for books on Project Gutenberg (gutenberg.org)
imdb            -- Search the Internet Movie Database (www.imdb.com)
ixquick         -- Search the web using ixquick [HTTPS] (www.ixquick.com)
jamendo         -- Search Jamendo: free music with Creative Commons licenses (www.jamendo.com)
javasun         -- Search Java API docs (java.sun.com)
jquery          -- Search the jQuery documentation (api.jquery.com)
l1sp            -- Search lisp documentation
lastfm          -- Search last.fm
leodict         -- Search Leo's German <-> English dictionary (dict.leo.org)
lsm             -- Search the Linux Software Map
macports        -- Search macports packages (macports.org)
mathworld       -- Search Wolfram MathWorld
mdn             -- Search the mozilla developer network (developer.mozilla.org)
mininova        -- Search the mininova bittorent source.
musicbrainz     -- Search MusicBrainz (musicbrainz.org)
mysqldoc        -- Search mysql documentation (dev.mysql.com)
netbsd          -- Search NetBSD related information (www.netbsd.org)
ntrs            -- Search the NASA Technical Report Server
openbsd         -- Search OpenBSD related information (www.openbsd.org)
openports       -- search openports for OpenBSD packages
opensearch      -- Search an OpenSearch-enabled website
oraclesearch    -- Search Oracle (search.oracle.com)
pasearch        -- Search the unofficial Penny Arcade archives (pipefour.org/pa)
pgdoc           -- Search postgres documentation (www.pgdoc.com)
pgpkeys         -- Search the PGP key database
phpdoc          -- Search PHP documentation (php.net)
pin             -- Search Pinboard bookmarks (http://pinboard.in)
piratebay       -- Search The Pirate Bay (http://thepiratebay.org)
priberam        -- Look up word in Priberam online dictionary (www.priberam.pt/dlpo)
pubmed          -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)
rae             -- Busca en el diccionario de la Real Academia de la Lengua Española (Spanish Dictionary)
rfc             -- Search RFCs (internet standards documents)
rhyme           -- Search for rhymes et al using Lycos Rhyme (rhyme.lycos.com)
rpmsearch       -- Search for RPMs in various distros
S               -- Search using custom search provider
scholar         -- Search Google Scholar (scholar.google.com)
scicom          -- Search Scientific Commons
scirus          -- Search for science using Scirus (scirus.com)
scpan           -- Search the Comprehensive Perl Archive Network (search.cpan.org)
slashdot        -- Search stories on Slashdot (www.slashdot.org)
slinuxdoc       -- Search entries in LDP (www.linuxdoc.org)
sourceforge     -- Search SourceForge (www.sourceforge.net)
springer        -- Search Springer for Books and Articles
stack           -- Search Stack Overflow
stockquote      -- Get a single stock quote (multiple providers)
thesaurus       -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com)
translate       -- Translate human languages
urban           -- Search urbandictionary.com for a definition
W               -- Activate Surfraw defined web-browser
w3css           -- Validate a CSS URL with the w3c CSS validator (jigsaw.w3.org/css-validator)
w3html          -- Validate a web page URL with the w3c validator (validator.w3.org)
w3link          -- Check web page links with the w3c linkchecker (validator.w3.org/checklink)
w3rdf           -- Validate a RDF URL with the w3c RDF validator (validator.w3.org)
wayback         -- Search The Internet Archive's Wayback Machine for a URL (archive.org)
webster         -- Look up word in Merriam-Webster's Dictionary (www.m-w.com)
wetandwild      -- Real time weather information (many sources)
wikipedia       -- Search the free encyclopedia wikipedia
woffle          -- Search the web using Woffle (localhost:8080)
wolfram         -- Ask questions of the computational knowledge engine
worldwidescience -- Search for science with www.worldwidescience.org
yacy            -- Search YaCy P2P search, including ScienceNet
yahoo           -- Search Yahoo categories (www.yahoo.com)
yandex          -- Search the web using Yandex (yandex.ru)
youtube         -- Search YouTube (www.youtube.com)
yubnub          -- Use the social command-line for the web (yubnub.org)
Enrico68 commented 9 years ago

Ok, it works. After upgrading everything is ok. Problem on MacOS was connected with native sed. Installing Gnu sed and linking to it fixed the problem