From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#9406: 24.0.50; Use M-p/M-n to navigate through the kill ring Date: Wed, 31 Aug 2011 08:22:20 +0200 Message-ID: References: <87zkirnlug.fsf@mail.jurta.org> <87ippfnl3g.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314771842 11950 80.91.229.12 (31 Aug 2011 06:24:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2011 06:24:02 +0000 (UTC) Cc: 9406@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 31 08:23:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QyeDM-0008DS-Lf for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2011 08:23:56 +0200 Original-Received: from localhost ([::1]:47807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyeDL-00022o-OU for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2011 02:23:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyeDJ-00022i-Hy for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2011 02:23:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyeDI-0001cm-G3 for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2011 02:23:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyeDI-0001ci-CC for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2011 02:23:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QyeGM-0006Ar-DJ; Wed, 31 Aug 2011 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2011 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9406-submit@debbugs.gnu.org id=B9406.131477201223714 (code B ref 9406); Wed, 31 Aug 2011 06:27:02 +0000 Original-Received: (at 9406) by debbugs.gnu.org; 31 Aug 2011 06:26:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyeGB-0006AQ-0F for submit@debbugs.gnu.org; Wed, 31 Aug 2011 02:26:51 -0400 Original-Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyeG8-0006AJ-8P for 9406@debbugs.gnu.org; Wed, 31 Aug 2011 02:26:49 -0400 Original-Received: by gwb20 with SMTP id 20so284558gwb.3 for <9406@debbugs.gnu.org>; Tue, 30 Aug 2011 23:23:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=0VGBvmRNuLtf8ifVtU88u80LpIb29804RTPfWvDpbeE=; b=qcv53ku/fnqkgDbSZ3D1bHd90TI8pe8sV4oUI9la1L22NOg2i/ECWiiB5BkKvcWPrC 95OodEo9mr7rr8jsbNqx/3wp9XDC0Py9ul8fH/jhNxfOsMO8UK6UwBluz957udu7yg56 acILlbc2hdaXsZkIPxqeNwPDBmF0Y3mrBUONY= Original-Received: by 10.236.185.4 with SMTP id t4mr683363yhm.121.1314771740541; Tue, 30 Aug 2011 23:22:20 -0700 (PDT) Original-Received: by 10.236.43.131 with HTTP; Tue, 30 Aug 2011 23:22:20 -0700 (PDT) In-Reply-To: <87ippfnl3g.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 31 Aug 2011 02:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50460 Archived-At: Hi Juri, On Tue, Aug 30, 2011 at 14:27, Juri Linkov wrote: > Yes, this would be good. =A0So it could work exactly like `C-s M-p' > in Isearch mode where `M-p' activates the minibuffer. =A0`C-y M-p' > could do the same. Using the minibuffer would be indeed a way of doing this, but on second thought I think that it would be better to have "in-site" replacement of the yanked text (like M-y does now), because: 1. It would be quicker: It saves you the extra once you have selected the wanted entry. 2. When the killed text is tall (has many lines), the minibuffer would show only a small fragment of it. Thus, for example if you wanted to yank the third entry from the kill ring, all you would have to to is "C-y M-p M-p M-p" and you're done. Very quick, very intuitive, very convenient! I'm not an expert in Emacs' internals, but I think that one way of implementing this would be as a minor mode, that would be activated by C-y (like Isearch is activated by C-s), and deactivated by "anything else" (distinct from M-p M-n and M-y*). (*) The behavior of M-y would remain the same, obviously, for old-timers. --=20 Dani Moncayo