From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: delete-selection-mode as default Date: Sat, 15 Sep 2018 20:34:12 -0700 (PDT) Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <770f48a8-664a-40ae-8e03-19f6aad248b6@default> <20180910181615.GA4829@ACM> <874lev3bq4.fsf@toy.adminart.net> <20180912131602.GA5582@ACM> <87d0tihxzw.fsf@toy.adminart.net> <20180913174640.GB4019@ACM> <8736udkuit.fsf@toy.adminart.net> <20180914104833.GA4103@ACM> <83k1nojgia.fsf@gnu.org> <874leq799e.fsf@toy.adminart.net> <205df9be-2e5c-4cc4-a13a-7c80eb63bedc@default> <87in363zgq.fsf@toy.adminart.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 1537068751 27968 195.159.176.226 (16 Sep 2018 03:32:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 03:32:31 +0000 (UTC) Cc: spacibba@aol.com, joostkremers@fastmail.fm, npostavs@gmail.com, emacs-devel@gnu.org, Yuri Khan , acm@muc.de, Eli Zaretskii , phillip.lord@russet.org.uk To: hw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 16 05:32:26 2018 Return-path: Envelope-to: ged-emacs-devel@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 1g1NnN-00078m-SA for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2018 05:32:25 +0200 Original-Received: from localhost ([::1]:57533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1NpU-0001ua-6u for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 23:34:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1NpN-0001uJ-CT for emacs-devel@gnu.org; Sat, 15 Sep 2018 23:34:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1NpM-0000df-Mr for emacs-devel@gnu.org; Sat, 15 Sep 2018 23:34:29 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:47360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1NpJ-0000YH-1m; Sat, 15 Sep 2018 23:34:25 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8G3YFqd092215; Sun, 16 Sep 2018 03:34:15 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=+WwRXdCLOYWM6vR9CMJJOHW0eY0XRcYwy6nZzO5shZ4=; b=ttqXMpoabYolMfh/yKUyM0PfyxFqMRGl7Toz9GrVmof2byfOaIAmfNqx/5lJsBIhljao dqmuQnxzX/a0GaSBFzQxIyu1DcujYupNUlqIFrFLg/rwIf1uahgBvXIBygbcVjgawhPe 3zfYKNPA/9te5DI7jYabA4Uxb8TteGLPi1y5e4efDBUunUPQM95vHDx2Aq1cpAOGNPjL qMRu+niI9An70L5HfmVSwgtxwy3D5+fhi4PFIFTkruxqE+cZkdheVZpbBNRRfAuX87tC AfycOvnsc5V/Pc15dobIs+h0RK0QoSUcBZON/v63GC6FKwFdr799Kqeoc3etEOEDS/+6 Pw== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2mgt1p9t32-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 Sep 2018 03:34:15 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8G3YDtP005269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 Sep 2018 03:34:14 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8G3YD5x020747; Sun, 16 Sep 2018 03:34:13 GMT In-Reply-To: <87in363zgq.fsf@toy.adminart.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=9017 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=774 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809160037 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229838 Archived-At: > So there are a few things to note: > > + start and end marker of a selection do not need to be visible > + the selection is entirely independent from navigation > + the selection is persistent > + the start marker is being remembered after the selection has been used > + I can move, type and edit normally without endangering the selection > as if it wasn't there Dunno what you mean by the 4th one. (Perhaps you mean that you can navigate back to it?) But all of the others, at least, are true of the secondary selection. That's why I said that I think the sec. sel. is the closest thing Emacs has that corresponds to the behavior you expect. > The cursor is always visible in joe. That doesn't mean that a selection > can not be persistent or that its end must always be visible. This is > an Emacs problem because sticking to "the region" makes Emacs > inflexible. I meant that Emacs always has point as one end of the region, and because (like editors typically) the cursor is always visible on the screen, so the point end of the region is always on screen. There is no association between the secondary selection and point, so the entire sec. sel. can move off screen. And it is "persistent" in the sense I think you mean (as opposed persisting across Emacs sessions).