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

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

bug#56530: 29.0.50; mouse-2 cut selected text when cua-mode is enabled


From: Lars Ingebrigtsen
Subject: bug#56530: 29.0.50; mouse-2 cut selected text when cua-mode is enabled
Date: Thu, 14 Jul 2022 20:04:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> There is already the minor mode: delete-selection-mode
> that is configured by symbol properties.
> Supporting a descriptive symbol name would allow to easily
> configure the desired behavior with just:
>
>   (put 'mouse-yank-at-click 'delete-selection 'yank-on-region)

The problem is that you have to `put' on three symbols, which isn't
optimal.  (My proposed mode does just that.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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