Re: Return does not work with sidebar patch
On 2007-10-08, Andreas Leppert <wudmx@xxxxxx> wrote:
> Hello mutt users,
>
> my first post to the list.
>
> Since I've read about the sidebar USE-flag (Gentoo) in this mailing
> list, I've given it a try and it works almost perfect, only one thing is
> annoying me:
>
> I can no longer use return to open mails or scroll down mails, instead,
> the next entry in the sidebar is marked. Please notice that I mean
> return, and not the enter key. With enter, it always works.
>
> This only happens when the sidebar-next bindings are active! Here is my
> configuration with regard to the sidebar patch:
>
> --- snip ---
>
> set sidebar_visible="yes"
> set sidebar_width=40
> set sidebar_delim=" | "
>
> color sidebar_new yellow default
>
> bind index \Ck sidebar-prev
> bind index \Cj sidebar-next
> bind index \Co sidebar-open
> bind pager \Ck sidebar-prev
> bind pager \Cj sidebar-next
> bind pager \Co sidebar-open
>
> macro index B ':toggle sidebar_visible<enter>'
> macro pager B ':toggle sidebar_visible<enter>'
>
> --- snap ---
>
> Again: if I comment out the two sidebar-next bindings, I can use return
> to open mails.
Since you didn't elaborate on what you mean by "return" except that
it is not the same as "enter", I assume that you mean an ASCII
carriage return, 0x0D. That is the same character as Ctrl-J. These
two commands bind Ctrl-J to sidebar-next,
bind index \Cj sidebar-next
bind pager \Cj sidebar-next
Mutt is behaving exactly as you configured it to behave. If you
don't want that behavior, comment-out or delete those two lines.
Regards,
Gary