From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default (WAS: Some developement questions) Date: Mon, 10 Sep 2018 19:19:16 +0000 Message-ID: <20180910191916.GB4829@ACM> References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <770f48a8-664a-40ae-8e03-19f6aad248b6@default> <20180910181615.GA4829@ACM> <764cff59-49e8-2d44-7935-1feb53fe9bbd@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1536607186 3398 195.159.176.226 (10 Sep 2018 19:19:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 19:19:46 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: hw@adminart.net, spacibba@aol.com, Joost Kremers , Noam Postavsky , emacs-devel@gnu.org, Eli Zaretskii , Drew Adams , phillip.lord@russet.org.uk To: =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 21:19: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 1fzRin-0000k2-Il for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 21:19:41 +0200 Original-Received: from localhost ([::1]:53628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzRku-0006a1-3T for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 15:21:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzRkl-0006Zr-9e for emacs-devel@gnu.org; Mon, 10 Sep 2018 15:21:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzRki-0001kU-1Z for emacs-devel@gnu.org; Mon, 10 Sep 2018 15:21:43 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:24921 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fzRke-0001iZ-W9 for emacs-devel@gnu.org; Mon, 10 Sep 2018 15:21:38 -0400 Original-Received: (qmail 40326 invoked by uid 3782); 10 Sep 2018 19:21:34 -0000 Original-Received: from acm.muc.de (p5B14710D.dip0.t-ipconnect.de [91.20.113.13]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 10 Sep 2018 21:21:31 +0200 Original-Received: (qmail 6120 invoked by uid 1000); 10 Sep 2018 19:19:16 -0000 Content-Disposition: inline In-Reply-To: <764cff59-49e8-2d44-7935-1feb53fe9bbd@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:229650 Archived-At: Hello, Clément. On Mon, Sep 10, 2018 at 14:35:17 -0400, Clément Pit-Claudel wrote: > On 2018-09-10 14:16, Alan Mackenzie wrote: > > Actually, I'm not sure what the use of d-s-mode actually is. I > > don't recall anyone here advocating it on some intrinsic merits > I did, in a previous message :) See below: Acknowledged, thanks. > > On 2018-09-07 05:18, hw wrote: > >> When a selection is active, why would anyone assume that typing an > >> arbitrary letter is supposed to replace the entire selection, or > >> to disable it? > > Out of experience, mostly. When almost every other program you use > > besides Emacs behaves that way, it's easy to assume that Emacs will > > behave the same way. This is the "do it because everybody else does" bit. I don't think it's a sound design principle, particularly for Emacs. > >> Allowing that to happen is simply a design flaw, or an oversight. I agree, because .... > > I prefer to think of it as a very convenient feature. For example, > > as I typed this email, I first wrote "as I composed" instead of "as I > > typed", pressed Control+Shift+Left Arrow, and pressed "typed". > > Similarly, I had first written "I call it" instead of "I prefer to > > think of it", and the way I changed one into the other was to select > > "call it" and type "prefer to think of it as". .... the degree of inconvenience in first having to type C-w, which is predictable and goes easily to the finger memory is minimal, certainly when compared with the shock and pain of having an arbitrary sized region killed without warning. IMAO, anyway. -- Alan Mackenzie (Nuremberg, Germany).