GNU bug report logs - #64185
proposal for new function: copy-line

Previous Next

Package: emacs;

Reported by: Zachary Kanfer <zkanfer <at> gmail.com>

Date: Tue, 20 Jun 2023 05:09:02 UTC

Severity: wishlist

Full log


Message #143 received at 64185 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: 64185 <at> debbugs.gnu.org, me <at> eshelyaron.com, zkanfer <at> gmail.com,
 juri <at> linkov.net
Subject: Re: bug#64185: proposal for new function: copy-line
Date: Sat, 01 Jul 2023 12:53:23 +0300
> From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
> Date: Sat, 1 Jul 2023 10:45:35 +0200
> Cc: juri <at> linkov.net,
>  64185 <at> debbugs.gnu.org,
>  me <at> eshelyaron.com,
>  zkanfer <at> gmail.com
> 
> 30 juni 2023 kl. 21.03 skrev Eli Zaretskii <eliz <at> gnu.org>:
> 
> > Sorry, this is too much for emacs-29.  Please either find a simpler
> > change for Emacs 29, or install on master.
> 
> Simpler in what way, exactly?

In a way that doesn't make any significant changes in
rectangle--duplicate-right, for example.

> The bulk of the change is in tests.

That's not the part which bothers me, obviously.

> It is the exact equivalent to Juri's change to duplicate-line, but that one actually had a bigger footprint; this change only affects duplicate-dwim and nothing else.

The difference is that (a) duplicate-line was a feature which was
explicitly requested by the bug report which caused its
implementation, and (b) the changes for duplicate-line were much
simpler and easier to reason about.

> If you like, I could try splitting the change into smaller parts.

I'm not sure I understand what would that accomplish.




This bug report was last modified 1 year and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.