GNU bug report logs - #24945
25.1; delete-selection-mode

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tak.kunihiro <at> gmail.com>

Date: Tue, 15 Nov 2016 06:55:02 UTC

Severity: minor

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tak Kunihiro <tak.kunihiro <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, 24945 <at> debbugs.gnu.org
Cc: 国広卓也 <tak.kunihiro <at> gmail.com>
Subject: bug#24945: 25.1; delete-selection-mode
Date: Wed, 16 Nov 2016 08:11:14 +0900
Thank you for replay.  I see.  It seems I did not understand how it works.

For unknown reason, I used 24.5 with (setq select-enable-primary t);  It
is likely that 24.5 just ignores it.

Sorry to bother.



On Nov 16, 2016, at 24:28 , Eli Zaretskii <eliz <at> gnu.org> wrote:

>> Date: Tue, 15 Nov 2016 15:54:23 +0900 (JST)
>> From: Tak Kunihiro <tak.kunihiro <at> gmail.com>
>> Cc: tak.kunihiro <at> gmail.com
>> 
>> `delete-selection-mode' on 25.1 does not work well when
>> `select-enable-primary' is `t'.
>> 
>> 1. runemacs.exe -Q
>> 2. (setq select-enable-primary t)
>> 3. M-x delete-selection-mode
>> 4. select region and kill
>> 5. select other region and yank
>> 
>> The region selected by step 5 stays, not replace by yanked text.
> 
> Since selecting text in step 5 puts the selected text in the primary
> selection, and thus overwrites the text saved there by the kill in
> step 4, I don't see how it makes sense to set select-enable-primary
> while using delete-selection-mode: these two options contradict each
> other in fundamental ways.  On top of that, primary selection doesn't
> really exist on MS-Windows, it's only emulated inside the Emacs
> session, which makes its use even less useful.
> 
> IOW, I don't see a bug here.
> 
> Thanks.





This bug report was last modified 8 years and 282 days ago.

Previous Next


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