Page 2 of 2

Re: <selitems> + ?tags:

Posted: 27 Oct 2015 21:11
by eil
many many thanks Don! now everything works :D

Re: <selitems> + ?tags:

Posted: 31 Oct 2015 17:22
by eil
it seems i found "not working properly" again.
i select some files and folders, there are some labeled files and folders in 1st tier, and some in subs. both

Code: Select all

goto("+?tags:*");  
text quicksearch("tags:*", "<selitems ;>");  
don't find folders of 1st tier. only 1st tier files, and properly files and folders in subs.

Re: <selitems> + ?tags:

Posted: 31 Oct 2015 17:35
by admin
Confirmed! Argh, tricky. That was my relaxed weekend... :roll: :)

Re: <selitems> + ?tags:

Posted: 31 Oct 2015 20:47
by admin
OK, I thought about it again, and well, it works as as advertised. Search In List (SIL) is an extension of Multi Location Search (MLOS). In MLOS, the folders passed as search locations are never contained in the results, but are recursed and their contents are checked. The same is true for SIL. The difference is that in a SIL also files are among the search "locations". They are checked directly, of course, and can appear in the search results.

OTOH, I admit that what you observed looks a bit like a bug. But should SIL be redefined? Should the behavior change. Probably not.

Re: <selitems> + ?tags:

Posted: 31 Oct 2015 23:04
by eil
that's pity, 'cause by my understanding everything that is parsed should be "checked", 'cause otherwise function seems to be "not trustful".
before i was using an algorithm that checked items one by one: if its a file> check, if it's a folder> check and get list of internal items, and so on. imaging how long that is!? but That was the only way to truly say if there are any items i marked and forgot or someone marked and i even didn't know.