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

From: Ivan Shmakov <[email-masked]>
Date: Fri, 06 Dec 2013 18:26:11 +0000

>>>>> Stefan Monnier <[email-masked]> writes:

 >> As of 0dd4ebbcf94d, erc-mode-map unconditionally binds both C-a and
 >> Home to erc-bol.  Which is problematic, as:

 > Good points.

 > But please note that doing it with remap is intrusive because the
 > user may actually like to have a key bound to beginning-of-line.

	Indeed, it’s intrusive either way.

 > 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?  As per my reading
	of substitute-key-definition, it implies more or less the same
	effect as the use of [remap] with define-key.

-- 
FSF associate member #7257