bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Lars Ingebrigtsen
Subject: bug#16071: Erc re-binds [home] even if not beginning-of-line
Date: Sun, 27 Dec 2015 22:07:27 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

Ivan Shmakov <ivan@siamics.net> writes:

> As of 0dd4ebbcf94d, erc-mode-map unconditionally binds both C-a
> and Home to erc-bol.  Which is problematic, as:
>
> • either (or both) of them may happen to /not/ be bound to
> beginning-of-line (as, for example, when using an older,
> Emacs 20-or-so, binding of Home to beginning-of-buffer);
>
> • the user may’ve previously bound additional key sequences to
> beginning-of-line, which are not rebound by the current
> erc-mode-map.
>
> It’s arguably more semantically correct (and convenient) to
> re-map beginning-of-line to erc-bol, instead of using an
> explicit list of key sequences to be bound to erc-bol.

Well, I think that users who want to rebind keys in a mode should use
the mode hooks -- there's nothing special about beginning-of-line and
friends.  So I'm closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]