From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25454: 25.1; improvement ftoopy-from-above-command Date: Sat, 27 Jul 2019 07:29:48 -0400 Message-ID: <87imrnvhoz.fsf@gmail.com> References: <871ryblq7w.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="62416"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) Cc: 25454@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 13:30: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 1hrKtu-000G8O-JL for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 13:30:10 +0200 Original-Received: from localhost ([::1]:45066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrKtt-0000WC-35 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 07:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36991) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrKto-0000RY-Gn for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrKtn-00036u-J6 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrKtn-00036S-Fy for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrKtn-0003jh-AA for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 11:30:03 +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.156422699714291 (code B ref 25454); Sat, 27 Jul 2019 11:30:03 +0000 Original-Received: (at 25454) by debbugs.gnu.org; 27 Jul 2019 11:29:57 +0000 Original-Received: from localhost ([127.0.0.1]:43737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKth-0003iR-Kr for submit@debbugs.gnu.org; Sat, 27 Jul 2019 07:29:57 -0400 Original-Received: from mail-io1-f53.google.com ([209.85.166.53]:42713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKtf-0003iE-Q7 for 25454@debbugs.gnu.org; Sat, 27 Jul 2019 07:29:56 -0400 Original-Received: by mail-io1-f53.google.com with SMTP id e20so79791867iob.9 for <25454@debbugs.gnu.org>; Sat, 27 Jul 2019 04:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=E+6gHV2VO7l/YPxH/UZQEIDnMrAfQ2+TQLNCo/xY9gc=; b=ccdwXkrrGmr/WQilDiIyI5AiuKDVhqtIpBlcwVlczsTEFrF5+lWk7dRxGdfdbWS1WA oqRFap0oMPPagOTf1QiRh6BTb3I/4vsrBe5Bus85Vk4Bp859roC895rdYZthysLzz0xK X5nVSX5od8dvEMOTajzkT+FHvLaQ3G+zM+NuQpmNMq8CE+Cb2YrcGaVOAho7Mg2/35tp +Ubym0uL5JqHuk5uwx0gFaRyP3CgadWp4F784fs8MJ/gbRMBede6FcfYSI9V99gVFMR8 vfcO+cehV60LCyIWSWLwGACSkrnImDtwa+jP/otRG03Yf03P4o6TqGagXDw1pSFTS+W3 xCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=E+6gHV2VO7l/YPxH/UZQEIDnMrAfQ2+TQLNCo/xY9gc=; b=YYt49ZgtM8SfligIydTCJRLmnfdFpY8fbOsdjmo5izSQ7m4qc/rEcqZE3mhV3QO/gJ l2HEdHBOYTJNLQM/m3nmIixYqXTal+K/TMeKY56+dNAzLzyoQAevQwxbR42NXqUZri4Q gjAat425B0gEMFELgjJkSlOS1rpHk4ThBJCp9kVFSY6Mp7T1YFnVno9AtLXVFLvUknBc 2/yzL3Kn3rv2aRbNVidZiVKGRSN9XNL06xw17mOq7xr72f6R287MX8791fBa8VaGIFID 9b0acIOIF/lOWLrMlHKnN+CqvnPXAj320fNgIYfSls2gJv18GKTzrtuZ7maXDCGYH36I M6mQ== X-Gm-Message-State: APjAAAUfkvHsUJZO7VwmogWJ0eCOhyripeBvvjNlxxEfyN0lxrZq0n66 Bvdv4GK4s20AerIP4NoF02NmnXb7 X-Google-Smtp-Source: APXvYqxQ3QvomB37jnQW6w/Xpf/1nkLvHZjDmowpbI27U2Gf5KyxeC7ycFSotagm579gg33c/bHRbQ== X-Received: by 2002:a02:bb05:: with SMTP id y5mr98898068jan.93.1564226989834; Sat, 27 Jul 2019 04:29:49 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id v13sm45569081ioq.13.2019.07.27.04.29.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Jul 2019 04:29:49 -0700 (PDT) In-Reply-To: <871ryblq7w.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 27 Jul 2019 12:35:47 +0200") 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:163846 Archived-At: Lars Ingebrigtsen writes: > Francesco Potort=C3=AC writes: > >> This is the version I use: >> >> it copies line from above as the stock one, but when called repeatedly >> it copies from further above lines. Moreover, when called with a >> numeric argument, increments all the numbers fund in the copied text by >> the argument. > > This seems pretty useful, but it's an incompatible change, since ARG is > currently: > > Copy ARG characters, but not past the end of that line. > > So I don't think this would be a candidate for inclusion in Emacs, but > perhaps it could be rewritten and made into a M/ELPA package? 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?