[Ml-yokadi] RFC: Project syntax

Sébastien Renard Sebastien.Renard at digitalfox.org
Tue May 26 19:35:42 CEST 2009


Le mardi 26 mai 2009 12:06:10, Aurélien Gâteau a écrit :
> Hi list,
>
> I have been demonstrating Yokadi quite a lot these days since I am
> attending conferences for two weeks, and one thing which strikes me is
> that the "<projectname>:" is a bit error prone, especially when using
> sub-projects. Here is an example:
>
> Say I have one project which contains two subprojects. Something like this:
>
> - foo
> - foo_stable
> - foo_crazy_feature
>
> When I type "t_add f<tab>", I get "t_add foo". Assuming I want to add a
> task to the "foo" project, I often find myself carrying on with entering
> the task text, forgetting to add the ':' character.
>
> As a result, I end up adding a task titled "foo Implement this tricky
> stuff" to the "default" project instead of adding "Implement this tricky
> stuff" to the "foo" project.
>
> Does it happen to you as well?

I have been bitten few times. But no so much because I don't an important 
usage of sub project. 
I understand your concern.

> An easy way to fix this would be to use
> ":" as a prefix instead of a suffix (pretty much what Sebastien
> suggested initially...). What do you think about this?

The ":" after the project name is more "natural" (like handwritting)... 

An easy hack would be to renable the old project fashion by checking if the 
first word is a project name.
Of course, this would disable taks in default project that begin with an 
existing project word. But the drawback is rather small.

Maybe « too perlish » but I can't find a better way to solve your problem for 
now.

-- 
Sébastien


More information about the Ml-yokadi mailing list