<<< Date Index >>>     <<< Thread Index >>>

Re: [broken-patch] unbind command



Hello Thomas,

 On Tuesday, December 16, 2003 at 9:43:35 AM +0100, Thomas Roessler wrote:

> The attached patch makes sure that mutt tries the generic menu if the
> specific one returns OP_NULL.

    This forbids unbinding to nothing a generic key from a specific map.

    Example: I have a "bind generic <Left> exit". But I don't want to
exit losing changes when in index, and don't want another function. So I
set a "bind index <Left> noop". Results in $beep and "Key is not bound.
Press '?' for help.". Exactly what's wanted.

    This doesn't work anymore with your patch-1.5.5.1.tlr.unbind.1,
resulting back in generic exit in index also. And AFAICS is no more
doable, outside of unbinding generic, and binding each and every map but
index. Bad.

    I think Allister's wish (unbind to generic) seems legitimate, but
not as a replacement of current behaviour (unbind to unbound).


Bye!    Alain.
-- 
Mutt muttrc tip to send mails in best adapted first necessary and sufficient
charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users):
set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"