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 16:36:19 -0700 (PDT) Message-ID: <20346ff3-0203-44da-a1e6-ea96aaa92e20@default> References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <87r2i5308w.fsf@gmail.com> <8336ulv2le.fsf@gnu.org> <87va75ggo3.fsf@mail.linkov.net> <47784549-2e24-40cc-9c83-e73308111af5@default> <875zz3zr6q.fsf@mail.linkov.net> <8736u7yakf.fsf@mail.linkov.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 1537227406 32525 195.159.176.226 (17 Sep 2018 23:36:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2018 23:36:46 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 01:36:41 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 1g234J-0008LH-Ck for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 01:36:39 +0200 Original-Received: from localhost ([::1]:37781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g236Q-0006Qp-3R for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2018 19:38:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2349-0004YM-Ce for emacs-devel@gnu.org; Mon, 17 Sep 2018 19:36:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2346-0004cg-86 for emacs-devel@gnu.org; Mon, 17 Sep 2018 19:36:29 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:51326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g2345-0004UL-V9 for emacs-devel@gnu.org; Mon, 17 Sep 2018 19:36:26 -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 w8HNZUFi003605; Mon, 17 Sep 2018 23:36:21 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=O9sxm0Re04+DTTbZS/fP6NK8CaVVmBardMv2VoHwWk4=; b=VAuor270FoNONPe9VF2+x/jGf1saA2PcBJvB84baZyHVf5xkWg2C9YOSD3YTsnFgZXmb uwEEGd4yxm02Zgd8tdJ9/5b64wN6h+IvbisKLRdUhRg1SdGfEowO3YFGEIH8NkSrcT8l vol3O35nkKaFSiNqdRwbXuzgdLL2CDvIzQvy0K1+uHhi58aOPJAEVlNjoNXovT7zeF9S /t7TsZ8ioipXjy0ZZyqh7sto86zSSWaEV6rm+CgtT8qfCA+DhV/ORrtSObIRQ787w7Oc ppZLrIxS5B85AqlPknSTYMsBAd5gjRsYmrIiNEFJ/Q+tNRgSB4/IrIEXkTZYGqqdqQTW Pg== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2mgt1ph8h2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Sep 2018 23:36:21 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8HNaKs9028815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Sep 2018 23:36:20 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8HNaKJ2030947; Mon, 17 Sep 2018 23:36:20 GMT In-Reply-To: <8736u7yakf.fsf@mail.linkov.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=721 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809170233 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:229921 Archived-At: > This bug was caused by the fundamental flaw in its current implementation= . I don't see a fundamental flaw in d-s-m. I see a bug in Wdired. > Its reimplementation could have a different name: not delete-selection-mo= de, > but e.g. delete-select-mode (like handle-shift-selection vs shift-select-= mode). Create a new mode for what you want, please. It's not about "reimplementing" `delete-selection-mode'. Call your new mode whatever you want. But IMO "delete-select-mode" is not a great name. Besides sowing confusion (obviously) with `delete-selection-mode', "delete-select" is meaningless/contradictory or at best unclear. `shift-select-mode' is OK as a name because it uses the Shift key to select. It doesn't require an existing selection. `delete-selection-mode' also makes sense, because it deletes a selection - selected text. The selection must exist - the text must have been selected - before it can be deleted.