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 (WAS: Some developement questions) Date: Sun, 9 Sep 2018 20:17:05 -0700 (PDT) Message-ID: <0f6d90c2-ecba-4de3-8439-7752da9b01ff@default> References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <770f48a8-664a-40ae-8e03-19f6aad248b6@default> <79cb3d3178b8d65b581b127b5235ee3b@webmail.orcon.net.nz> 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 1536549456 24014 195.159.176.226 (10 Sep 2018 03:17:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 03:17:36 +0000 (UTC) Cc: hw@adminart.net, spacibba@aol.com, Joost Kremers , Noam Postavsky , emacs-devel@gnu.org, Eli Zaretskii , phillip.lord@russet.org.uk To: Phil Sainty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 05:17:31 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 1fzChf-00069K-Hs for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 05:17:31 +0200 Original-Received: from localhost ([::1]:49475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzCjl-0004jk-Mx for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2018 23:19:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzCjc-0004hF-NY for emacs-devel@gnu.org; Sun, 09 Sep 2018 23:19:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzChd-0003rt-BY for emacs-devel@gnu.org; Sun, 09 Sep 2018 23:17:29 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:54476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzChY-0003n8-PR; Sun, 09 Sep 2018 23:17:24 -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 w8A3DXNS034806; Mon, 10 Sep 2018 03:17:14 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=p/EAYB2hE5cIUma1YxKWvXWWCWn/jC638b75gXB2K4I=; b=1DQiHJExdHpTaxNUFI9FI4aQxBQ7J8e4n22AilP6Hnbvi3m5BEWhvc/hvuez6vSLHwM6 cLIF5KJ2jsejXloWsap70xKgWx0+ALDxdwnj3twvxPIvv9YVoLwyw+wMovdUZSePP67j JIHIwlLHOlX6T5+jKXzmPLaZQXESJ9jxug69pkgGGmZjZk3dMcVCOJlWcpW1uuETA0IB 9TyeXWLtZ2CBbT5KF0Wi++2nX15UhyS50nRZiafV6beL7NDl72ZDRwL9HOPfZICzupjn xIikLoG2k5SE1a+BNHWzGKXWZ1G+6gTeKdEbH6climZNmd8Kipt52+KEzlX3qPG85Qoy 5A== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2mc6cpbdy2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 03:17:14 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8A3H7CL011025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 03:17:08 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8A3H6It026091; Mon, 10 Sep 2018 03:17:06 GMT In-Reply-To: <79cb3d3178b8d65b581b127b5235ee3b@webmail.orcon.net.nz> 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=9011 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-1809100033 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:229584 Archived-At: > > The only argument I saw here (unless I've forgotten already) > > in favor of it being off (by default or not) is that when it is on > > a user (new or old) can too easily accidentally delete text. > > > > (Some added "irretrievably", but I haven't seen that claim > > supported yet.) >=20 > Undo isn't *necessarily* enabled in all buffers? > i.e. `buffer-disable-undo'. >=20 > That's not so common, but IIRC some buffers are set that way by > default? Yes, good point.=20 The same problem will exist for accidental `C-w', but yes. Most delete-selection deletions are kills, so another retrieval possibility is `C-y'. But I'm sure there are cases where text could be lost.