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

Completions List #91

Closed
joedicastro opened this Issue May 8, 2015 · 6 comments

Comments

Projects
None yet
2 participants
@joedicastro
Contributor

joedicastro commented May 8, 2015

With ido if you, for example, wanted to add a tag in org-mode you can press TAB to show you a Completion List and can select the candidates.

Is it possible to do this with ivy?

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo May 8, 2015

Owner

Which org-mode-command are you reffering to?

Owner

abo-abo commented May 8, 2015

Which org-mode-command are you reffering to?

@joedicastro

This comment has been minimized.

Show comment
Hide comment
@joedicastro

joedicastro May 8, 2015

Contributor

It is a command that do many things depending on context, org-ctrl-c-ctrl-c, but ido let you get that Completion List in various commands, e.g. smex and switch-buffer. I think that it does it with ido-complete

Contributor

joedicastro commented May 8, 2015

It is a command that do many things depending on context, org-ctrl-c-ctrl-c, but ido let you get that Completion List in various commands, e.g. smex and switch-buffer. I think that it does it with ido-complete

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo May 8, 2015

Owner

It is a command that do many things depending on context, org-ctrl-c-ctrl-c, but ido let you get that Completion List in various commands, e.g. smex and switch-buffer. I think that it does it with ido-complete

OK, so the command is determined. Can you supply a minimal file and position for which org-ctrl-c-ctrl-c offers a completion list for ido-mode?

Owner

abo-abo commented May 8, 2015

It is a command that do many things depending on context, org-ctrl-c-ctrl-c, but ido let you get that Completion List in various commands, e.g. smex and switch-buffer. I think that it does it with ido-complete

OK, so the command is determined. Can you supply a minimal file and position for which org-ctrl-c-ctrl-c offers a completion list for ido-mode?

@joedicastro

This comment has been minimized.

Show comment
Hide comment
@joedicastro

joedicastro May 8, 2015

Contributor
* one                                                            :test:other:
* two 

If you execute the command over two and press TAB them you get a list with test and other

Contributor

joedicastro commented May 8, 2015

* one                                                            :test:other:
* two 

If you execute the command over two and press TAB them you get a list with test and other

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo May 8, 2015

Owner

OK, I see it now. It works fine for adding one tag, if there are none. It also work fine if you want to unset all tags and set one. I'll see tomorrow for the rest.

Owner

abo-abo commented May 8, 2015

OK, I see it now. It works fine for adding one tag, if there are none. It also work fine if you want to unset all tags and set one. I'll see tomorrow for the rest.

@abo-abo abo-abo added the enhancement label May 11, 2015

abo-abo added a commit that referenced this issue Jul 24, 2015

counsel.el (counsel-org-tag): Replace org-set-tags
* counsel.el (counsel-org-tags): New defvar.
(counsel-org-change-tags): New defun, adapted from part of
`org-set-tags'.
(counsel-org-tag-action): New defun.
(counsel-org-tag-prompt): New defun.
(counsel-org-tag): New command.

**Using counsel-org-tag**

- The prompt is auto-updated to the currently selected tags.
- Selecting one of the already selected tags removes it from selection.

The best shortcut for selecting/removing multiple tags is "C-M-m" (or
"g" when the "C-o" hydra is active).

Re #177
Re #91
@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Aug 4, 2015

Owner

Closing this one, since the new command counsel-org-tag is a solution.

Owner

abo-abo commented Aug 4, 2015

Closing this one, since the new command counsel-org-tag is a solution.

@abo-abo abo-abo closed this Aug 4, 2015

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