From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18090: 24.4.50; `delete-selection-helper' logic changed for non-mouse region? Date: Fri, 21 Sep 2018 01:50:32 +0300 Organization: LINKOV.NET Message-ID: <874leju83n.fsf@mail.linkov.net> References: <95e066b9-792c-4b38-8f4b-fd225578ed45@default> <9859e098-daf7-4b67-a8a6-c53d01a18f93@default> <83fty4elsx.fsf@gnu.org> <87pnx8xckg.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537487714 7962 195.159.176.226 (20 Sep 2018 23:55:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2018 23:55:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 18090@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 01:55:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g38mq-0001vO-BV for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 01:55:09 +0200 Original-Received: from localhost ([::1]:53180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g38ow-0004s7-Jm for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2018 19:57:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g38oj-0004qb-BP for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 19:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g38og-0002nA-K6 for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 19:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43213) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g38og-0002n5-G1 for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 19:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g38og-0000iC-E3 for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 19:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Sep 2018 23:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18090 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18090-submit@debbugs.gnu.org id=B18090.15374877622600 (code B ref 18090); Thu, 20 Sep 2018 23:57:02 +0000 Original-Received: (at 18090) by debbugs.gnu.org; 20 Sep 2018 23:56:02 +0000 Original-Received: from localhost ([127.0.0.1]:47463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g38nh-0000fo-Lx for submit@debbugs.gnu.org; Thu, 20 Sep 2018 19:56:01 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:60842 helo=pdx1-sub0-mail-a36.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g38nf-0000fS-Ii for 18090@debbugs.gnu.org; Thu, 20 Sep 2018 19:56:00 -0400 Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTP id 87DB97EDA7; Thu, 20 Sep 2018 16:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=RbScpnc11JJNasblhtEXH6dux6A=; b= ykNEv4K767RSBxECOJgI9WDRLZTLuG/ZLn2a62MZsgvucyC/ScBxx4xOxzOgAtQD fhXVZhU+JLSWKkPX0vatlZVh5BqpifK9UlPzgI6wnipDBY/7A3jvwof6o4xjiYlP zwIRGu16q59ixR9Lr5Nqsb9iXlAjXLMtDKtvMeOnleY= Original-Received: from localhost.linkov.net (m91-129-107-237.cust.tele2.ee [91.129.107.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTPSA id 5E15E7EDB7; Thu, 20 Sep 2018 16:55:57 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a36 X-DH-BACKEND: pdx1-sub0-mail-a36 In-Reply-To: (Drew Adams's message of "Thu, 20 Sep 2018 14:55:58 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150501 Archived-At: >> I see that mouse operations are not supported by delete-selection-mode >> anyway - yanking with doesn't replace the selected region, > > Huh? I kill some text (or copy it to the kill-ring). Then I select some > other text with the mouse. Then I type or I yank. The typed or > yanked text replaces the mouse-selected text. What am I missing? You are missing the part above. >> so the whole >> (when (and (string= (buffer-substring-no-properties >> (point) (mark)) (car kill-ring)) >> (fboundp 'mouse-region-match) >> (mouse-region-match)) >> (current-kill 1)) >> could be deleted altogether. > > Why would we do that? That's been there forever - except for the > mouse-region-match part that you added (subject of this report). Not true, mouse-region-match part has been there exactly as long as without it. >> I don't understand this bug report too - in fact, there is no bug, >> the purpose of the old change was to remove gratuitous optimization >> that breaks keyboard macros (the result of yanking should not depend >> on differences between old and new text), > > Sorry, but I don't understand that. What old change? What > optimization? What macro breakage (example)? What old and > new text? No idea what you're saying, there. Please read the detailed explanations on the thread in http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01642.html >> and nobody complained during last 10+ years. > > I filed this bug report 4 years ago. What bug? The bug was already fixed long ago.