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

RFE: taskopen -T #37

Closed
linuxcaffe opened this issue Jan 27, 2013 · 7 comments
Closed

RFE: taskopen -T #37

linuxcaffe opened this issue Jan 27, 2013 · 7 comments
Labels
Milestone

Comments

@linuxcaffe
Copy link
Collaborator

-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
Copy link
Owner

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
Copy link
Collaborator Author

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
Copy link
Owner

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

@jschlatow
Copy link
Owner

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

@linuxcaffe
Copy link
Collaborator Author

I've noticed that ;-)

jschlatow added a commit that referenced this issue Jun 23, 2016
Implement TEXT_REGEX and switches -t/-T.

Relates to #37 and #21.
@jschlatow
Copy link
Owner

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants