GNU bug report logs - #56421
[PATCH] Make mouse-2 respect delete-selection mode

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Wed, 6 Jul 2022 15:00:02 UTC

Severity: wishlist

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56421 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>,
 Visuwesh <visuweshm <at> gmail.com>
Subject: Re: bug#56421: [PATCH] Make mouse-2 respect delete-selection mode
Date: Mon, 11 Jul 2022 12:58:28 +0200
Juri Linkov <juri <at> linkov.net> writes:

>>> If you think we should be consistent, then I'd rather drop the patch
>>> than add yet another defcustom.  It isn't hard to copy those lines to my
>>> config anyway.
>>
>> Let's see if anyone else has an opinion here.
>
> This should be the right thing to do, some time ago
> we already discussed this because I had these uncommitted lines:
>
> +(put 'mouse-yank-primary 'delete-selection 'yank)
> +(put 'mouse-yank-at-click 'delete-selection 'yank)
> +(put 'menu-bar-select-yank 'delete-selection 'yank)

I agree, so I've applied Visuwesh's patch to Emacs 29.

> BTW, I also had this line
>
> +(put 'just-one-space 'delete-selection t)
>
> but since M-SPC is bound to cycle-spacing now,
> I'm not sure about M-SPC anymore.  How does
> cycle-spacing handle regions?  Maybe it should
> squeeze all consequent spaces to one space
> everywhere in the region?

Hm, not sure either.

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




This bug report was last modified 2 years and 308 days ago.

Previous Next


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