all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tak Kunihiro <tak.kunihiro@gmail.com>
Cc: 24945@debbugs.gnu.org, tak.kunihiro@gmail.com
Subject: bug#24945: 25.1; delete-selection-mode
Date: Tue, 15 Nov 2016 17:28:08 +0200	[thread overview]
Message-ID: <83k2c4hiev.fsf@gnu.org> (raw)
In-Reply-To: <20161115.155423.46033197.tak.kunihiro@gmail.com> (message from Tak Kunihiro on Tue, 15 Nov 2016 15:54:23 +0900 (JST))

> 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	other threads:[~2016-11-15 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15  6:54 bug#24945: 25.1; delete-selection-mode Tak Kunihiro
2016-11-15 15:28 ` Eli Zaretskii [this message]
2016-11-15 23:11   ` Tak Kunihiro
2016-11-16  3:40     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k2c4hiev.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24945@debbugs.gnu.org \
    --cc=tak.kunihiro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.