GNU bug report logs - #24379
[PATCH] lisp/bindings.el: Bind (yank-pop -1) to M-Y

Previous Next

Package: emacs;

Reported by: Nils Berg <nilsb <at> google.com>

Date: Tue, 6 Sep 2016 13:29:02 UTC

Severity: wishlist

Tags: patch, wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Clément Pit--Claudel <clement.pit <at> gmail.com>, Nils Berg <nilsb <at> google.com>, 24379 <at> debbugs.gnu.org
Subject: bug#24379: [PATCH] lisp/bindings.el: Bind (yank-pop -1) to M-Y
Date: Tue, 6 Sep 2016 08:36:17 -0700 (PDT)
> > Many users already have their own yanking (or other) commands
> > bound to such keys.  (Just google `emacs "C-M-y"' and
> > `emacs "M-y"'.)
> 
> How would a new binding affect these users?

Users can always override any key bindings, of course.
But many users are hesitant to override default bindings,
for whatever reasons.

This suggested default binding is really unnecessary, IMO.
It is trivial for someone to add it, if they like.
 
> > In my case, for example, `M-y' is `icicle-yank-pop-commands',
> > and `C-M-y' is `secondary-dwim'.
> 
> M-y is already bound to yank-pop in plain Emacs, so I'm not
> sure I follow your point :/

Yes, and my `M-y' is only turned on in Icicle minor mode (but
which I am always in).  You can drop that example, if you like,
and just google for `emacs "M-y"' if you would like to see what
other users do with `M-y'.

My point was the _general_ one that I stated: (1) Many users
have their own uses of `M-y' and `C-M-y'.  And (2) adding this
particular binding is not helpful - it is trivial for anyone
to add it, if they really want it.

There are not so many good keys available.  Arguments for
binding more keys globally (not for some mode) by default,
in particular, should be strong arguments.

They should not proceed _only_ from:

 * the-key-is-not-bound-by-default or
 * here-is-a-useful-command-that-is-not-bound-by-default

There should be a more compelling reason to add a new default
key binding, IMHO.




This bug report was last modified 5 years and 326 days ago.

Previous Next


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