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-swap-windows not working #196

Open
super-tomcat opened this issue Oct 3, 2020 · 2 comments
Open

helm-swap-windows not working #196

super-tomcat opened this issue Oct 3, 2020 · 2 comments

Comments

@super-tomcat
Copy link

After using helm-swap-windows with an Org file you cannot select an entry in Helm Swoop using either C-n C-p or the up/down cursors.

@conao3
Copy link
Collaborator

conao3 commented Oct 3, 2020

confirmed. But I could't handle this with a few minutes.

[MEMO]
minimum init.el and repro step.

  1. save below init.el as ~/.debug.emacs.d/helm-swoop/init.el
  2. run Emacs with emacs -q -l ~/.debug.emacs.d/helm-swoop/init.el
  3. on some keyword, press C-S-s to invoke helm-swoop
  4. press C-S-t to invoke helm-swap-windows
  5. move cursor via C-n or C-p could not work as expected
;; ~/.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
  :bind (helm-map
         ("C-S-t" . helm-swap-windows))
  :config
  (leaf helm-swoop
    :ensure t
    :leaf-defer nil
    :bind (("C-S-s" . helm-swoop))))

@super-tomcat
Copy link
Author

super-tomcat commented Oct 5, 2020

tried it, and it works okay with a normal file but not with an org file.... it still does what i said above.... doesnt allow you to select any candidates with cursor up/down or C-p C-n, it jumps to the last candidate then stops.

If you swap back to the original windows then works again even with an org file.

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