Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

goToMailbox and Focus on the first message

#1306

Hi,

I have two issues / wishes as regards the "goToMailbox:" binding directive:

  • Using a key binding ( "goToMailbox:", "" ) put the focus on the MAILBOXES panels, which makes it impossible to combine it with some message selection. For instance, I wanted to map a key to go to a special Junk mailbox and select all messages. The following two attempts failed:
"g" = {    
  "j" = ( "goToMailbox:", "<UUID>", "selectFirstMessageRow:", "selectAll:"); /* Goto smart mailbox, Junk */
};
  • It seems impossible to pass a path to a submailbox directly. Can't that be changed? Ex:
"g" = {    
  "j" = ( "goToMailbox:", "/INBOX/Sub/Mailbox");
};

Reported by Sebastien Varrette · November 9th, 2015 @ 04:09 PM

State: resolved
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to resolved

    Issue 1: You can use makeFirstResponder: with mainOutline I believe. (But I should probably not change focus, but this is more a general issue.)

    Issue 2: For goToMailbox: you must also specify the account (this restriction is documented). Try selecting the mailbox you want in the GUI and then use ⌘C to put its “UUID” on the pasteboard.

    Let me know if this doesn't help.

    November 10th, 2015 @ 01:59 PM

  2. Sebastien Varrette
    Sebastien Varrette

    ok, that makes sense ;)
    May be you shall update the documentation to reflect that trick since the probability to wish to end on the message panel rather than the mailbox one after a goToMailbox seems huge to me.

    For the other followers of this ticket, I ended with the following key binding:

    "g" = {    
      "j" = ( "goToMailbox:", "<UUID>", "makeFirstResponder:", "mainOutline", "selectAll:"); /* Goto smart mailbox, Sysadmins Junk */
    }
    

    November 10th, 2015 @ 05:30 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.