blindFS / vim-taskwarrior

vim interface for taskwarrior
Other
517 stars 42 forks source link

de-filtering errors #63

Closed linuxcaffe closed 10 years ago

linuxcaffe commented 10 years ago

After selecting a +feature tag, hitting "f" to filter, accepting that value to filter on +feature tags, no problem, works great.

Then while looking at the new shorter list, hit "f" again, see filter:feature, backspace over that value, to nulify the filter, and to reset the condition, hit enter and.. oops! errors! ;

Error detected while processing function taskwarrior#filter..taskwarrior#list:
line   40:
E16: Invalid range:         2d

generally repeatable and irrecoverable. and also reports;

There are not enough operands for the '=' operator. 
blindFS commented 10 years ago

No errors in my environment. Test your new combination in the shell and paste the output so that I'll know where the problem is.

linuxcaffe commented 10 years ago

not sure how to get a better output, it's not really a new combination, just allying a filter to a tag, and then attempting to clear that filter again. There's nothing in that combination that might apply to the shell output specifically, that would just be two lists.

I'll keep testing to see if I can identify a variable within my environment. I did one replication that did not lock up, and the only difference I observed, was that the filter prompt had

filter:+feature

not

filter:feature

before I cleared it without error.

blindFS commented 10 years ago

I get it.

blindFS commented 10 years ago

Fixed.

linuxcaffe commented 10 years ago

yup, works great!