Re: [MlMt] Custom keybindings file
Jolin Warren wrote (at 2:48 AM on Thursday, February 16, 2023): > Did you construct your IMAP UUID manually? I got mine by highlighting the > mailbox in MailMate and pressing `cmd-C` (I suppose you could also choose > `Copy` from the `Edit` menu). I think this is the recommended way of doing > it, and when I try now it still creates a UUID as above. I’m currently on > MailMate Version 1.14 (5942). Yes, that's the way I got all my UUIDs. ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Custom keybindings file
FWIW, I have always had a keybinding file that uses address@server UUIDs mapped to a single key and they work fine. However, the format of mine are slightly different from yours: ``` "2" = ( "goToMailbox:", "INBOX:jolinwarren%40oakandapple@mail.oakandapple.org" );``` Did you construct your IMAP UUID manually? I got mine by highlighting the mailbox in MailMate and pressing `cmd-C` (I suppose you could also choose `Copy` from the `Edit` menu). I think this is the recommended way of doing it, and when I try now it still creates a UUID as above. I’m currently on MailMate Version 1.14 (5942). -- => Jolin ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Custom keybindings file
Eric Sharakan wrote (at 7:46 PM on Wednesday, February 15, 2023): > Assuming Benny's comment still applies, it seems you are doing it as he > expects, and perhaps you've uncovered a bug. Though it's interesting that > your working keybindings file has all UUIDs; wonder how those were obtained > for the IMAP mailboxes? That's an interesting question I've been trying to answer myself. I'm stumped. > BTW, you didn't state what version of MM you're running. It's 5941 (now 5942). I try to stay up to date. Thanks, John ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Custom keybindings file
I thought I'd done this before (for defining coloring rules, not keybindings), so I googled it, and up popped a thread from back in 2014 between you and Benny (at https://lists.freron.com/mailmate/2014-March/002177.html) where he says: > Yes, but it's still the value you need. For smart mailboxes the value is an > actual UUID, but for IMAP mailboxes then the IMAP URL is unique in itself. A > few standard mailboxes have hardcoded values such as “ARCHIVE”. It's an > implementation detail I didn't originally expect to “leak”. Sorry about the > confusion. Since all my coloring rules involved smart mailboxes, I always ended up with what looks like a typical UUID when I did the Cmd-C trick on a mailbox. Doing the same thing an an actual IMAP mailbox yields an imap: URL. Assuming Benny's comment still applies, it seems you are doing it as he expects, and perhaps you've uncovered a bug. Though it's interesting that your working keybindings file has all UUIDs; wonder how those were obtained for the IMAP mailboxes? Hopefully Benny will respond with some ideas. If not, you might want to use the Help->Send Feedback... menu item to send mail to him directly. BTW, you didn't state what version of MM you're running. -Eric On 15 Feb 2023, at 22:07, John Cooper wrote: > I've narrowed down the problem, which arises when imap: UUIDs of IMAP > mailboxes are entered. From the manual: > >> A mailbox UUID is not always a UUID in a strict sense, but it is always a >> unique identifier for a mailbox. It can be one of the > following: > >> The UUID of a smart mailbox (as saved in ~/Library/Application >> Support/MailMate/Mailboxes.plist) >> A standard mailbox name such as inbox, archive, drafts, sent, junk, and >> trash. >> A full path for a mailbox within an account such as >> imap://y...@imap.example.com/Special > > My working keybindings file uses a coded URL for every mailbox, even IMAP > mailboxes: > > "m" = ( "goToMailbox:", "D95CD39B-3CEB-4060-901F-13732A91044F", > "makeFirstResponder:", "mainOutline" ); // MailMate > > But the non-working (revised) keybindings file uses an imap: UUID: > > "m" = ( "goToMailbox:", > "imap://myaddress%40pobox.com%40mail.pobox.com/INBOX/MailMate", > "makeFirstResponder:", "mainOutline" ); // MailMate > > Unfortunately, I can't find a way to obtain the current UUID in the first > form -- only the second, which seems to break the keybindings file. > > Any suggestions? > > John Cooper wrote (at 3:34 PM on Wednesday, February 15, 2023): > >> I've been trying to edit the custom keybindings file I've been using, but >> after I do, no single-key keybindings work. Every key on the keyboard only >> yields an error sound. >> >> I've checked the syntax, and all the semicolons are there. I can't find any >> errors. The file name hasn't changed. The settings haven't changed. The file >> permissions haven't changed. The file type should be the same (they're text >> files, but the extension is .plist.) The main thing I've done is ensure that >> the correct mailbox UUIDs are present; I used copy and paste. >> >> Any ideas what could be wrong? I've restored the old keybindings file for >> now, but I'd like to make improvements to it. >> >> Thanks, >> John >> ___ >> mailmate mailing list >> mailmate@lists.freron.com >> https://lists.freron.com/listinfo/mailmate > ___ > mailmate mailing list > mailmate@lists.freron.com > https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Custom keybindings file
John Cooper wrote (at 7:07 PM on Wednesday, February 15, 2023): > My working keybindings file uses a coded URL for every mailbox, even IMAP > mailboxes: > > "m" = ( "goToMailbox:", "D95CD39B-3CEB-4060-901F-13732A91044F", > "makeFirstResponder:", "mainOutline" ); // MailMate I meant to write "a coded UUID." ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Custom keybindings file
I've narrowed down the problem, which arises when imap: UUIDs of IMAP mailboxes are entered. From the manual: > A mailbox UUID is not always a UUID in a strict sense, but it is always a > unique identifier for a mailbox. It can be one of the > following: > The UUID of a smart mailbox (as saved in ~/Library/Application > Support/MailMate/Mailboxes.plist) > A standard mailbox name such as inbox, archive, drafts, sent, junk, and trash. > A full path for a mailbox within an account such as > imap://y...@imap.example.com/Special My working keybindings file uses a coded URL for every mailbox, even IMAP mailboxes: "m" = ( "goToMailbox:", "D95CD39B-3CEB-4060-901F-13732A91044F", "makeFirstResponder:", "mainOutline" ); // MailMate But the non-working (revised) keybindings file uses an imap: UUID: "m" = ( "goToMailbox:", "imap://myaddress%40pobox.com%40mail.pobox.com/INBOX/MailMate", "makeFirstResponder:", "mainOutline" ); // MailMate Unfortunately, I can't find a way to obtain the current UUID in the first form -- only the second, which seems to break the keybindings file. Any suggestions? John Cooper wrote (at 3:34 PM on Wednesday, February 15, 2023): > I've been trying to edit the custom keybindings file I've been using, but > after I do, no single-key keybindings work. Every key on the keyboard only > yields an error sound. > > I've checked the syntax, and all the semicolons are there. I can't find any > errors. The file name hasn't changed. The settings haven't changed. The file > permissions haven't changed. The file type should be the same (they're text > files, but the extension is .plist.) The main thing I've done is ensure that > the correct mailbox UUIDs are present; I used copy and paste. > > Any ideas what could be wrong? I've restored the old keybindings file for > now, but I'd like to make improvements to it. > > Thanks, > John > ___ > mailmate mailing list > mailmate@lists.freron.com > https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate