<div class="gmail_quote">2011/10/18 Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am Dienstag, 18. Oktober 2011, 08:21:06 schrieb Leonardo Giordani:<br>
> Ok, I'm fine with global tasks, but I do not understand why tasks for a<br>
> non-project file do not disappear when that file is closed.<br>
> They are loaded with that file ad they should appear in task manager as long<br>
> as I keep that file open, doesn't they?<br>
><br>
> Perhaps I do not understand the behavior you wanted, but I feel<br>
> unconfortable to see in task manager a list of tasks which belongs to files<br>
> I do not manage.<br>
<br>
That is a valid point. However, how should we handle tasks in files that you<br>
manage but don't want to place in a project (e.g. a collection of little maybe<br>
unrelated scripts)? Maybe the global behavior should be configurable<br>
(selection would be the current behavior and the way you expect it). That<br>
could go into the current lines of development (probably eric5 first).<br>
<br>
</blockquote><div><br>Thank you for you answer.<br><br>I see no problems with files I do not put in a project: when I open them, their tasks appear, when I close them they tasks disappear.<br>Eric is not a task manager, so it should not try to act as a task repository: if the file is open I'm interested in its tasks.<br>
"Global task" to me means only a task that is extracted from a file not belonging to the project.<br><br>I think we should simply run the task-extractor when opening a file. When a project is opened we run through all files and run the task-extractor irrespective of the status of the file (opened or closed).<br>
When closing a file we have to remove its tasks only if it does not belong to the project.<br><br>I'm going to look at the code to see if I can come with a concrete proposal.<br><br>Regards<br><br>Leo<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
><br>
> Thank you<br>
><br>
> Leo<br>
><br>
> 2011/10/17 Detlev Offenbach <<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>><br>
><br>
> > Hi,<br>
> ><br>
> > eric actually manages two kinds of tasks, project related task, which<br>
> > appear in files belonging to a project or are entered as such, and<br>
> > global<br>
> > tasks, which are extracted from files not belonging to the current<br>
> > project or are not marked as being project tasks. So the described<br>
> > behavior is as intended by me.<br>
> ><br>
> > Regards,<br>
> > Detlev<br>
> ><br>
> > Am 17.10.2011 um 11:22 schrieb Leonardo Giordani:<br>
> ><br>
> > Hi, a little bug report about tasks markers.<br>
> ><br>
> > If I load a non-project file (to look at some extra code) Eric will load<br>
> > the tasks markers for this file.<br>
> ><br>
> > This can be a good thing, but when the file is closed, since it is not<br>
> > in<br>
> > the project, its tasks markers should be removed.<br>
> ><br>
> > This does not happen. Moreover, they stay there even if I close the<br>
> > project and create a new one.<br>
> ><br>
> > Thanks<br>
> ><br>
> > Leo<br>
> > _______________________________________________<br>
> > Eric mailing list<br>
> > <a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br>
> > <a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
> ><br>
> ><br>
> > Detlev Offenbach<br>
> > <a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
<font color="#888888">--<br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
</font></blockquote></div><br>