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: Eli Zaretskii <eliz <at> gnu.org>
To: Tak Kunihiro <tak.kunihiro <at> gmail.com>
Cc: 24945 <at> debbugs.gnu.org, tak.kunihiro <at> gmail.com
Subject: bug#24945: 25.1; delete-selection-mode
Date: Tue, 15 Nov 2016 17:28:08 +0200
> 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.