calcurse icon indicating copy to clipboard operation
calcurse copied to clipboard

[Feature request] Tagging appointments and to-do items

Open pkillnine opened this issue 4 years ago • 3 comments

This is like a lighter version of the multiple calenders feature request - if you can add tags to appointments and to-do items, you could show only appointments/todo's that have particular tags, so you could tag items with 'work' or 'personal'. And also have multiple tags, so you can kind of easily sub-categorise them.

This would be really nice for storing all kinds of appointments too, you could have a calender of potential events to go to without mixing them up with your actual commitments.

pkillnine avatar Jan 23 '21 23:01 pkillnine

I like the proposal and would be happy to receive patches.

I also think that, with this implemented, there's probably not too much work left to add support for multiple calendars (but I might be wrong on this).

lfos avatar Jan 27 '21 02:01 lfos

I was just about to post a similar request.

I was thinking the tags could have a few configurable items:

  • flag text: a character (or maybe two, max three) that would appear next to the appointment or todo item, similar to ! or X. appearing when you flag with !
  • flag color: the color of that flag text
  • event color: would color the whole event in the chosen colors.
  • key binding

The tags could be toggled via a configurable key binding, similar to vim's marks, i.e. mw could toggle the "work" tag, mp the "personal" tag etc. Unfortunately, m is currently used for "+1 month", and t for "+1 day", so that would need to be adjusted somehow.

Finally, the tags could be exported to iCal using the CATEGORIES property.

goblin avatar Feb 05 '21 10:02 goblin

As above, I've implemented a simple tagging support for now.

I've also created a small converter utility that can print events colorized according to tags: https://github.com/goblin/ical2svg

goblin avatar Feb 06 '21 22:02 goblin