Closed mgalgs closed 10 years ago
Put the following in repro.el (also here):
repro.el
(setq load-path (append '("~/.emacs.d/site-lisp/helm" "~/.emacs.d/site-lisp/helm-swoop") load-path)) (require 'helm) (require 'helm-config) (require 'helm-swoop)
$ emacs -Q repro.el
Then:
M-x eval-buffer
Now use swoop by going to the word helm and typing C-s C-w, M-i, C-g, C-g
helm
C-s C-w
M-i
C-g
Now try to go the the "next line" in helm by doing: M-x, C-r, C-n
M-x
C-r
C-n
You should get something like:
Debugger entered--Lisp error: (void-function helm-move--next-multi-line-fn) (helm-move--next-multi-line-fn) (let ((line-num (line-number-at-pos))) (helm-move--next-multi-line-fn) (when (eq line-num (line-number-at-pos)) (helm-beginning-of-buffer))) (if (not (helm-pos-multiline-p)) (progn (forward-line 1) (when (eobp) (helm-beginning-of-buffer) (helm-swoop--recenter))) (let ((line-num (line-number-at-pos))) (helm-move--next-multi-line-fn) (when (eq line-num (line-number-at-pos)) (helm-beginning-of-buffer)))) (let (ad-return-value) (if (not (helm-pos-multiline-p)) (progn (forward-line 1) (when (eobp) (helm-beginning-of-buffer) (helm-swoop--recenter))) (let ((line-num (line-number-at-pos))) (helm-move--next-multi-line-fn) (when (eq line-num (line-number-at-pos)) (helm-beginning-of-buffer)))) ad-return-value) helm-move--next-line-fn() helm-move-selection-common(:where line :direction next) helm-next-line() call-interactively(helm-next-line nil nil) read-from-minibuffer("pattern: " nil (keymap (94 . helm-swoop-caret-match) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 keymap (109 . helm-help)) (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) (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) (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-select-3rd-action) (5 . helm-select-2nd-action-or-end-of-line) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-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) (93 . helm-next-visible-mark) (91 . helm-prev-visible-mark) (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)) (next . helm-next-page) (prior . helm-previous-page) (16 . helm-previous-line) (14 . helm-next-line) (up . helm-previous-line) (down . helm-next-line) keymap (18 . helm-minibuffer-history) (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History Item" previous-history-element :help "Put previous minibuffer history element in the minibuffer") (next menu-item "Next History Item" next-history-element :help "Put next minibuffer history element in the minibuffer") (isearch-backward menu-item "Isearch History Backward" isearch-backward :help "Incrementally search minibuffer history backward") (isearch-forward menu-item "Isearch History Forward" isearch-forward :help "Incrementally search minibuffer history forward") (return menu-item "Enter" exit-minibuffer :key-sequence " " :help "Terminate input and exit minibuffer") (quit menu-item "Quit" abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (10 . exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . previous-history-element) (up . previous-history-element) ...) nil nil nil t) helm-read-pattern-maybe(nil nil nil nil nil nil nil) byte-code("\306\211\211\206
Hi, thank you for the detailed issue. I was able to fix the error caused by forgetting to restore overrode function.
Repro
Put the following in
repro.el
(also here):Then:
Now use swoop by going to the word
helm
and typingC-s C-w
,M-i
,C-g
,C-g
Now try to go the the "next line" in helm by doing:
M-x
,C-r
,C-n
You should get something like: