#1910 accepted
Eric Sharakan

Keep selected message in middle of message list pane

Reported by Eric Sharakan | January 9th, 2018 @ 04:30 PM

When reading mail with many unread messages, I quickly end up with the selected message at the bottom of the message list pane, so it's no longer obvious if there are more unread messages. It would be nice if the message list view scrolled so the selected message is never the bottom-most one visible.

Comments and changes to this ticket

  • benny

    benny January 10th, 2018 @ 02:14 PM

    • State changed from “new” to “accepted”

    Part of the problem is that Apple removed the scrollers. They can be re-enabled in the System Preferences.

    I'm mostly relying on default behavior from the system and it can be tricky to override these things in a robust way. I'll make a note of it though.

  • Eric Sharakan

    Eric Sharakan January 10th, 2018 @ 05:57 PM

    I've already set the pref to restore the scrollbars all the time. My question was whether the selected message could be automatically scrolled into the middle of the pane so I can always see a couple newer messages than the selected one (assuming there are any) in the pane.

    Thanks.

  • benny

    benny January 11th, 2018 @ 08:36 AM

    I think I understood you correctly, but as I noted, it's tricky :) It might be easier and/or more robust if I provided a key binding selector to center the currently selected email.

    Oh, that one already exists (if it works). Try this one:

    `centerSelectionInVisibleArea:`
    

    If it works I should probably document it :)

  • Eric Sharakan

    Eric Sharakan January 11th, 2018 @ 04:40 PM

    Yeah, not only that, but:

    sharakan% egrep centerSelectionInVisibleArea *
    Standard.plist: "^l" = "centerSelectionInVisibleArea:";

    ...and it works great.

  • Stacey Marshall

    Stacey Marshall March 21st, 2018 @ 12:07 PM

    I have been using Control-l ("Control l", Ctrl-L, "C-l") since I switched to MailMate, Don't remember how I found it, perhaps I just used the key one day as an EMACS user. In Emacs pressing the C-l a second time aligns at the the top, and a third time at the bottom, a fourth centers again... should I open a new ticket to request that behaviour?

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages