emacsorphanage / helm-swoop

Efficiently hopping squeezed lines powered by Emacs helm interface
GNU General Public License v3.0
689 stars 55 forks source link

helm-resume not working properly with swoop #186

Open psiquo opened 4 years ago

psiquo commented 4 years ago

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 commented 4 years ago

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

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))))