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#27530: patch to cut and copy secondary Date: Tue, 5 Sep 2017 17:29:19 -0700 (PDT) Message-ID: <8a717158-138e-4e69-96d8-cfd4481f82cd@default> References: <87pob5bn1t.fsf@gmail.com> <20170905.182537.2023575934474224469.tkk@misasa.okayama-u.ac.jp> <20170906.081720.1393403766066970754.tkk@misasa.okayama-u.ac.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1504657828 29906 195.159.176.226 (6 Sep 2017 00:30:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2017 00:30:28 +0000 (UTC) Cc: rpluim@gmail.com, 27530@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 06 02:30:14 2017 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 1dpOEP-000741-6l for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Sep 2017 02:30:13 +0200 Original-Received: from localhost ([::1]:33635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpOEW-0002sG-18 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Sep 2017 20:30:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpOEK-0002rF-Dr for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2017 20:30:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpOEF-0007yl-Bg for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2017 20:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpOEF-0007yI-7t for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2017 20:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dpOEE-0000SL-Pu for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2017 20:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2017 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27530 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27530-submit@debbugs.gnu.org id=B27530.15046577731697 (code B ref 27530); Wed, 06 Sep 2017 00:30:02 +0000 Original-Received: (at 27530) by debbugs.gnu.org; 6 Sep 2017 00:29:33 +0000 Original-Received: from localhost ([127.0.0.1]:52000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpODl-0000RJ-Bi for submit@debbugs.gnu.org; Tue, 05 Sep 2017 20:29:33 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:46499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpODj-0000R4-5m for 27530@debbugs.gnu.org; Tue, 05 Sep 2017 20:29:31 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v860TOUq027185 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Sep 2017 00:29:24 GMT 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 v860TN6E002185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Sep 2017 00:29:24 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v860TLGD018560; Wed, 6 Sep 2017 00:29:21 GMT In-Reply-To: <20170906.081720.1393403766066970754.tkk@misasa.okayama-u.ac.jp> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:136628 Archived-At: > >> The function exchanges point and mark. > >> When there is region, this also creates secondary. > > > > Why? What if I want to just exchange point and mark, > > and not also copy the region to the secondary? >=20 > I proposed to put a function in lisp/mouse.el that can be remapped to > C-x C-x by an user. I did not propose to replace > exchange-point-and-mark. >=20 > I create the secondary selection every wheel scroll as memory of > region. To me, C-x C-x works well to recall region. I see. I misunderstood. I thought that you were proposing to bind keys/mouse by default. Adding useful commands can't hurt.