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: Mon, 17 Sep 2018 15:56:44 -0700 (PDT) Message-ID: <132f64ed-7698-477c-899f-789f71290b52@default> References: <83k1nojgia.fsf@gnu.org> <7bed1f76-5bae-44cb-9b22-206b513043be@default> <83d0tfkj77.fsf@gnu.org> <1c393214-c186-4760-9a37-e0450c946446@default> <83zhwji4hx.fsf@gnu.org> <20180915102016.GA15443@ACM> <20180915194419.bty3fzs5tnjez3pq@Ergus> <20180916105225.GA4579@ACM> <3D72B095-01EC-4E7D-90F9-5691AEFE16DC@aol.com> <20180917021705.GA4043@ACM> <87in3328ys.fsf@toy.adminart.net> 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 1537225554 12590 195.159.176.226 (17 Sep 2018 23:05:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2018 23:05:54 +0000 (UTC) Cc: Alan Mackenzie , spacibba@aol.com, emacs-devel To: hw , =?utf-8?B?RWxpYXMgTcOlcnRlbnNvbg==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 01:05:49 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 1g22aS-000396-PP for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 01:05:48 +0200 Original-Received: from localhost ([::1]:37698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g22cZ-0005u8-E6 for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2018 19:07:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g22Yy-0003mA-3H for emacs-devel@gnu.org; Mon, 17 Sep 2018 19:04:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g22Rq-0002cK-UJ for emacs-devel@gnu.org; Mon, 17 Sep 2018 18:56:59 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:46972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g22Rq-0002aj-IP for emacs-devel@gnu.org; Mon, 17 Sep 2018 18:56:54 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8HMsvb0123614; Mon, 17 Sep 2018 22:56:48 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=YLVqB69kR5LsWDHgYCTuWwpTzbu6Y1CEm2n+og86xiU=; b=G7HA9dbsEfwW3t/E7LZUaEiyWCSK34S4BhHHAt6ly70uslXx3M4jqsipwzZ4c7B4sdy7 6QJhTI9DNJ891rniwn00t8nqyBBy6L9nyE5J/poutA3nqCKxRy0L6cR10SracLalc4nY Kc7XrEj5kRp7qCqgAk4/mu7BV9cCYb817C25DlIsjjdCosaYtPi3hAZTW3yDF4Ub8Siq mteJ0zNTw/qSYD8vqxhLIyYkBeAQlIoQ5cKGhDylOhSnJtEkXBavxqf/1eK1IBYKnBhh Pf8RIOYDct0EPo7qlcwVm7b1PXgbaCD7Byin7SEF4HFk5Ff7I4odFQEpKm1wY1GfyiKq dQ== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2mgtqqs2rd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Sep 2018 22:56:47 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8HMukd0011148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Sep 2018 22:56:46 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8HMuj1X030028; Mon, 17 Sep 2018 22:56:45 GMT In-Reply-To: <87in3328ys.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=9019 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809170227 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.85 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:229915 Archived-At: > It also leaves the issue of persistent selections. Yuri and Drew said > that it would be a huge amount of work,=20 I don't think I said that (but I'm not going to search all that I've said in this thread). I pointed out various things that could be done to implement multiple persistent selections, in particular pointing to what is already available in `second-sel.el' and `zones.el'. > and Yuri explained how the > appeal of persistent selections may be limited when multiple buffers and > windows get involved. I'd still like having that, but it doesn't really > provide additional functionality other than the possibility of multiple > persistent selections per buffer which I never missed --- and apparently > can already have with zones, as Drew suggested. To be clear, the zones in a set (list) of zones can be in the same buffer, which might or might not be the current buffer, or they can be in different buffers. You can have multiple sets (lists) of zones, and any zone in any of them can have its limit positions in any buffer. The limits defining a given zone can be unspecified as to their buffer, in which case that zone can be used in any buffer. The only requirement on the two limits of a given zone is that if they each specify a buffer then they must specify the same buffer (otherwise the behavior is undefined). Any zone limit can be an Emacs marker, a "readable marker" (which can be saved to disk), or a positive integer.