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 autocompletion of tags in org mode does not work #1890

Closed
ikosmidis opened this issue Oct 8, 2017 · 4 comments
Closed

helm autocompletion of tags in org mode does not work #1890

ikosmidis opened this issue Oct 8, 2017 · 4 comments

Comments

@ikosmidis
Copy link

ikosmidis commented Oct 8, 2017

Expected behavior

C-c C-c on a heading in org mode would give helm-like autocompletion of tags

Actual behavior (from emacs-helm.sh if possible, see note at the bottom)

Org tags buffer appears. Pressing TAB opens the helm-mode-org-set-tags buffer with "Tag:" in the minibuffer but helm does not load the available tags in the org file (i.e. there are no selections to choose from really)

Steps to reproduce (recipe)

Create a test.org file with

#+TAGS: test1(a) test2(b)  

* test

and hit C-c C-c on the line of test

Describe versions of Helm, Emacs, operating system, etc.

helm-20171002.2119
GNU Emacs 24.5.1
Ubuntu 16.04-3

Are you using emacs-helm.sh to reproduce this bug (yes/no):

yes

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Oct 9, 2017 via email

@ikosmidis
Copy link
Author

Thanks for the speedy response.

I think I've figured out what's the reason for the behaviour. If at least one of the tags is set for fast tag selection, then org-set-tags takes over and the *Org tags* buffer comes up for fast selection. Everything works as expected if

#+TAGS: test1 test2

* test

Is this documented anywhere already? Perhaps fast tag selection should be ignored by default if helm is enabled to ensure that current sets of tags with fast tag selection work?

Best wishes and thanks for the great software,
Ioannis

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Oct 9, 2017 via email

thierryvolpiatto pushed a commit that referenced this issue Oct 22, 2017
* helm-org.el (helm-org-completing-read-tags): Do it.
@thierryvolpiatto
Copy link
Member

Added docstring and an entry in FAQ.

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

No branches or pull requests

2 participants