Subject: bug#16071: Erc re-binds [home] even if not beginning-of-line

From: Stefan Monnier <[email-masked]>
Date: Fri, 06 Dec 2013 22:17:49 -0500

>> I guess rebinding with substitute-key-definition is OK.
> 	Does that mean binding only to the sequences which are
> 	beginning-of-line in global-map /and/ also not overridden by the
> 	user in erc-mode-map, or something like that?

Yes.

> 	As per my reading of substitute-key-definition, it implies more
> 	or less the same effect as the use of [remap] with define-key.

No: people can still bind a key to beginning-of-line in erc-mode-map and
it won't be remapped.

        Stefan