jschlatow / taskopen

Tool for taking notes and open urls with taskwarrior
GNU General Public License v2.0
368 stars 32 forks source link

RFE: taskopen -T #37

Closed linuxcaffe closed 8 years ago

linuxcaffe commented 11 years ago

-T as in hide Text annotations (formerly -R as in Regular annotations) (this is all in active development ;)

(ie. not links or attachments, but "in-line" annotations)

The -t option might cause taskopen to list only regular (non-link) annotations. -T would hide any such annotations

For example, text annotations such as;

$ task 1 annotate I want to consider this
$ task 2 annotate idea: consider buying a tiny note-book, that looks like an iPhone.
$ task 3 annotate km: 193023-193141
$ task 4 annotate minutes: Consider This meeting \\n 12:12 - welcome \\n 13:52 break for lunch 

related to #24 and #31

jschlatow commented 11 years ago

I'd rather like to stay with the lower/upper case logic as with -f/-F and -n/-N. Maybe -t/-T as in "text". It'd be a reversed logic however because the default is not to show those items, i.e. "-t" for showing only non-link annotations "-T" to enable showing non-link annotations

I mean the logic would be that the lower case letter always restricts to show only one type of items whereas the uppercase letter enables or disables the type in general.

linuxcaffe commented 11 years ago

If we seem to have established a convention here, it would seem to be;

-t to show only "text" annotations

-T to hide all "text" annotations (which is the current default)

proposed default (the new normal) = show both text and linked annotations

that said, I'm ok with whatever option makes text-annotations accessible, and then what about "-t = type"? or can that be achieved with "-m = match"?

jschlatow commented 11 years ago

Oh..damn..forgot about "-t type"...we need more characters!

jschlatow commented 11 years ago

I don't like the default of showing text annotations.

linuxcaffe commented 11 years ago

I've noticed that ;-)

jschlatow commented 8 years ago

This is now implemented on the devel branch and will go into the 1.1 release quite soon. There is also a TEXT_REGEX option in taskopenrc that needs to be set (e.g. ".*").

linuxcaffe commented 8 years ago

This is good news indeed! I can't wait to try it! Thanks!