[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16071: Erc re-binds [home] even if not beginning-of-line
From: |
Ivan Shmakov |
Subject: |
bug#16071: Erc re-binds [home] even if not beginning-of-line |
Date: |
Fri, 06 Dec 2013 18:26:11 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Stefan Monnier <monnier@iro.umontreal.ca> 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