I'm Ccing to the AS user list, just in case...

Now I'm checking a smartbox I just created.

Name "N", contents: "messages that match [message is unread]".

Only one condition, and "all" conditions to match, just in case.

Right now I have 2 unread messages on my system, but that box will show me a 
third one, that's read (no blue dot) and that won't go away (even after the 
squlite "vacuum").

I've opened Script Debugger and found the message, not in the smartbox (it 
looks like smartboxes are not available in the explorer) but in the original 
mailbox, and, of course, its "read status" is set to "true".

I have thousands of read mails on my machine but only this one, right now, that 
pops up in that N box. Now, I've rebuild the original mailbox (a gmail pop box) 
and the read mail is gone. Until another mail slips in...

What I wrote about smartboxes being unreliable earlier is that behavior.

What I had working in Sierra is the following:

1) I had a shortcut to set a flag
2) and I had a shortcut to go to the related box

The only way to assign UI shortcuts that I know if is by creating Mail specific 
shortcuts in System Preference > Keyboard > Shortcuts > App Shortcuts.

The problem is that such shortcuts apply to menu items and that by default the 
menu item to set a flag is identical to the one that goes to the flag box when 
it's put in the Favorites bar (there does not seem to be a way to access a box 
otherwise in the UI).

So my solution was to create smartboxes that would have the same contents as 
the original Flag boxes, but a different name, and put them in the Favorites 
bar to have easy access to them.

The first issue, that is the subject of this thread, is that such created 
smartboxes are not reliable on my system since the HS upgrade. *And* behavior 
is not consistent: the N box above does not contain *all* the unread mails, 
just a seemingly random one, sometimes, similarly a Yellow flag smartbox would 
display yellow flagged mails, but if I change the flag on one mail it would 
sometimes still appear there (and in the proper box as well). Clearing the flag 
would remove it temporarily but setting any other flag would put it again it 
the original box. Like if it had some "memory" of it's original flag...

The second issue is that the shortcuts I had assigned to Go to Favorite Box 
such and such would not work after a Mail relaunch. I'd have to manually access 
the Go to Favorite Box menus, one by one, to "activate" the shortcut, and then 
I could use the shortcuts. The weird thing is that shortcuts I had set to 
change flags would work without problem.

The Go to shortcuts I had set were "Ctrl" based. like Ctrl+J for "jobs" etc. 
And I noticed that Mail actually supports by default such shortcuts for actions 
like "go to next mail", etc. in the mail listing. So maybe it was just a deep 
conflict with the system, but then again in Sierra it worked fine.

So basically my whole mail based workflow is broken in HS and the workarounds 
are really not practical (use AS to set flags and standard Cmd+n to access the 
original flag boxes in Favorites).

Jean-Christophe 

> On Oct 15, 2017, at 9:09, Macs R We <[email protected]> wrote:
> 
> This may be voodoo, but consider vacuuming your mailbox:
> 
> http://brettterpstra.com/2015/10/27/vacuuming-mail-dot-app-on-el-capitan/
> 
> Note: the 10.10 in the code should really say 10.11 (see the page comments).
> 
> 
>> On Oct 14, 2017, at 4:53 PM, Jean-Christophe Helary 
>> <[email protected]> wrote:
>> 
>> Thank you for testing. I'll try again with HS next upgrade.
>> 
>> I'm using flags and flagged smartboxes a lot in my workflow, along with Mail 
>> specific system shortcuts to set the flags and access the related 
>> smartboxes. Not only did I find that flagged mails did not reliably change 
>> of smartbox, but the access shortcuts I had set were not reliably available 
>> in fullscreen mode. So I'm now working with applescript things to set flags 
>> and the default Cmd+n to access the favorites box where I have my 
>> smartboxes...
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to