Page 1 of 1

'tag' bookmarks doesn't work consistently

Posted: Sun May 07, 2023 12:36 pm
by Marco Polo
I have defined Ctrl-Shift-B bookmark for 'tag' filter like this

Code: Select all

search(custom) - tag:<find:>
macro - tagalias<find>
... all other fields are disabled

Code: Select all

tagalias:house tagalias:low tagalias:yellow
I have strange result if I use those filters in sequence - second, third macro do not remove inappropriate files from listing. The only one that realy hides files is 1st macro. Other macros for 'tag' just remove bold letter style as shown in the screenshot.

Image

I have forgotten about notation in angle brackets and tried to use chain of shorter keyword aliases (+: or tg:). This one bracked expression works fine for chaining several tags inside brackets and is a workaround. But several macros work wrong way.

Code: Select all

tagalias:<house low yellow>

Re: 'tag' bookmarks doesn't work consistently

Posted: Sun May 07, 2023 12:49 pm
by Marco Polo
Another screenshot. Bookmarked 'tagalias' keyword works good if it is next to real 'tag' keyword (and probably any other 'real' keyword).

Image

One more

Image

Re: 'tag' bookmarks doesn't work consistently

Posted: Sun May 07, 2023 2:33 pm
by NotNull
Change your bookmark search to:

Code: Select all

search(custom) - tag:find:
(without the <> )

Re: 'tag' bookmarks doesn't work consistently

Posted: Sun May 07, 2023 5:24 pm
by Marco Polo
NotNull wrote: Sun May 07, 2023 2:33 pm Change your bookmark search to:

Code: Select all

search(custom) - tag:find:
(without the <> )
Thank you, NotNull, this variant works as expected.

Code: Select all

search(custom) - tag:find:
macro - tagalias<find>

Re: 'tag' bookmarks doesn't work consistently

Posted: Mon May 08, 2023 5:36 am
by void
Thank you for the issue report Marco Polo,

Everything 1.5.0.1345a fixes an issue with subexpressions being incorrectly optimized away.
Everything was using subexpressions because find: was wrapped with < and >