[MlMt] Custom keybinding not working
mapish at gmail.com
mapish at gmail.com
Wed Dec 1 17:38:00 EST 2021
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
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20211201/271c1010/attachment.htm>
More information about the mailmate
mailing list