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

org-agenda-refile doesn't work when org-outline-path-complete-in-steps is enabled #579

Open
dadinn opened this issue Dec 5, 2021 · 1 comment

Comments

@dadinn
Copy link

dadinn commented Dec 5, 2021

ISSUE

I have the following org-mode configuration settings in my init.el (tried to put together a minimally reproducible example):

(custom-set-variables
 '(org-tag-persistent-alist
   '(("TARGET" . ?t)))
 '(org-tags-exclude-from-inheritance (quote ("TARGET")))
 '(org-refile-targets
   '((nil . (:level . 1))
     (nil . (:tag . "TARGET"))))
 '(org-refile-use-outline-path t)
 '(org-goto-interface 'outline-path-completion)
 ;; prefer in-steps that ido for refile completion
 ;; '(org-completion-use-ido t)
 '(org-outline-path-complete-in-steps t))

I am able to reproduce the problem with the following content in an org file:


* TOPLEVEL
** LEVEL ONE TARGET                                                 :TARGET:
** LEVEL ONE NONTARGET
*** LEVEL TWO TARGET                                               :TARGET:

* INBOX

** stuff to be refiled

Trying to refile "stuff to be refiled" item results in only the top-level items being offered, and no way to navigate into the :TARGET: nodes in any way.
image

When disabling selectrum and only using "bare" Emacs settings (even without IDO or IVY) I am given the expected multi-step choices:
image
image
image

BTW, I have raised similar issue against IVY.

Regarding IDO, it works fine in the sense that it lists all valid paths as options to select from, but personally I prefer not to enable the org-completion-use-ido option, and use the in-step completion instead. In that case IDO still helps with the completion of only the next step from the current position, which would be my ideal behaviour, instead of showing the possibilities for complete paths.

ENVIRONMENT

OS

Debian 11

Emacs

GNU Emacs 27.1

@dadinn
Copy link
Author

dadinn commented Dec 5, 2021

I've looked at my old issue filed with ivy, and they referred to this workaround to disable the org-outline-path-complete-in-steps option.

I've tried it with selectrum, and indeed this reverts back to showing possible completions for complete paths.
image

This is less than my ideal in-step org interface, but could be an acceptable workaround if no better solution is possible.

@dadinn dadinn changed the title selectrum doesn't work with org-agenda-refile selectrum doesn't work with org-agenda-refile when org-outline-path-complete-in-steps is enabled Dec 5, 2021
@dadinn dadinn changed the title selectrum doesn't work with org-agenda-refile when org-outline-path-complete-in-steps is enabled selectrum doesn't work with org-agenda-refile when org-outline-path-complete-in-steps is enabled Dec 5, 2021
@dadinn dadinn changed the title selectrum doesn't work with org-agenda-refile when org-outline-path-complete-in-steps is enabled org-agenda-refile doesn't work when org-outline-path-complete-in-steps is enabled Dec 5, 2021
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue May 25, 2022
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue Jul 2, 2022
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue Oct 20, 2022
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue Nov 12, 2022
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue Jun 10, 2023
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
dadinn pushed a commit to dadinn/.emacs.d that referenced this issue Jun 10, 2023
Interferes with ivy/selectrum completion as described in these issues:

radian-software/selectrum#579
abo-abo/swiper#1254
abo-abo/swiper#444
https://emacs.stackexchange.com/questions/37883/hierarchical-org-refile-support-with-ivy

Also, removed obsolete comment about org-completion-use-ido option
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

1 participant