From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18090: 24.4.50; `delete-selection-helper' logic changed for non-mouse region? Date: Mon, 24 Sep 2018 14:16:28 -0700 (PDT) Message-ID: References: <95e066b9-792c-4b38-8f4b-fd225578ed45@default> <9859e098-daf7-4b67-a8a6-c53d01a18f93@default> <83fty4elsx.fsf@gnu.org> <87pnx8xckg.fsf@mail.linkov.net> <874leju83n.fsf@mail.linkov.net> <626fca93-0fba-4dd7-b119-7187b818dccb@default> <87ftxy69o9.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537823706 25463 195.159.176.226 (24 Sep 2018 21:15:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 21:15:06 +0000 (UTC) Cc: 18090@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 23:15:02 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 1g4YC5-0006Ta-FO for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 23:15:01 +0200 Original-Received: from localhost ([::1]:48825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4YEC-0002am-32 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 17:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4YE6-0002ah-45 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 17:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4YE2-0006MX-Sn for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 17:17:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4YE2-0006MT-Ny for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 17:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4YE2-0002FW-Hy for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 17:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Sep 2018 21:17: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.15378238008612 (code B ref 18090); Mon, 24 Sep 2018 21:17:02 +0000 Original-Received: (at 18090) by debbugs.gnu.org; 24 Sep 2018 21:16:40 +0000 Original-Received: from localhost ([127.0.0.1]:52584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4YDg-0002Eq-3O for submit@debbugs.gnu.org; Mon, 24 Sep 2018 17:16:40 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:60602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4YDc-0002EY-Si for 18090@debbugs.gnu.org; Mon, 24 Sep 2018 17:16:38 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8OLDeMq083811; Mon, 24 Sep 2018 21:16:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=Tkkfi0j26uh1HoeJOHKcw+qH8p94X1vnCUwd/FNjTqg=; b=1ABfREf/j8in8YjWgvWoopFAqcNqQCSI0nRKMlHxfDoHA6ynGifuqp6Rp0fvMjf5NRlu TIs+Rd0fUo7K/s5BqXsWzj3fome1kbOlzysgmQj58hrBP/0YYSVdr2ZhJWXtiE+5bsB0 MyKdagGGiSgePKJHKcV9QZa1tNNC8/7zwsk/IyOtJ5uNUZ9seK7r4VA2aG3MZfVJVNBx s9LMT39mPO2lkdgTp0MGU+bh+vMwhtDWmptIAbbTIL90pxJVbFoY61tW/GwvrOv+SimY OX9NObmfEAGDHXuew60xocBnPvEPHeECsKCupYi9dj5uSgQpuPAzvVse9CBNQ1m0ujHF ug== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2mnd5t8e39-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Sep 2018 21:16:30 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8OLGTSi009158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Sep 2018 21:16:29 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8OLGTTr019600; Mon, 24 Sep 2018 21:16:29 GMT In-Reply-To: <87ftxy69o9.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9026 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=717 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809240203 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:150628 Archived-At: > > As you say, mouse-yank commands are not supported by > > `delete-selection-mode' - they do not have a `yank' > > `delete-selection-mode' property value. (I meant `delete-selection' property value.) > Shouldn't mouse yanking be supported by `delete-selection-mode', > what do you think? Dunno. Please file a bug report, if you think so. Or feel free to bring that into this report, if you like. What do you want it to do? Does it do what you want if you (put 'mouse-yank-primary 'delete-selection 'yank)? If not, what code change do you think is needed? > I agree that code that calls (delete-active-region) under the > condition (eq type 'yank) is essential to handle `yank'. > But I think that (current-kill 1) is not essential > unless it renders yank useless in some cases (yet unknown). Maybe you're right; dunno. Do you want to remove that code? Without it, does `deletion-selection-mode' do what you want for both t and nil values of `mouse-drag-copy-region'? At this point it's not clear to me what behavior is bugged, if any. I'd like to hear what changes, if any, you propose, both for the code and the desired behavior (for both t and nil values of `mouse-drag-copy-region').