Hi

I don't know the reasons for the specific choice of output -- it seems, 
however, that a more useful logic would have been:

"[has[F]]"  -- those input tiddlers in which field F exists
"[!has[F]"  -- those input tiddlers in which field F does not exist or has 
an empty value

In which case "[has[F]] -[!has[F]]"  -- would return those tiddlers with a 
non-empty value for field F (the original output of "[has[F]]")

In the case that this introduces backward compatibility issues -- a suffix 
option could be added for the has[] operator -- for any suffix:

i.e. "[has[F]]"  -- those input tiddlers in which field F has a non-empty 
value
      "has:suffix[F]]" -- those input tiddlers in which field F exists
      "[!has[F]]" -- those input tiddlers in which field F does not exist 
or has an empty value
      "[!has:suffix[F]" -- those input tiddlers in which field F does not 
exist

regards

On Tuesday, 10 November 2015 20:02:29 UTC+2, Jeremy Ruston wrote:
>
> Hi Tobias
>
> It’s too late to change the semantics of the existing operator, but I’d 
> certainly be interested in backwards compatible ways of addressing the 
> problem in the original post.
>
> Best wishes
>
> Jeremy
>
>
> Best wishes,
>
> — tb 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/58c12440-3be6-4a19-9281-87836d92954c%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/58c12440-3be6-4a19-9281-87836d92954c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ee55487f-d04e-4c01-8be9-f4b107c6f6b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to