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-resume not working properly with swoop #186

Open
psiquo opened this issue May 14, 2020 · 1 comment
Open

helm-resume not working properly with swoop #186

psiquo opened this issue May 14, 2020 · 1 comment

Comments

@psiquo
Copy link

psiquo commented May 14, 2020

When trying to resume an helm buffer and one of the two modes that allows the selection of the buffer to resume is chosen and the last buffer is *Helm Swoop* it doesn't work.
In particular when resuming within helm the buffer is closed, if I try to resume outside helm nothing happens .
Standard resume method (which resumes the last buffer) and the cycling works perfectly.
If the last helm buffer is not a swoop buffer everything works as expected.

@conao3
Copy link
Collaborator

conao3 commented Aug 5, 2020

helm-swoop-resume

I can't understand what you see. My helm-resume resumes our helm-swoop as we expect.

In gif, I operate as below

  • helm-swoop by C-S-s
    • select candidate and press RET to go to the line
  • helm-resume by C-x c b
  • add manual to helm-swoop queue
    • select candidate and press RET
  • helm-resume by C-x c b
    • select candidate and press RET

Sample init.el

;; ~/.debug.emacs.d/helm-swoop/init.el

;; you can run like 'emacs -q -l ~/.debug.emacs.d/{{pkg}}/init.el'
(when load-file-name
  (setq user-emacs-directory
        (expand-file-name (file-name-directory load-file-name))))

(prog1 "leaf"
  (custom-set-variables
   '(package-archives '(("org"   . "https://orgmode.org/elpa/")
                        ("melpa" . "https://melpa.org/packages/")
                        ("gnu"   . "https://elpa.gnu.org/packages/"))))
  (package-initialize)
  (unless (package-installed-p 'leaf)
    (package-refresh-contents)
    (package-install 'leaf)))

(leaf helm
  :ensure t
  :require helm-config
  :global-minor-mode t
  :config
  (leaf helm-swoop
    :ensure t
    :leaf-defer nil
    :bind (("C-S-s" . helm-swoop))))

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

No branches or pull requests

2 participants