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

counsel: org-agenda-bulk-action #200

Closed
srustamo opened this issue Aug 19, 2015 · 5 comments
Closed

counsel: org-agenda-bulk-action #200

srustamo opened this issue Aug 19, 2015 · 5 comments

Comments

@srustamo
Copy link

Please consider adding a counsel function to handle org-agenda-bulk-action.

You can add/remove flags on multiple items in the agenda by selecting them using m, then B (org-agenda-bulk-action) and then + (to add tags) or - (to remove tags).

The org-mode itself does not provide the ability to apply multiple tags, however.

@abo-abo
Copy link
Owner

abo-abo commented Aug 20, 2015

Now you should be able to change tags for any agenda item with counsel-org-tag. If any items are marked, you can only add tags with counsel-org-tag instead of add/remove. Please test.

@srustamo
Copy link
Author

Thank you. The counsel-org-tag indeed works as you describe.

I guess acting on multiple marked items in the agenda (adding/removing tags, e.g.) is beyond the scope of this package, however, if this is possible, please consider this for counsel.el.

@abo-abo
Copy link
Owner

abo-abo commented Aug 20, 2015

I guess acting on multiple marked items in the agenda (adding/removing tags, e.g.) is beyond the scope of this package, however, if this is possible, please consider this for counsel.el.

You can add tags to multiple marked items in the agenda.

You can't remove them, because it doesn't make sense to remove a tag from a list of headings that may or may not have it. And I don't really want to add a separate command just for removing tags from multiple items. One command is better than two.

@srustamo
Copy link
Author

You can't remove them, because it doesn't make sense to remove a tag from a list of headings that may or may not have it.

I guess checking if an item has a tag is more difficult than it sounds. If so, the only other request I would have is to auto-reload the agenda after running counsel-org-tag, so that its effect is visible.

@abo-abo
Copy link
Owner

abo-abo commented Aug 20, 2015

I guess checking if an item has a tag is more difficult than it sounds.

This isn't the problem. The problem is marking two headings, one of them has :foo:, the other :bar: and you select :foo:. What should be done in this case: add or remove tag?

  • have first :foo: and second :foo:bar:
  • have first :: and second :foo:bar:

Adding and removing in one command makes sense only for a single tag, not for many.

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