GNU bug report logs - #16071
Erc re-binds [home] even if not beginning-of-line

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Fri, 6 Dec 2013 11:38:01 UTC

Severity: minor

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 16071 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 16071 <at> debbugs.gnu.org
Subject: Re: bug#16071: Erc re-binds [home] even if not beginning-of-line
Date: Sun, 27 Dec 2015 22:07:27 +0100
Ivan Shmakov <ivan <at> 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




This bug report was last modified 9 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.