Return key does not display-message in index view

Cameron Simpson cs at cskk.id.au
Thu Aug 9 22:44:16 UTC 2018


On 08Aug2018 22:24, TJ Hayes <tjhayes at fastmail.com> wrote:
>I am using mutt 1.9.4 on Ubuntu Budgie 18.04.

I'm running a built from source mutt 1.10.0 on a Mac.

Like Felix, all of my tests of your tests behave just like you except that 
<Return> does display the message for me.

>QUESTION: How can I have <Return> open/display the selected email 
>message from the index view?
>
>I have this in my muttrc:
>
>bind index <Return> display-message

Try commenting this line out of your config and retry. I don't have this 
explicitly in my settings, it comes from mutt's defaults for me.

Also try running "mutt -F /dev/null" to bypass all the configuration.

(I've tried putting that line in my muttrc and <Return> still displays a 
message from the index for me.)

>However, hitting <Return> does not open the selected message from the
>index. Mutt gives no feedback like "this key is not bound" or anything
>like that. I can use <Space> to display-message, but I'd rather use
><Return>.
>
>What I've checked:
>(1) :exec what-key, then <Return>
>Mutt tells me: Char = <Return>, Octal = 12, Decimal = 10

Me too.

>(2) <Return> is listed as bound to display-message, when I hit ? to view the keybinds.

Does that line include the description "display a message" in the right hand 
column? Mine does, and if that is missing or different it may be a clue.

>(3) My <Return> key does function to do other things within mutt. When 
>I change folders or select an attachment, <Return> does function just fine. 
><Return> is bound to select-entry in maps other than index.

Very strange. Do you have another version of mutt to hand to run against the 
same setup for comparison?

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Mutt-users mailing list