← Back to team overview

gtg team mailing list archive

[Bug 591130] Re: gtg_new_task does not support subtasks

 

The parsing of the tasks is done at the Editor level when you type.

The reason is because you don't want to change the content of a text
that it's saved.

I see two possible way :

1) make the gtg_new_task parse the content.

2) give gtg_new_task some option to add subtasks.


I would choose option 2) as we don't know what can be the input. Imagine a script that creates new tasks based on email, it would create subtasks for items in the discussion.

-- 
gtg_new_task does not support subtasks
https://bugs.launchpad.net/bugs/591130
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
[from a question of Pablo Olmos de Aguilera Corradini]
 just found the gtg_new_task file and works quite well, the thing is that when I launch it in interactive mode like:

$ gtg_new_task -i "title"
@tag
body
trying to add subtasks
- subtask
- subtask 2
-- subsubtask

It parse it fine except for the subtask thing that only appears as a hyphen and not the arrow that indicates to gtg that it is a subtask (a ss for you to understand).

http://www.imagebanana.com/img/ft279fzr/title_103.png







References