[Ml-yokadi] RFC: Project syntax
Aurélien Gâteau
aurelien.gateau at free.fr
Fri Jun 5 10:41:21 CEST 2009
Sébastien Renard wrote:
> Le mardi 02 juin 2009 14:24:48, Aurélien Gâteau a écrit :
>> I am afraid this will come back to bite us as more and more projects are
>> created.
>>
>> Another natural solution would be to go back to previous behavior of not
>> having a default project. This way the first word is always the project
>> name... I personally do not use the default-project feature, but I am
>> not the only user... So open question to the list: do you use the
>> default-project feature?
>
> I does not use it anymore. But when I was a yokadi noob I use it. It's clearly
> a feature to help new users. When you only manage 10 tasks in yokadi the
> project notion is useless and counterproductive. When you manager hundreds of
> tasks it is just mandatory ;-).
That's my impression as well. Yokadi is all about being as fast as
possible, so I believe we should not optimize for the beginner if it
gets in the way of experienced users.
This does not mean we should not care about beginners. One thing we
could do is to change Yokadi behavior a bit. In 0.9.0, when the user
passes a "t_add" command with an unknown project, he get this:
yokadi> t_add Buy some milk
Project 'Buy' does not exist, create it (y/n)? _
If the user chooses 'n', his command is lost. What about changing the
'n' behavior to edit the command instead of forgetting it? If the user
wants the command to be forgotten he just has to clear the line and
enter something else.
> Well after the magic perl answer, we could have the KDE one : make it an
> option ;-).
> A config parameter should indicate if we use the default project (the actuel
> default project name could be set to None de deactivate it). When it is
> desactivated, the ":" are optionnal, the first word is always the project
> name.
This would be a bad idea, I think, because examples could be broken if
they do not match the user configuration.
Aurélien
More information about the Ml-yokadi
mailing list