From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Date: Sun, 28 Jul 2019 23:50:25 +0300 Organization: LINKOV.NET Message-ID: <874l36tgza.fsf@mail.linkov.net> References: <871ryblq7w.fsf@mouse.gnus.org> <87imrnvhoz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="240327"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Noam Postavsky , 25454@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 23:24:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrqeH-0010Mg-ES for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 23:24:09 +0200 Original-Received: from localhost ([::1]:46876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrqeG-0004Sp-CF for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 17:24:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36968) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrqeB-0004SR-J7 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 17:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrqeA-0003DD-Lc for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 17:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrqeA-0003Ca-I3 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 17:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrqeA-0006q1-CG for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 17:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25454 X-GNU-PR-Package: emacs Original-Received: via spool by 25454-submit@debbugs.gnu.org id=B25454.156434902126239 (code B ref 25454); Sun, 28 Jul 2019 21:24:02 +0000 Original-Received: (at 25454) by debbugs.gnu.org; 28 Jul 2019 21:23:41 +0000 Original-Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrqdp-0006p9-KE for submit@debbugs.gnu.org; Sun, 28 Jul 2019 17:23:41 -0400 Original-Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:42205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrqdm-0006oy-Rz for 25454@debbugs.gnu.org; Sun, 28 Jul 2019 17:23:40 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A0EAF34126C; Sun, 28 Jul 2019 21:23:37 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (100-96-15-27.trex.outbound.svc.cluster.local [100.96.15.27]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0F498341B30; Sun, 28 Jul 2019 21:23:37 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sun, 28 Jul 2019 21:23:37 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Supply-Squirrel: 661e802930164f24_1564349017328_1226725453 X-MC-Loop-Signature: 1564349017328:1139956211 X-MC-Ingress-Time: 1564349017328 Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTP id 4BF8C7FD00; Sun, 28 Jul 2019 14:23:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=nZ/guibESKL9bdRjJhmiyOqefok=; b= rs2gf35WS3+PGxX5EkxDMGHe/Cty7CjMdXvADp+0NlBRBDBepI9yzq0Q0SQp9g/3 q4UbaGdVRPzLgS7A2cMBIQydBnMiZu+1WKhQ1YDrUcA6vuXvhg4ZLNQkA9DeFmQZ mFVuzHgvNvJWrXvm/GnrcpfDlqAaTndpDS9SMsjeA3Y= Original-Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 47E827FCF0; Sun, 28 Jul 2019 14:23:33 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a90 In-Reply-To: (Lars Ingebrigtsen's message of "Sat, 27 Jul 2019 13:32:20 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrkeelgdduieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehlrghrshhisehgnhhushdrohhrghenucevlhhushhtvghrufhiiigvpedt 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163991 Archived-At: >> Seems a bit small for a separate package. And the repeated call thing >> could be useful in itself. Couldn't the increment behaviour be enabled >> by a non-numeric argument instead? > > Hm... I guess that's possible. But the "copy the previous line but > increase the numbers" seems like a somewhat obscure thing to add to a > command like that, but perhaps I'm just not seeing the use case. What I do in these cases is copy the current line ARG times, and then use query-replace with \# to increment numbers. I prefer query-replace for its flexibility since numeric formats and initial numeric values vary wildly.