From unknown Sat Jun 21 03:11:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56418 <56418@debbugs.gnu.org> To: bug#56418 <56418@debbugs.gnu.org> Subject: Status: Add duplicate-dwim [PATCH] Reply-To: bug#56418 <56418@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:11:24 +0000 retitle 56418 Add duplicate-dwim [PATCH] reassign 56418 emacs submitter 56418 Mattias Engdeg=C3=A5rd severity 56418 wishlist tag 56418 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 04:29:46 2022 Received: (at submit) by debbugs.gnu.org; 6 Jul 2022 08:29:46 +0000 Received: from localhost ([127.0.0.1]:52210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o90Pp-0003gE-OF for submit@debbugs.gnu.org; Wed, 06 Jul 2022 04:29:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:53658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o90Pm-0003g4-E8 for submit@debbugs.gnu.org; Wed, 06 Jul 2022 04:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o90Pm-0001I2-79 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 04:29:42 -0400 Received: from mail155c50.megamailservers.eu ([91.136.10.165]:54184 helo=mail51c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o90Pj-0001IT-9u for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 04:29:41 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657096175; bh=B7exODcssxvmrmqbPMTYIhnTqVJ3tpqedQGiJoSPZCc=; h=From:Subject:Date:To:From; b=XCbq+Vu8K7iPPgJjt+2b60nvD+mq8uG7yUG8oBtW4+NICRZ74pILcNJzCa7ooyP7g GKIUZQlzHmGUlNjeE6vS/ur0rDZ+FWm4d9Kaf+Wn2f/5CsnggVwhIX+pzaXLX24gZV 8FPK/7PJ5MBrq8OvcPyZKG76D3JvuMVllUtGqdZw= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail51c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 2668TUCF021837 for ; Wed, 6 Jul 2022 08:29:34 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: multipart/mixed; boundary="Apple-Mail=_707EA524-5333-4660-A739-E74A2038E902" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Add duplicate-dwim [PATCH] Message-Id: <4D430D59-39C0-40DE-862F-FAE7103D1705@acm.org> Date: Wed, 6 Jul 2022 10:29:29 +0200 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F23.62C547EF.000E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.165; envelope-from=mattiase@acm.org; helo=mail51c50.megamailservers.eu X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_707EA524-5333-4660-A739-E74A2038E902 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii This patch adds duplicate-swim, a command that works like duplicate-line = but works on the region if active. It corresponds exactly to = upcase-dwim, downcase-dwim and capitalize-dwim which have become quite = popular. Rectangular regions are treated specially by duplicating on the = right-hand side. This behaviour turns out to be the most convenient one, = and is also confluent with that of ordinary regions when the rectangle = is only one line tall. --Apple-Mail=_707EA524-5333-4660-A739-E74A2038E902 Content-Disposition: attachment; filename=0001-Add-duplicate-dwim.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-duplicate-dwim.patch" Content-Transfer-Encoding: quoted-printable =46rom=20abff5e9e5edcf43c06ca9df2c8c51248f6904b3b=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Mon,=2020=20Jun=202022=2011:16:26=20+0200=0A= Subject:=20[PATCH]=20Add=20duplicate-dwim=0A=0ALike=20duplicate-line=20= but=20duplicates=20the=20region=20instead=20if=20active.=0ARectangular=20= regions=20are=20duplicated=20on=20the=20right-hand=20side.=0AThe=20= region=20remains=20active=20afterwards,=20to=20facilitate=20further=0A= duplication=20or=20other=20operations=20on=20the=20same=20text.=0A=0A*=20= lisp/rect.el=20(rectangle--duplicate-right):=0A*=20lisp/misc.el=20= (duplicate-dwim):=20New.=0A*=20test/lisp/misc-tests.el=20= (misc--duplicate-dwim):=20New=20test.=0A---=0A=20lisp/misc.el=20=20=20=20= =20=20=20=20=20=20=20=20|=2037=20+++++++++++++++++++++++++++++++++++++=0A= =20lisp/rect.el=20=20=20=20=20=20=20=20=20=20=20=20|=2021=20= +++++++++++++++++++++=0A=20test/lisp/misc-tests.el=20|=2038=20= ++++++++++++++++++++++++++++++++++++++=0A=203=20files=20changed,=2096=20= insertions(+)=0A=0Adiff=20--git=20a/lisp/misc.el=20b/lisp/misc.el=0A= index=2028c5d6e07f..a53571f463=20100644=0A---=20a/lisp/misc.el=0A+++=20= b/lisp/misc.el=0A@@=20-79,6=20+79,43=20@@=20duplicate-line=0A=20=20=20=20= =20=20=20(dotimes=20(_=20n)=0A=20=20=20=20=20=20=20=20=20(insert=20line=20= "\n")))))=0A=20=0A+(declare-function=20rectangle--duplicate-right=20= "rect"=20(n))=0A+=0A+;;=20`duplicate-dwim'=20preserves=20an=20active=20= region=20and=20changes=20the=20buffer=0A+;;=20outside=20of=20it:=20= disregard=20the=20region=20when=20immediately=20undoing=20the=0A+;;=20= actions=20of=20this=20command.=0A+(put=20'duplicate-dwim=20= 'undo-inhibit-region=20t)=0A+=0A+;;;###autoload=0A+(defun=20= duplicate-dwim=20(&optional=20n)=0A+=20=20"Duplicate=20the=20current=20= line=20or=20region=20N=20times.=0A+If=20the=20region=20is=20inactive,=20= duplicate=20the=20current=20line=20(like=20`duplicate-line').=0A= +Otherwise,=20duplicate=20the=20region,=20which=20remains=20active=20= afterwards.=0A+If=20the=20region=20is=20rectangular,=20duplicate=20on=20= its=20right-hand=20side.=0A+Interactively,=20N=20is=20the=20prefix=20= numeric=20argument,=20and=20defaults=20to=201."=0A+=20=20(interactive=20= "p")=0A+=20=20(unless=20n=0A+=20=20=20=20(setq=20n=201))=0A+=20=20(cond=0A= +=20=20=20;;=20Duplicate=20rectangle.=0A+=20=20=20((bound-and-true-p=20= rectangle-mark-mode)=0A+=20=20=20=20(rectangle--duplicate-right=20n)=0A+=20= =20=20=20(setq=20deactivate-mark=20nil))=0A+=0A+=20=20=20;;=20Duplicate=20= (contiguous)=20region.=0A+=20=20=20((use-region-p)=0A+=20=20=20=20(let*=20= ((beg=20(region-beginning))=0A+=20=20=20=20=20=20=20=20=20=20=20(end=20= (region-end))=0A+=20=20=20=20=20=20=20=20=20=20=20(text=20= (buffer-substring=20beg=20end)))=0A+=20=20=20=20=20=20(save-excursion=0A= +=20=20=20=20=20=20=20=20(goto-char=20end)=0A+=20=20=20=20=20=20=20=20= (dotimes=20(_=20n)=0A+=20=20=20=20=20=20=20=20=20=20(insert=20text))))=0A= +=20=20=20=20(setq=20deactivate-mark=20nil))=0A+=0A+=20=20=20;;=20= Duplicate=20line.=0A+=20=20=20(t=20(duplicate-line=20n))))=0A+=0A=20;;=20= Variation=20of=20`zap-to-char'.=0A=20=0A=20;;;###autoload=0Adiff=20--git=20= a/lisp/rect.el=20b/lisp/rect.el=0Aindex=20e717d2ac7e..c41a545e85=20= 100644=0A---=20a/lisp/rect.el=0A+++=20b/lisp/rect.el=0A@@=20-931,6=20= +931,27=20@@=20rectangle--unhighlight-for-redisplay=0A=20=20=20=20=20= (mapc=20#'delete-overlay=20(nthcdr=205=20rol))=0A=20=20=20=20=20(setcar=20= (cdr=20rol)=20nil)))=0A=20=0A+(defun=20rectangle--duplicate-right=20(n)=0A= +=20=20"Duplicate=20the=20rectangular=20region=20N=20times=20on=20the=20= right-hand=20side."=0A+=20=20(let=20((cols=20(rectangle--pos-cols=20= (point)=20(mark))))=0A+=20=20=20=20(apply-on-rectangle=0A+=20=20=20=20=20= (lambda=20(startcol=20endcol)=0A+=20=20=20=20=20=20=20(let=20((lines=20= (list=20nil)))=0A+=20=20=20=20=20=20=20=20=20(extract-rectangle-line=20= startcol=20endcol=20lines)=0A+=20=20=20=20=20=20=20=20=20(move-to-column=20= endcol=20t)=0A+=20=20=20=20=20=20=20=20=20(dotimes=20(_=20n)=0A+=20=20=20= =20=20=20=20=20=20=20=20(insert=20(cadr=20lines)))))=0A+=20=20=20=20=20= (region-beginning)=20(region-end))=0A+=20=20=20=20;;=20Recompute=20the=20= rectangle=20state;=20no=20crutches=20should=20be=20needed=20now.=0A+=20=20= =20=20(let=20((p=20(point))=0A+=20=20=20=20=20=20=20=20=20=20(m=20= (mark)))=0A+=20=20=20=20=20=20(rectangle--reset-crutches)=0A+=20=20=20=20= =20=20(goto-char=20m)=0A+=20=20=20=20=20=20(move-to-column=20(cdr=20= cols)=20t)=0A+=20=20=20=20=20=20(set-mark=20(point))=0A+=20=20=20=20=20=20= (goto-char=20p)=0A+=20=20=20=20=20=20(move-to-column=20(car=20cols)=20= t))))=0A+=0A=20(provide=20'rect)=0A=20=0A=20;;;=20rect.el=20ends=20here=0A= diff=20--git=20a/test/lisp/misc-tests.el=20b/test/lisp/misc-tests.el=0A= index=20a56feaa049..f84827ab02=20100644=0A---=20= a/test/lisp/misc-tests.el=0A+++=20b/test/lisp/misc-tests.el=0A@@=20-96,5=20= +96,43=20@@=20misc--duplicate-line=0A=20=20=20=20=20(should=20(equal=20= (buffer-string)=20"abc\nabc\n"))=0A=20=20=20=20=20(should=20(equal=20= (point)=202))))=0A=20=0A+(require=20'rect)=0A+=0A+(ert-deftest=20= misc--duplicate-dwim=20()=0A+=20=20;;=20Duplicate=20a=20line.=0A+=20=20= (with-temp-buffer=0A+=20=20=20=20(insert=20"abc\ndefg\nh\n")=0A+=20=20=20= =20(goto-char=207)=0A+=20=20=20=20(duplicate-dwim=202)=0A+=20=20=20=20= (should=20(equal=20(buffer-string)=20"abc\ndefg\ndefg\ndefg\nh\n"))=0A+=20= =20=20=20(should=20(equal=20(point)=207)))=0A+=0A+=20=20;;=20Duplicate=20= a=20region.=0A+=20=20(with-temp-buffer=0A+=20=20=20=20(insert=20= "abc\ndef\n")=0A+=20=20=20=20(set-mark=202)=0A+=20=20=20=20(goto-char=20= 7)=0A+=20=20=20=20(transient-mark-mode)=0A+=20=20=20=20(should=20= (use-region-p))=0A+=20=20=20=20(duplicate-dwim)=0A+=20=20=20=20(should=20= (equal=20(buffer-string)=20"abc\ndebc\ndef\n"))=0A+=20=20=20=20(should=20= (equal=20(point)=207))=0A+=20=20=20=20(should=20(region-active-p))=0A+=20= =20=20=20(should=20(equal=20(mark)=202)))=0A+=0A+=20=20;;=20Duplicate=20= a=20rectangular=20region.=0A+=20=20(with-temp-buffer=0A+=20=20=20=20= (insert=20"x\n>a\n>bcde\n>fg\nyz\n")=0A+=20=20=20=20(goto-char=204)=0A+=20= =20=20=20(rectangle-mark-mode)=0A+=20=20=20=20(goto-char=2015)=0A+=20=20=20= =20(rectangle-forward-char=201)=0A+=20=20=20=20(duplicate-dwim)=0A+=20=20= =20=20(should=20(equal=20(buffer-string)=20"x\n>a=20=20a=20=20= \n>bcdbcde\n>fg=20fg=20\nyz\n"))=0A+=20=20=20=20(should=20(equal=20= (point)=2024))=0A+=20=20=20=20(should=20(region-active-p))=0A+=20=20=20=20= (should=20rectangle-mark-mode)=0A+=20=20=20=20(should=20(equal=20(mark)=20= 4))))=0A+=0A=20(provide=20'misc-tests)=0A=20;;;=20misc-tests.el=20ends=20= here=0A--=20=0A2.32.0=20(Apple=20Git-132)=0A=0A= --Apple-Mail=_707EA524-5333-4660-A739-E74A2038E902-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 06:45:28 2022 Received: (at control) by debbugs.gnu.org; 6 Jul 2022 10:45:28 +0000 Received: from localhost ([127.0.0.1]:52609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o92XA-0003vi-Gf for submit@debbugs.gnu.org; Wed, 06 Jul 2022 06:45:28 -0400 Received: from mail-pl1-f174.google.com ([209.85.214.174]:41861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o92X8-0003oM-FJ for control@debbugs.gnu.org; Wed, 06 Jul 2022 06:45:27 -0400 Received: by mail-pl1-f174.google.com with SMTP id j12so6539281plj.8 for ; Wed, 06 Jul 2022 03:45:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=2G+8mhBAuN3FX5B33BK8RIKU8C/ud09IZI+6k6Wg3l8=; b=jntUewwxwZoN1YNZCdvP24oNXrmdV0L0YCWPyC0gXjuffRBJi2LhKJFvyIznquYvly jNGRasPxfL5/kW20eoSIlUrN4QettBs6gNxFYCD1X5N9egdyMabc3cBAvMwsig6iybi7 irIEpueT+jeVI6ftXXq+0iOsYU6+XjB2LhS11Kfw3cwRdufWQaO7PfwhdpA4U/edn4mL PVH3cfVT+RqPFQxgu5PujWhTjYq5UBFKTqmAj7sLQ/TwwB3p0kvQjfBj/nwCQEf1Ab5D fCYxiC71fjQAbqCj9mzv2n7rI7qBhsoroD65pIFZTqVOXVZ/al3nBfXPBl+dNjFOAiQ0 K+Fw== X-Gm-Message-State: AJIora8R0JYuUEHe+gyzo3VxSyo97t0k1gNffR13OHWXQNPbK1ijxR66 kcFBtcu7qVUdDSbOy1TAJs4iZ8e3BQTMObcqym1uEZS3 X-Google-Smtp-Source: AGRyM1v8BVMYetg2YEDwqSuFXEXkvacUvpgqKs8Kn3XssjuBf9Pw/ci4YTLq7MR20Pqblgy00mO+X8rLPAwtcNamQjA= X-Received: by 2002:a17:903:2444:b0:16b:917e:3b04 with SMTP id l4-20020a170903244400b0016b917e3b04mr44569874pls.145.1657104320743; Wed, 06 Jul 2022 03:45:20 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 Jul 2022 03:45:20 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 6 Jul 2022 03:45:20 -0700 Message-ID: Subject: control message for bug #56418 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) severity 56418 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 06:05:34 2022 Received: (at 56418) by debbugs.gnu.org; 8 Jul 2022 10:05:34 +0000 Received: from localhost ([127.0.0.1]:58881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9krd-0006Si-QD for submit@debbugs.gnu.org; Fri, 08 Jul 2022 06:05:34 -0400 Received: from mail1448c50.megamailservers.eu ([91.136.14.48]:54024 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kra-0006S9-7J for 56418@debbugs.gnu.org; Fri, 08 Jul 2022 06:05:33 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657274723; bh=g0NOmXC+R9cCqcojQaXSvr8u9PJojZbnZrMckfmJMoo=; h=From:Subject:Date:To:From; b=A+JPwgwyQzTWp9sgQKkPCzye1X6uWmvnXlGBz75RcijP2iTL4nDNZw7g5FQLN3xJ7 EroG0WQ48qbQL19wTAzcLk/R2OlCXgMOPoccWwDBSGhGdGLJrkKvp/93/QwQQayXO0 VbtmkOdFI91Ux5C+iVlssp4UP9wcFFFh0+c3CsOs= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 268A5LZm113453 for <56418@debbugs.gnu.org>; Fri, 8 Jul 2022 10:05:23 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: bug#56418: Add duplicate-dwim [PATCH] Message-Id: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> Date: Fri, 8 Jul 2022 12:05:21 +0200 To: 56418@debbugs.gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F1A.62C80163.0050, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The patch didn't include any changes to the manual because neither `duplicate-line` nor `upcase-dwim` appear there, but perhaps they should, too? Please advise. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56418 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The patch didn't include any changes to the manual because neither = `duplicate-line` nor `upcase-dwim` appear there, but perhaps they = should, too? Please advise. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 08:26:24 2022 Received: (at 56418-done) by debbugs.gnu.org; 26 Jul 2022 12:26:25 +0000 Received: from localhost ([127.0.0.1]:52498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJdm-00011j-F7 for submit@debbugs.gnu.org; Tue, 26 Jul 2022 08:26:24 -0400 Received: from mail33c50.megamailservers.eu ([91.136.10.43]:33018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJdf-00011Q-UE for 56418-done@debbugs.gnu.org; Tue, 26 Jul 2022 08:26:21 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1658838374; bh=CgF804KiyrSdjqsl7D1UEQ1r9w1SGTL0kD7ywvs/dd8=; h=From:Subject:Date:References:To:In-Reply-To:From; b=dy3l4ywxYMriwMWG0yZFq4UTIsabPZVXVvz+LfmM9mwx0C2wG+Xic8Z1aKUjUNpeh Dbs5zAvij0Svgqo3NliZdDTPBAfPhs0es8J8p6kXQ6UkKU5hDvv2j8/svBEV9ACjFM VKeNtnJKMICDTIWCJj9MHVSb2eFa2xDmO2J35usY= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150.188-179.bredband.tele2.se [188.150.188.179] (may be forged)) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 26QCQC81100688 for <56418-done@debbugs.gnu.org>; Tue, 26 Jul 2022 12:26:14 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] Date: Tue, 26 Jul 2022 14:26:11 +0200 References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> To: 56418-done@debbugs.gnu.org In-Reply-To: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> Message-Id: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F24.62DFDD66.003B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: No objections, which is not surprising given the precedence; pushed to master. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [91.136.10.43 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 MAY_BE_FORGED Relay IP's reverse DNS does not resolve to IP X-Debbugs-Envelope-To: 56418-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) No objections, which is not surprising given the precedence; pushed to = master. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 08:47:12 2022 Received: (at 56418) by debbugs.gnu.org; 26 Jul 2022 12:47:13 +0000 Received: from localhost ([127.0.0.1]:52566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJxw-0003sD-Nu for submit@debbugs.gnu.org; Tue, 26 Jul 2022 08:47:12 -0400 Received: from mail-ua1-f53.google.com ([209.85.222.53]:41697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGJxt-0003rt-Ny; Tue, 26 Jul 2022 08:47:11 -0400 Received: by mail-ua1-f53.google.com with SMTP id j3so1052126uan.8; Tue, 26 Jul 2022 05:47:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fz67gC7RXPzrW8pignelUbMXEuKTyZO5KYX197tlLfE=; b=mhjDTpMkjFn6SdFi07yw+Fj3FAPFjI9PB0fMa7QC2w23Iovg8JTJ2nmGSoFT+4QDXa 2FaJ5KgFodNoyVeLWP6ztiqSQz0iltGZdPwdJUUuX8/njDtutywIZ8jWejw5Kyp4HySn cHdip11UopDZ2nG4nSFN/2Mxatf6RdEfOz6vrxzOHGS2KR/d9khTn+426rcg99AMdIVL 88vqWE7chMBoOedtTp7dlN1A9Ag53roCdrr49qLI3elNae571m4V+dgyWXbGeVIbfPou XMVobpGSikQETMIz3/Bbc/0nq9GsiJb+wTgx7jA/OaUjCNxEK/YxoB9CJuQQRNjn4m9U O6WA== X-Gm-Message-State: AJIora9DBnsGIFqIoohI0kg7oPIAcfvlCKbe76sTEqTIF1sjbe/vgRCL mflOEFPm+NODqMeUre7dKcV/deoBSL4xxKfRXipxsQgM X-Google-Smtp-Source: AGRyM1v4GQsuoLFQHWfRA0V9iwsBrRHsPMEl86rUsfX689Lkzj1uufT87be9xzIvetSeNOrt8mbsxT9z/jFWfXevdbw= X-Received: by 2002:ab0:35ed:0:b0:384:b940:92f3 with SMTP id w13-20020ab035ed000000b00384b94092f3mr2068623uau.48.1658839623175; Tue, 26 Jul 2022 05:47:03 -0700 (PDT) MIME-Version: 1.0 References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> In-Reply-To: From: Stefan Kangas Date: Tue, 26 Jul 2022 14:46:51 +0200 Message-ID: Subject: Re: bug#56418: Add duplicate-dwim [PATCH] To: 56418@debbugs.gnu.org, =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 56418 Cc: 56418-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) How about simply replacing 'duplicate-line' with 'duplicate-dwim'? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 08:57:11 2022 Received: (at 56418) by debbugs.gnu.org; 26 Jul 2022 12:57:11 +0000 Received: from localhost ([127.0.0.1]:52600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGK7b-0004D1-5F for submit@debbugs.gnu.org; Tue, 26 Jul 2022 08:57:11 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:41800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGK7W-0004CR-7a for 56418@debbugs.gnu.org; Tue, 26 Jul 2022 08:57:09 -0400 Received: by mail-wr1-f43.google.com with SMTP id q18so9606763wrx.8 for <56418@debbugs.gnu.org>; Tue, 26 Jul 2022 05:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=KI3Jk/f8GQ9RddogWVwJpq9X0vZjpQYij+Ay2YhDFp8=; b=YBKbPOTgSBLf1DGDH1o4Zu7+l1JnzhURfge+/8A3rTyiz/xmMZoZOuWYGpGEqvXykR CaPHjIj3LhR3WswrmVuy5xw/IfIJmCOziQ2aN3mSEvZPRribNc7sPl4WEr585mmQXm8L +gDVh+v9Q4+TB8wGoEquF6U7sI/SCaPf+743MSrC+SIyEXrXslu/1/cWm7ssHdFb3d9Q otYLzirw4DrP3OYd0VT5KB6LNvoY10nEFMFlf1BsY227RSclU13sT2oDKGu0n+MoSaC5 n4Hn7WzSVSc6GeZmsEM0kFn+HdswrJq4INtkIyje1JqYEVdExQv+Vczr19gT9GL8+a4Q lBOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=KI3Jk/f8GQ9RddogWVwJpq9X0vZjpQYij+Ay2YhDFp8=; b=bgDv97b/lBi1j2gzvGI26rDxlGwmItTJdZiIKgXFsGOGDvPxMmVqTVGHDRlLZTbqsQ UP15z7UuQ6E96bf63qUzXfuSXBvBsqGlJjIHSup3+/p5mMZvk7INCQVWuuXW/aTKpHvl ZLT2dclXXu6sWJZoEQ12QoPJGjU903jYA63WfrjIPUrQ3GA/K34NKCtyTGviojFZOlAI us6sREdRAXm/kjdwb3PjgtEKhkV219DrxPIKkOS8ujHvN/ZvSYGz7K+52t5P/VkZMqCU W+SY0vWFzj1aPmEt5v7W3da7ChSfuDBJLpvcRAjdG2Yx6HGxq8Z07i3DLG+RDYH0WGPs B1CA== X-Gm-Message-State: AJIora9E8rLjPBRVRNGdBx98TmLu3kC8v5x/pOwQwbOz8NTKboBu1qOy Wfry/i3ZQ1z4b2Pe93S/UlU= X-Google-Smtp-Source: AGRyM1vk+bcgfcczYsFWhOljMwqn3VlwdxTRHSbsHL7oML2NchtCbPfmDuEKIZHvk1yTF7YAf3fDug== X-Received: by 2002:a5d:6dc9:0:b0:21e:6e6d:f3da with SMTP id d9-20020a5d6dc9000000b0021e6e6df3damr9854792wrz.234.1658840220273; Tue, 26 Jul 2022 05:57:00 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:7834:6702:759c:618d]) by smtp.gmail.com with ESMTPSA id a7-20020adffac7000000b0021e3e73dec6sm17215087wrs.72.2022.07.26.05.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 05:56:59 -0700 (PDT) From: Robert Pluim To: Stefan Kangas Subject: Re: bug#56418: Add duplicate-dwim [PATCH] In-Reply-To: (Stefan Kangas's message of "Tue, 26 Jul 2022 14:46:51 +0200") References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> Date: Tue, 26 Jul 2022 14:56:59 +0200 Message-ID: <87tu746nhg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56418 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Tue, 26 Jul 2022 14:46:51 +0200, Stefan Kangas said: Stefan> How about simply replacing 'duplicate-line' with Stefan> 'duplicate-dwim'? I think both have merit, sometimes I just want to duplicate a line with worrying about the region. -- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 27 05:01:50 2022 Received: (at 56418) by debbugs.gnu.org; 27 Jul 2022 09:01:50 +0000 Received: from localhost ([127.0.0.1]:55081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGcvN-00042n-Rh for submit@debbugs.gnu.org; Wed, 27 Jul 2022 05:01:50 -0400 Received: from mail1443c50.megamailservers.eu ([91.136.14.43]:34762 helo=mail264c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGcvL-00042O-FV for 56418@debbugs.gnu.org; Wed, 27 Jul 2022 05:01:48 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1658912499; bh=zX33SjLGD03SzPSFs/j3Uj5vhFOETFPIfmya9VJqQsU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=gX0sp2d9ffItjy2cXfkFZqrv44Kp3XO6gQmUBPGkvJ3jHKvXLylOJm3EEN06RJkE6 UTaoBL7ej48J3j+jS4Fckb1TDbM+Fc5bijrRraJIEqZyTXQqBsvq6BCHIKyU4P7Fnr Yo9pRbppYYw6Rar3A4j+5NftsjItIocgFPCYNJto= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150.188-179.bredband.tele2.se [188.150.188.179] (may be forged)) (authenticated bits=0) by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 26R91b5j046075; Wed, 27 Jul 2022 09:01:38 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <87tu746nhg.fsf@gmail.com> Date: Wed, 27 Jul 2022 11:01:36 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> To: Robert Pluim X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F22.62E0FEF3.008C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 26 juli 2022 kl. 14.56 skrev Robert Pluim : > Stefan> How about simply replacing 'duplicate-line' with > Stefan> 'duplicate-dwim'? > > I think both have merit, sometimes I just want to duplicate a line > with worrying about the region. Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 MAY_BE_FORGED Relay IP's reverse DNS does not resolve to IP 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56418 Cc: 56418@debbugs.gnu.org, Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 26 juli 2022 kl. 14.56 skrev Robert Pluim : > Stefan> How about simply replacing 'duplicate-line' with > Stefan> 'duplicate-dwim'? >=20 > I think both have merit, sometimes I just want to duplicate a line > with worrying about the region. While I have no particular wish to revisit this now, I will note that: * Having two functions makes it harder to supply an standard key = binding: we would have to select one of them since spending two key = bindings is out of the question. * As many other users I've bound M-u to upcase-dwim (etc) and not once = has it bothered me that I can't upcase a word while marking a region. * I'm not aware of any complaints whatsoever that the standard bindings = for M-; and backspace force users to "worry about the region",=20 However, peace and consensus is of higher importance and as far as I'm = concerned this bug is closed, at least for now. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 28 23:54:46 2022 Received: (at 56418) by debbugs.gnu.org; 29 Jul 2022 03:54:46 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHH5K-0004ho-0p for submit@debbugs.gnu.org; Thu, 28 Jul 2022 23:54:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHH5H-0004hV-Ix for 56418@debbugs.gnu.org; Thu, 28 Jul 2022 23:54:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHH5C-0006NU-77; Thu, 28 Jul 2022 23:54:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=Pg7m1gt+NO39QLqKk47+Fia2OtNw8ZIvIMRwRCHPB3c=; b=doEUon5QXbdP SaHoyAt97jGPXg3J5y/Rmea5uRYYZJFlk6X8c++qCo0F5Z6UQf/Vyl+XLV9DTtG9GeTeV346WfxE5 xhvzxYm5RGGd9e/xfrnMWkas/4fLnluzoMN+aV4fsJK5+hTNqsm+yIqKpl8X+q+kvedofKOMLQdUF vJOhuXHd0BmzbXEFfUtQoUH01tCH6EuSfpjRGnWBDM5z/ZBmPY7GU2PTPYQKzi6LEjAyUznM47xQc U9y+rGCwh7vabzynsJlbbD/5jnFzzLWcfq+lVqTMxZY/SeftvRkgNXatoA5AADLTOLXcGT357qlk+ +smlmnLN11ouJRSXvl42Dw==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oHH5A-0003qf-38; Thu, 28 Jul 2022 23:54:37 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Mattias =?iso-8859-1?Q?Engdeg=C3=A5rd?= In-Reply-To: <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> (message from Mattias =?iso-8859-1?Q?Engdeg=C3=A5rd?= on Wed, 27 Jul 2022 11:01:36 +0200) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> Message-Id: Date: Thu, 28 Jul 2022 23:54:36 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56418 Cc: 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] What is the difference between duplicate-dwim and duplicate-line? (To minimize duplicate replies, please don't reply unless you're Mattias.) -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 29 02:11:36 2022 Received: (at 56418) by debbugs.gnu.org; 29 Jul 2022 06:11:36 +0000 Received: from localhost ([127.0.0.1]:59756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHJDj-0000CR-Vi for submit@debbugs.gnu.org; Fri, 29 Jul 2022 02:11:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHJDh-0000CE-RI for 56418@debbugs.gnu.org; Fri, 29 Jul 2022 02:11:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHJDc-0008N6-Kl; Fri, 29 Jul 2022 02:11:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0+PFY+4vxfaP/T1nADlQdTdXnM6+N8vgHKmmL4SZE0Q=; b=b8Fo6MnhTxTV AMzB8X4ZWjzh/k0FP/3eQC9un/glapZiV0nLiKC9XeHyEFX6qPWHvxdKoDpQSH14bNinDg1p9qso/ STlItApXVTnSQvGjFhKPOjm6clHUmSLkS3lJitShZe2RT/QILJ6IXeZ3C8GjBQt+Qz1EZK7baU37U ZagKpdxtB0q/AanW4JNClnIrET9IRVgDvuTRO7900I3q79L4GHg2QnQKZuuMta7q7sgvDVDkDe5p8 izBzSe20VjfnzuMqzOlehIFjtPfg0BEyhGYhp7mV7hH65wJrlfVsRbB29jGrpKTce/YHYMD3ExtH9 c9hANJ7pDLCxo0myADmyNg==; Received: from [87.69.77.57] (port=1281 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHJDW-0000tB-E3; Fri, 29 Jul 2022 02:11:23 -0400 Date: Fri, 29 Jul 2022 09:11:34 +0300 Message-Id: <83a68s8n3d.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org In-Reply-To: (message from Richard Stallman on Thu, 28 Jul 2022 23:54:36 -0400) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56418 Cc: mattiase@acm.org, 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56418@debbugs.gnu.org > From: Richard Stallman > Date: Thu, 28 Jul 2022 23:54:36 -0400 > > What is the difference between duplicate-dwim and duplicate-line? > > (To minimize duplicate replies, please don't reply unless you're > Mattias.) How about dwim replies, do they have to be minimized as well? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 04:36:20 2022 Received: (at 56418) by debbugs.gnu.org; 31 Jul 2022 08:36:20 +0000 Received: from localhost ([127.0.0.1]:36361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI4Qu-0006US-Ff for submit@debbugs.gnu.org; Sun, 31 Jul 2022 04:36:20 -0400 Received: from mail151c50.megamailservers.eu ([91.136.10.161]:57414 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI4Qs-0006UH-Jz for 56418@debbugs.gnu.org; Sun, 31 Jul 2022 04:36:20 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1659256576; bh=7Gai4yhQTAOFSls4bv5ARpncabwfVuFacmOnTmjwraE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=F1MU2JbvefngVFRiKgRD9OQUobqywOMP0RaS0nVA5CSHx4lc5VQbgtOTNoEyiC1jk sTz9sbQSTilwNlUASDGkRWuEsEU+EhNbDggkOLFsGKb4Kcn9E386YvEU7l6zJRS9xF wpkCvjU/LOTIQoeM7xsIhkSJPTWJU92Be5kiMiLY= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150.188-179.bredband.tele2.se [188.150.188.179] (may be forged)) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 26V8aCsI045990; Sun, 31 Jul 2022 08:36:15 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Sun, 31 Jul 2022 10:36:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <85C9DBAF-34D2-433F-9CB2-D783E2B6B9D1@acm.org> References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> To: rms@gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F22.62E63F00.004E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 29 juli 2022 kl. 05.54 skrev Richard Stallman : > What is the difference between duplicate-dwim and duplicate-line? Roughly, duplicate-dwim is to duplicate-line as upcase-dwim is to upcase-word. Ie, the -dwim commands operate on the region if active. Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 MAY_BE_FORGED Relay IP's reverse DNS does not resolve to IP 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56418 Cc: 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 29 juli 2022 kl. 05.54 skrev Richard Stallman : > What is the difference between duplicate-dwim and duplicate-line? Roughly, duplicate-dwim is to duplicate-line as upcase-dwim is to = upcase-word. Ie, the -dwim commands operate on the region if active. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 23:33:31 2022 Received: (at 56418) by debbugs.gnu.org; 1 Aug 2022 03:33:31 +0000 Received: from localhost ([127.0.0.1]:38907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIMBO-0006c9-L6 for submit@debbugs.gnu.org; Sun, 31 Jul 2022 23:33:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIMBM-0006bu-97 for 56418@debbugs.gnu.org; Sun, 31 Jul 2022 23:33:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIMBH-0000Fq-1D; Sun, 31 Jul 2022 23:33:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=mTFyekjgwLoEQW5B2deda643tpkWAl29PfBKFgYlqnk=; b=UOLuMrOvRGJu 3Vjltqw3v2q2CFIaZCbcOxbz4U8yAwqFuTzOI58DpPd+DH6ZjGPm6NrG7Uki65N70Y53UtbDn3v4D TMFG11hJbVraUf/bq77UGaKNQ7dvyZOzNcXgyHW+kmdA8EdHRBcVeG52l07cznheIA6UXDmlf53XZ n6PzJ7pDmX7Z45yI4RRP23Cq1V6O1p/0b2uNL0vkPksdrBDZSr5FjYvxgjQkY9O5yXYoc2zLiiP0X Uxni3+nQruScI7KvXEDBsSuiQ3OqaltqZbQmecQ41gwn9BZzDjWlI9iWsqSRMfOdS6TRzvU+cA8rZ uElv+OazrW/4YwF22PQ3xw==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oIMBG-0003ZS-A0; Sun, 31 Jul 2022 23:33:22 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Mattias =?iso-8859-1?Q?Engdeg=C3=A5rd?= In-Reply-To: <85C9DBAF-34D2-433F-9CB2-D783E2B6B9D1@acm.org> (message from Mattias =?iso-8859-1?Q?Engdeg=C3=A5rd?= on Sun, 31 Jul 2022 10:36:11 +0200) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> <85C9DBAF-34D2-433F-9CB2-D783E2B6B9D1@acm.org> Message-Id: Date: Sun, 31 Jul 2022 23:33:22 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56418 Cc: 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Roughly, duplicate-dwim is to duplicate-line as upcase-dwim is to upcase-word. Ie, the -dwim commands operate on the region if active. I think there are already several commands that operate on the region if it is active, otherwise on some other textual unit. Would it be bad for duplicate-line to do this? Then we wouldn't need a separate duplicate-dwim. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 01 07:30:24 2022 Received: (at 56418) by debbugs.gnu.org; 1 Aug 2022 11:30:25 +0000 Received: from localhost ([127.0.0.1]:39485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oITcu-0007f3-B8 for submit@debbugs.gnu.org; Mon, 01 Aug 2022 07:30:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oITcp-00079N-Lc for 56418@debbugs.gnu.org; Mon, 01 Aug 2022 07:30:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oITck-000666-5l; Mon, 01 Aug 2022 07:30:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jmU0Lf7FFxutA5z8IJUeoihfG9ow+zDaAzKHqPEaeRQ=; b=hyZ6xGCSs0cg 9//0jCWLxqOFSRMq1BhHOBMuAvhCfFua/CUWb1tAvAPoeagVRbYuBqLKnc0UTXTXZ86a3r6TaZGdQ c6bwwYqdulO63lJaJUYn09LF+kiMp8joPRdQE90xfrQtSv95K6RY3MqZIpVLmH91izN6TpEFdzfoZ 3PncORqKqniGZ74sxS+doGf94g+o7NY5TPgqCdA3Ok1eponhSX/phCRd+NaGyh8g4WaABUd7PW8eb 0O653JbF/w7gXNxCOH9yI4P9pioZrvGlkVWN90vIWpxZ0DiaAu7bEmWni7zQpFfjy/jvEf5/Flvdp ccc6Bq/zy4R9sRWf72DI5A==; Received: from [87.69.77.57] (port=3909 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oITca-0004dJ-38; Mon, 01 Aug 2022 07:30:04 -0400 Date: Mon, 01 Aug 2022 14:29:52 +0300 Message-Id: <8335eg42xb.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org In-Reply-To: (message from Richard Stallman on Sun, 31 Jul 2022 23:33:22 -0400) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> <85C9DBAF-34D2-433F-9CB2-D783E2B6B9D1@acm.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56418 Cc: mattiase@acm.org, 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56418@debbugs.gnu.org > From: Richard Stallman > Date: Sun, 31 Jul 2022 23:33:22 -0400 > > > Roughly, duplicate-dwim is to duplicate-line as upcase-dwim is to upcase-word. Ie, the -dwim commands operate on the region if active. > > I think there are already several commands that operate on the region > if it is active, otherwise on some other textual unit. Would it be > bad for duplicate-line to do this? Then we wouldn't need a separate > duplicate-dwim. That was suggested, but turned out to be too controversial. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 00:01:35 2022 Received: (at 56418) by debbugs.gnu.org; 4 Aug 2022 04:01:35 +0000 Received: from localhost ([127.0.0.1]:50711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJS3C-00029v-Ko for submit@debbugs.gnu.org; Thu, 04 Aug 2022 00:01:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJS3A-00029f-55 for 56418@debbugs.gnu.org; Thu, 04 Aug 2022 00:01:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJS34-0007bO-L0; Thu, 04 Aug 2022 00:01:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=iQHgjPYleLyMTMuNY+1cRaFHgF+R1QC3IvypPLzwTEI=; b=UJ7jkX5o724z 1by7S95MTQQjpwCur1zBMjRzcYRkSF/XTNPDjnUoLOhzGEem3iTDO083uLloO4qXcYwiw8QXGL32V 97/zAhIauWlEtPNXpDRJwKsQ6zXgNj8jDA46a83f/iVi9DRLRDhozk+KPtIGRVbK7CO4jTU+Sbjrv uY9E2wcgpUlqYZ1niHERcaK8QJ966TXvo2B9c/Xry+nXb8O+h3Gy13+58BG5PHCqUJ+mt++pyOzoW TMrhK4FH7yJoXp768MqKPyjeYTn7+sZo/+5YVe06NuSZLoGGR+ZH6heMkvYZwxdRHGBh9RJy3qrOo A/KtGvxyiUW4xZLaZCZNjA==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oJS33-0004Vi-7D; Thu, 04 Aug 2022 00:01:25 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-Reply-To: <83a68s8n3d.fsf@gnu.org> (message from Eli Zaretskii on Fri, 29 Jul 2022 09:11:34 +0300) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> <83a68s8n3d.fsf@gnu.org> Message-Id: Date: Thu, 04 Aug 2022 00:01:25 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56418 Cc: mattiase@acm.org, 56418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I've seen no cogent argument against making `duplicate-line' operate on the region when that is active. Someone presented this argument, Simen proposed something quite similar (added to the CCs), and my only objection was that the semantics of the simpler command is quite clear -- it always creates a new line, even if we're at a final line in a buffer without a newline. When dealing with regions, it's not quite clear what the semantics should be in those corner cases (i.e., regions that doesn't end with a newline)... but "duplicate the region" is totally clear, if interpreted strictly: Not much of a edge case, is it? If you select "bon" and duplicate you = end up with "bonbon", as promised. The practical question is, which way will people find more convenient to use? Making `duplicate-line' region-sensitive would enable people to do both operations with one key binding. That is clearly a plus. Good key bindings are scarce and they take up space in the mind. Making `duplicate-line' region-sensitive could lead to surprises when the region is active, for a user who only ever uses it to duplicate lines. That is clearly a minus -- but how big is it in practice? If we can only spare one binding for this, which behavior should that binding have? I suggest we define `duplicate-lines' with an option to control whether it is region-sensitive, so that people can try it both ways and tell us which way they like better. Then we could set the default for that option accordingly. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 14:43:42 2022 Received: (at 56418) by debbugs.gnu.org; 4 Aug 2022 18:43:42 +0000 Received: from localhost ([127.0.0.1]:54938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJfor-0000bk-W4 for submit@debbugs.gnu.org; Thu, 04 Aug 2022 14:43:42 -0400 Received: from mail171c50.megamailservers.eu ([91.136.10.181]:34888 helo=mail92c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJfop-0000bX-63 for 56418@debbugs.gnu.org; Thu, 04 Aug 2022 14:43:41 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1659638617; bh=o4ibROnUbucQsE+9/zqX+slE6XdAlNUguHqkcL4nM48=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=IK4pDLCHi4cHGogUCHLrXNR3vPM5WlUFInMK9ultrFONmJodpHNIGZLVNC9vda+Ps /1TSpaiVJcZAe/l8VUWdRROletB6umuEVE8ASDfsDgpNWnQwm2zies8PJGSC49XHl/ 6+zlYGY/zqlW3lFlVqAVWAKEhQpdgSeMcA/2n8ZA= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150.188-179.bredband.tele2.se [188.150.188.179] (may be forged)) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 274IhXN5068602; Thu, 4 Aug 2022 18:43:36 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56418: Add duplicate-dwim [PATCH] From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Thu, 4 Aug 2022 20:43:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> <83a68s8n3d.fsf@gnu.org> To: rms@gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F17.62EC1359.000B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 4 aug. 2022 kl. 06.01 skrev Richard Stallman : > I suggest we define `duplicate-lines' with an option to control > whether it is region-sensitive, so that people can try it both ways > and tell us which way they like better. Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 MAY_BE_FORGED Relay IP's reverse DNS does not resolve to IP 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56418 Cc: Eli Zaretskii , 56418@debbugs.gnu.org, Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 4 aug. 2022 kl. 06.01 skrev Richard Stallman : > I suggest we define `duplicate-lines' with an option to control > whether it is region-sensitive, so that people can try it both ways > and tell us which way they like better. I wouldn't mind but it's not a change I can make unilaterally. The = present solution did not require changes to `duplicate-line`. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 07:08:18 2022 Received: (at 56418) by debbugs.gnu.org; 16 Aug 2022 11:08:18 +0000 Received: from localhost ([127.0.0.1]:45090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNuQj-0003wS-Ua for submit@debbugs.gnu.org; Tue, 16 Aug 2022 07:08:18 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:40896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNuQh-0003wF-HW for 56418@debbugs.gnu.org; Tue, 16 Aug 2022 07:08:16 -0400 Received: by mail-wm1-f44.google.com with SMTP id h204-20020a1c21d5000000b003a5b467c3abso8618966wmh.5 for <56418@debbugs.gnu.org>; Tue, 16 Aug 2022 04:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=47htgxRhRVVSHZFPacbPapeXsYcGQgSPWjFygCERd2Q=; b=SCis6nIpb6kP9oMRg2GD3QSWfr6LNWnEwwRV7AuMc3pA/RTpKH3tPU0BKM2bCBAYoL GsPOTnFpXjDpZd5DnI0czSM3K/nSZDLmxMezkFnERuOX7jVF3yyoVL0xdMpzXLqV7TUF PH/EsWM5of47aPjgmTBfisFOkLjFPw/0h39cHX/EiJ/oquznbiirFeV9mwhZDtsbnjti TILWL8x7k7ePZe9Up0lnaT/vrOSWr2qlGgN2cqJKKL1+otWptoCE7SOdFq0dg39Olo4w Q6CM7QK2Yyl3aaaogvh9XRRMklSyMsna9WDnMpxlHzcYRKutHTRPW3buv5VWFbLKsC/5 YHXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=47htgxRhRVVSHZFPacbPapeXsYcGQgSPWjFygCERd2Q=; b=xljvHckq5+WYcDeN2zVgadfvVWTzRl6jc+P2cwv2ZJwDPhno5xVwrq6SBfiE8isK/m +bvp+JOFCCKQIyDE55SDMyMYtS04KvwTl8RXPHHlx0r1RzRMe3+Cq7q1nLHAINtNGhVe 9gtJgCVf8/Cb9eT9pw9PWm/dJoISepAqQJCrMDGAPtxBdB6gMEYY/sNYU/8rkghe2bKV szi8AbEF5Z0+oNQsNFK/jQgPhbPVPz2A3HymmR4waS35xueA1DUmrjgVYZX1JmLUaumN sg5QRQIZOpG4qn9KupjmqtW9Bgrs2c9PfhzE2DF940W7cgyoP/j67vCxtBYAqaD577iB TOcA== X-Gm-Message-State: ACgBeo38q3fWwauCyjgIaRYvEETE0KW6pKZOZEKg/jkW1Zdru7RVdkfd Vt5v57sdDlzmICcfwX2oUlU= X-Google-Smtp-Source: AA6agR4EWwp94yoUanZ3xZB/b9kGFSq1xsOoqm1RqOlDRy7X2fqJ1MCjWDgWKZt549QVSwyj03Bcmg== X-Received: by 2002:a05:600c:a4c:b0:39c:6517:1136 with SMTP id c12-20020a05600c0a4c00b0039c65171136mr12757101wmq.12.1660648089468; Tue, 16 Aug 2022 04:08:09 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:dd88:29c3:8b09:8f16]) by smtp.gmail.com with ESMTPSA id e36-20020a5d5964000000b0021d80f53324sm9971383wri.7.2022.08.16.04.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 04:08:08 -0700 (PDT) From: Robert Pluim To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#56418: Add duplicate-dwim [PATCH] In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Thu, 4 Aug 2022 20:43:33 +0200") References: <65479FAA-8062-4E44-92E4-B810C8C3CE57@acm.org> <87tu746nhg.fsf@gmail.com> <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> <83a68s8n3d.fsf@gnu.org> Date: Tue, 16 Aug 2022 13:08:08 +0200 Message-ID: <87zgg48mzr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56418 Cc: Lars Ingebrigtsen , Eli Zaretskii , 56418@debbugs.gnu.org, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 4 Aug 2022 20:43:33 +0200, Mattias Engdeg=C3=A5rd said: Mattias> 4 aug. 2022 kl. 06.01 skrev Richard Stallman : >> I suggest we define `duplicate-lines' with an option to control >> whether it is region-sensitive, so that people can try it both ways >> and tell us which way they like better. Mattias> I wouldn't mind but it's not a change I can make unilaterally.= The Mattias> present solution did not require changes to `duplicate-line`. Not everything needs an option to control it. I want duplicate-line to simply duplicate a line. Others don=CA=BCt, they want it to obey the region. We can coexist peacefully without forcing anybody to configure anything, and we can each have whatever binding we prefer (I don=CA=BCt think this should be bound to a key by default). Robert --=20 From unknown Sat Jun 21 03:11:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Sep 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator