From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#38013: [PATCH] Rectangular region selection with mouse Date: Tue, 19 Nov 2019 10:32:49 -0800 (PST) Message-ID: References: <> <<83v9s3lo5f.fsf@gnu.org>> <<75EC4FBC-F636-4D75-BAC4-982D85188794@acm.org>> <<9b9222ad-ead7-d0a0-0602-780d0680f070@gmx.at>> <> <<6bf229f4-c22f-c3c2-5158-5235f908de3c@gmx.at>> <> <<8ec84837-172c-1ce5-cab0-b4c96a86274e@gmx.at>> <<411EAB4E-B666-4263-8514-5F47391268B1@acm.org>> <<2df02c1f-fea4-f764-eba6-fd67de581755@gmx.at>> <> <<3b74a108-28e3-fd01-64a5-7c4302e3d979@gmx.at>> <<9A9D13F2-1F4F-4DD4-B92F-96FC4D91DFBD@acm.org>> <<83pni17x5b.fsf@gnu.org>> <<8B95D2D3-8E00-45BF-B57D-EFD49D79EB6A@acm.org>> <<83bltk95p7.fsf@gnu.org>> <<60DD9D65-C3F0-470E-8489-B333E1889D32@acm.org>> <<83ftio6lsy.fsf@gnu.org>> <<290E5E66-964B-4E29-B141-166447AD5556@acm.org>> <<175E5B2E-2256-4FCD-AA8E-9E5BC6DE7907@acm.org>> <<7d94fa94-94e4-46dc-8df0-c40ccf052ee9@default>> <<87imngub40.fsf@mail.linkov.net>> <<60fa6496-c057-b69d-21c1-3b1de85b4b9f@gmx.at>> <> <<9302a9ac-e64c-41ed-898b-24d59465fba4@default>> <> <> <<83lfsb22pb.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232402"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mattiase@acm.org, 38013@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 19 19:35:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX8LV-000yLR-O0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 19:35:25 +0100 Original-Received: from localhost ([::1]:50582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX8LU-000089-JU for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 13:35:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38322) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX8KB-0007hi-82 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 13:34:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX8KA-0006By-36 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 13:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX8K9-0006Bq-Ss for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 13:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iX8K9-0005YD-N2 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 13:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2019 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38013-submit@debbugs.gnu.org id=B38013.157418838321254 (code B ref 38013); Tue, 19 Nov 2019 18:34:01 +0000 Original-Received: (at 38013) by debbugs.gnu.org; 19 Nov 2019 18:33:03 +0000 Original-Received: from localhost ([127.0.0.1]:48524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX8JD-0005Wk-0R for submit@debbugs.gnu.org; Tue, 19 Nov 2019 13:33:03 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:36950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX8JA-0005WD-W0 for 38013@debbugs.gnu.org; Tue, 19 Nov 2019 13:33:01 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAJIUgtC030710; Tue, 19 Nov 2019 18:32:52 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-2019-08-05; bh=Xy6a3rcgArZ0yP2+e/iYrpZtu/1V4RzORu0WjY9mOpA=; b=olNPOCtnWGwlOAFysGl8pYXd4Nqbzg20qLiWiBPmJIHCM27iCUZvWEoEs/TqcefvKm4x rqwebFxPZLEhsLGUbQqu21mNUJcd5DYDlF/tvi13EqkXRDJGl2egnuVIEGrQ0FtLyF2t 0qz6Esd7hQ8cY1SKDhn+qOsbFNatU/hx+mGIQlpI7XwKjNSxoaHU3aApjwvhHU4GP22v NAggmbyGs2iaGzUt78i8TVeoFvBd4nMRd5gP5PxO1vGNWBbR9Wq0n9gb1lhFwIgXHkp6 fbZCecZ+9Z2Ar1AXbya5XX3m/78Qi+qZ3CNQCd0/GIjgG8OVFsag/rJA42jL9Zksee3T GA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2wa8htrvf8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Nov 2019 18:32:52 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAJIOHD3130431; Tue, 19 Nov 2019 18:32:52 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2wc09xu55t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Nov 2019 18:32:51 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xAJIWovW005901; Tue, 19 Nov 2019 18:32:50 GMT In-Reply-To: <<83lfsb22pb.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4927.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9446 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=878 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911190156 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9446 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=938 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911190156 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: 209.51.188.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:172014 Archived-At: > > Count me as one user who disagrees that this deserves > > a default binding. >=20 > A command that needs to drag the mouse makes no sense without a > binding to some mouse gesture. That's what we did (and do) with CUA mouse bindings: put them in a minor mode keymap. > > Eli suggested defining a minor mode, as does CUA. >=20 > I suggested a minor mode as a way to allow us using the same binding > as used for another command by default. I did NOT suggest to have a > minor mode _instead_ of a binding. I was (and I thought you were) suggesting putting the key binding in a minor-mode keymap. Users can turn on the (global) mode and get that binding - and leave the mode on forever, if they like. So no, I too did not suggest having a minor mode _instead_ of a key binding. I had in mind a minor mode that has its own key bindings.