From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#37909: 25.3; repeat does not repeat yank correctly Date: Thu, 16 Jan 2020 15:26:57 +0100 Message-ID: <87r1zzwk7i.fsf@marxist.se> References: <5DB1F9CA020000A1000349A8@gwsmtp.uni-regensburg.de> <83o8y5w5dt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81954"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Ulrich Windl , 37909-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 16 15:28:26 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1is68C-000L4N-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jan 2020 15:28:20 +0100 Original-Received: from localhost ([::1]:42976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is68B-0000nI-Cl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jan 2020 09:28:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is67y-0000YJ-87 for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 09:28:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is67u-0006UT-QR for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 09:28:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1is67u-0006UO-MF for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 09:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1is67u-0004Xc-I3 for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 09:28:02 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2020 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 37909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 37909@debbugs.gnu.org, stefan@marxist.se, Ulrich.Windl@rz.uni-regensburg.de Original-Received: via spool by 37909-done@debbugs.gnu.org id=D37909.157918483317388 (code D ref 37909); Thu, 16 Jan 2020 14:28:02 +0000 Original-Received: (at 37909-done) by debbugs.gnu.org; 16 Jan 2020 14:27:13 +0000 Original-Received: from localhost ([127.0.0.1]:36934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1is673-0004WK-SG for submit@debbugs.gnu.org; Thu, 16 Jan 2020 09:27:13 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:49570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1is66z-0004Vp-I2 for 37909-done@debbugs.gnu.org; Thu, 16 Jan 2020 09:27:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=O0PdxSks5zDlueEHMxfU6UiWmbxRmD2tsDTGUnTKN8o=; b=N5S0GbksDiI6W3XZoP9uq59GJj /6t9hIlDMVcHtIC1TRYPNBlDAZlhPBRSICt2vt+hEBt71h4dDYeAeDjJagnS7qGcAEGlV/IjFXUvh E016yp2ttPl8VeZcf8cpxEKQUGMfQnHfeqa1qvJVITZMkrT0bwOvdcQvMR7DrQ4RXO8/VbJ7QjeWQ a2gDdlhnor1xMcPHph2jQ/P8fRYEDJqpXsMXHc6WQky4byLK4KudW8ni08fVEF8TF/1YErtOZM3qR NBgwvysnJoawh67w7LRWqkMPnSRkZdmd+dBKphSrDp/J+5rWvO6VZUfA4bGMWoSzwJHd6Pt4bxW2o W6IZD3Ug==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:40228 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1is66s-000NtF-Va; Thu, 16 Jan 2020 09:26:59 -0500 In-Reply-To: <83o8y5w5dt.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 25 Oct 2019 12:17:50 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174716 Archived-At: Eli Zaretskii writes: >> Date: Thu, 24 Oct 2019 21:21:46 +0200 >> From: "Ulrich Windl" >> >> Trying to repeat the last yank 98 times using "C-u 98 M-x repeat" turned out >> that the last yank wasn't inserted 98 times, but the last character of the last >> yank (which is quite unexpected). Most preferrably as a vi-user I'd like C-u 98 >> C-y to yank the last kill 98 times, but things seem different. >> >> For the records: The last kill was "' '{L/R:D=I<1-49>C<6>S< >U} >> {L/R:D=I<0-9>}'", and the text inserted was >> "''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''". > > The doc string of 'repeat' says: > > Repeat most recently executed command. > If REPEAT-ARG is non-nil (interactively, with a prefix argument), > supply a prefix argument to that command. > > So "C-u 98 M-x repeat" invokes the _previous_ command, in your case > C-y, with the argument of 98. And the documentation of C-y says: > > With argument N, reinsert the Nth most recent kill. > > So it does NOT insert the most recent kill 98 times, it inserts the > 98th recent kill. > > Does this explain what you saw? If not, what remains unexplained or > unexpected? More information was requested, but none was given within 11 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas