From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#24379: [PATCH] lisp/bindings.el: Bind (yank-pop -1) to M-Y Date: Tue, 6 Sep 2016 11:13:23 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sAoJfQm81kdChSDf8GvglUVC2Se2XKhoH" X-Trace: blaine.gmane.org 1473175436 29233 195.159.176.226 (6 Sep 2016 15:23:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2016 15:23:56 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: 24379@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 06 17:23:47 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhIDr-00061q-Dk for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Sep 2016 17:23:39 +0200 Original-Received: from localhost ([::1]:34336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhIDp-0004Ev-5a for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Sep 2016 11:23:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhI5c-0005xW-EN for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhI5W-0000VY-RA for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:15:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhI5W-0000VU-Nn for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhI5W-00009E-Kd for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Sep 2016 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24379 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1473174843454 (code B ref -1); Tue, 06 Sep 2016 15:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Sep 2016 15:14:03 +0000 Original-Received: from localhost ([127.0.0.1]:51460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhI4U-00006j-21 for submit@debbugs.gnu.org; Tue, 06 Sep 2016 11:14:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhI4N-00006Q-Ob for submit@debbugs.gnu.org; Tue, 06 Sep 2016 11:13:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhI4E-00006B-HX for submit@debbugs.gnu.org; Tue, 06 Sep 2016 11:13:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhI4E-000067-EG for submit@debbugs.gnu.org; Tue, 06 Sep 2016 11:13:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhI49-0004Cy-KM for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:13:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhI44-0008UW-AO for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:13:36 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:53706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhI44-0008UG-0Q for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 11:13:32 -0400 Original-Received: from [18.189.118.169] ([18.189.118.169]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0LyVBG-1b1qvd0B7O-015rKA for ; Tue, 06 Sep 2016 17:13:31 +0200 In-Reply-To: X-Provags-ID: V03:K0:7ch19hmIdp81p7O2rmOsxzW5TfYwKnstpgjQgrf7sr1Q7mRLRWh CPC24S0xrbOG6fue+zrd4gI7f7S7EF6lCYQ8BK1S/lKbjePOuSkg6kRhmFOVwdEMIlI4rVi 1TtlCEi2u24iFiA9HYk5Ta68p15NkBZRQ2u/AijuE0pY5mzcpYfCy2mZ+vuUTpq6JgItynx 30B8tq3i2zOYjx6gUlnuA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ss8zDrdoWes=:WCq44QHIY/Cas3DbQQRu/p enbpEXa54o4Ib8f/T+t3jdWSSg7qn+IsFRxKByaeyH6DwDP37YmpaPy6HlKiPUQf7Daxoa6yX cdl+fUk+r5OQvk0scjytUxbx5KwQ/gySYP9X+q4kLbFQlEH/E6G4IivO7unbUYsopt+crLOJH waQ+bvQXbuHh1u6wyfqsHiQA9USrPsMDa3P/fg8iDjP0oUfWgzhXBopQnPsIOkD72jAMPrIKy DoGaPflmO1J3hYWRu6DzSySTa/qpwn+Sl2WgU/yWfXijFXbEnigGnW8s3CEakdyOdS/Z3m7x0 21RKO8UzkLyAdVqH9HnTJGo4Io+SZsJaozc1TIJo+bqjG65PQTysIdDqpi7SGmpnJ3zKaodH8 i2bglBNSPuNrL8E8R0g8huAdrTnR19hWSixg6bTixwrmia0jsO8GIcW9cTSYNYapQsMcF7/Cs VUQmKMnq+GZzCrD9a600GBhTpV6Tqr5NztEGOOcjIJLyJ/G6f91/HbvePwomHtNbupvjP+K10 R2tjyC7/EOHQlvc1SV1DFIyZ6mHcoKkrvieologXvN3i/XSEqoHQVVCRGY7u8wumJ9YDi11/a mjXOJr1TZFF7Sz+unaMF3YhRgb7eP/w4ueXof098szy/V0fg7K8znaDKlZbPFvPxhhZPXCFfJ Bo/4CkNTBtbhLlTWd1oiA1oTVLgyK8jE9PnrmAQi5i0lqUJovhW/jGNsaiPrhVrhB1CQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123005 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sAoJfQm81kdChSDf8GvglUVC2Se2XKhoH Content-Type: multipart/mixed; boundary="cU2FarePIomwxtT8L4QdvFdh0wcHRn7q8"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: Subject: Re: bug#24379: [PATCH] lisp/bindings.el: Bind (yank-pop -1) to M-Y References: In-Reply-To: --cU2FarePIomwxtT8L4QdvFdh0wcHRn7q8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Did you try M-- M-y (that is meta-minus, meta-y)? Cl=C3=A9ment. On 2016-09-06 09:28, Nils Berg wrote: > It's extremely useful to be able to traverse the kill ring in both > directions, especially when there's many entries in it. >=20 > M-Y was the most intuitive binding for this to me, but one > could also argue in favor of C-M-y. >=20 > --- > lisp/bindings.el | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/lisp/bindings.el b/lisp/bindings.el > index c13f4b1..42efd05 100644 > --- a/lisp/bindings.el > +++ b/lisp/bindings.el > @@ -889,6 +889,7 @@ if `inhibit-field-text-motion' is non-nil." > (define-key esc-map "\C-w" 'append-next-kill) > (define-key global-map "\C-y" 'yank) > (define-key esc-map "y" 'yank-pop) > +(define-key esc-map "Y" (lambda () (interactive) (yank-pop -1))) > =20 > ;; (define-key ctl-x-map "a" 'append-to-buffer) > =20 --cU2FarePIomwxtT8L4QdvFdh0wcHRn7q8-- --sAoJfQm81kdChSDf8GvglUVC2Se2XKhoH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXzt0UAAoJEPqg+cTm90wjUcUP/3Jo3kzS9JMTMmhSROULl1ZB fKTrKEPyXJWjyEa05Uu1dce83LSdbpK08Vo4QJZRXTpznJvwrjjQ3f+BLmX+zom9 YzJsZK3tGqVs/QKwpOT3WpmPlzDTTtgGnQVjLFGaOd0cCpCivRFzzjjMddCxH/kj ffxXxnj21tIdzQvZnpfDzxeAgBhn0xlWb7UanQh8/VQ8TrEeLnvfLPaa5TZ7/dh7 HFHj5mj9zsrZiaAccM6N5iTa89XiYXkpjB8x0EU1tbInXDsPaOlb3FC3tLm0Knq/ KO/nDiLalX+zHbdwsB94RGWteUne7oEio+sZIi5KTfNHva/kuMv7o8IFseQkcTup MY7I7PcOdF0JyuOLKQdcgWdJPI+V8ey7gDE1YqQct8FHgh3P24hLCgokDdd84va6 2dW6h+miqCg/t4ef9Q0+9lByI4BlDM3c/cUQT2/99z8kMi0MQ9gXAqW5S8xl1zzM xnFSh/SlVXSJu0mLPoYFu/HfB3cAGfpfY9nWo+eEzfXxypkl671f+XhNJH+voW/r eRHHDlOoLWMf1ppjEgabQz78WpvMXm/cXfMNz7nrkE0L5jlJ5823PV23Iz/QR+eJ hI0AmVRU2R1hwFYPxJm/OYUX8nVmYhZbw5JpTkcsnw3xX/CbbVjVa1JWtn3hNSpF xqV0TZKiZ8hXxe9gZSMQ =d+SI -----END PGP SIGNATURE----- --sAoJfQm81kdChSDf8GvglUVC2Se2XKhoH--