bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46621: Copy line


From: Pankaj Jangid
Subject: bug#46621: Copy line
Date: Mon, 04 Jul 2022 08:54:48 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Mattias Engdegård <mattiase@acm.org> writes:

> Here is an updated patch.  It sounded like Eli was largely happy with
> it but Lars wanted a change of name?  I don't mind either, but please
> do tell.

I feel that duplicate-line and duplicate-region should be separate
commands for the sake of semantics.

May be that we implement duplicate-region as more generic and
duplicate-line as a wrapper around it and just pass the line as
argument. If we do that then users are not required to bind two separate
keys for these. Binding with the generic command will serve the
purpose. And users who prefer to call using M-x can still have the right
semantics.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]