just guessing that it's the same menu item so it's the same action both bound to MarkAsUnread: which almost certainly calls toggleReadState: internally. If you select a mixed range of read and unread messages the menu item defaults to "mark as read"

The difference being one is bound to a menu action and the other is the method that is called programmatically.


- Jason

On 1 Dec 2021, at 10:34, Randall Meadows wrote:

On 1 Dec 2021, at 9:55, John Cooper wrote:
On 1 Dec 2021, at 8:44, Randall Meadows wrote:
On 1 Dec 2021, at 6:48, John Cooper wrote:
For what it’s worth, the following variation continues to work for me in 5850:

"u" = ( "toggleReadState:" );

I considered that, but logic tells me that it will be fruitless if my message selection contains both read and unread messages.

In practice, using the toggleReadState binding on a mixed selection first toggles all to read, then to all unread. It doesn’t seem to depend on the state of the first selected or first sorted message.

Ah, good to know, thanks for pointing that out. That should suffice for my needs.

I'd still like to know 1. why my original attempt doesn't work; and B. how "markAsUnread:" is working, since it's not listed in the manual...
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to