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

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

bug#24945: 25.1; delete-selection-mode


From: Eli Zaretskii
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@gmail.com>
> Cc: tak.kunihiro@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.





reply via email to

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