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

Comments

Projects
None yet
2 participants
@srustamo

srustamo commented Aug 19, 2015

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 abo-abo closed this in 00d8f08 Aug 20, 2015

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Aug 20, 2015

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@srustamo

srustamo Aug 20, 2015

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.

srustamo commented Aug 20, 2015

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

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Aug 20, 2015

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@srustamo

srustamo Aug 20, 2015

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.

srustamo commented Aug 20, 2015

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

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Aug 20, 2015

Owner

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.

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