From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Fri, 07 Sep 2018 15:28:31 +0200 Message-ID: <87r2i5308w.fsf@gmail.com> References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.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 1536326839 18928 195.159.176.226 (7 Sep 2018 13:27:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 13:27:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 15:27:15 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 1fyGn5-0004qX-2w for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 15:27:15 +0200 Original-Received: from localhost ([::1]:38697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyGpB-0002Dd-E5 for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 09:29:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyGoY-0002DS-3Z for emacs-devel@gnu.org; Fri, 07 Sep 2018 09:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyGoU-0004gl-60 for emacs-devel@gnu.org; Fri, 07 Sep 2018 09:28:46 -0400 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:51562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyGoS-0004aS-HN for emacs-devel@gnu.org; Fri, 07 Sep 2018 09:28:41 -0400 Original-Received: by mail-wm0-x234.google.com with SMTP id y2-v6so14762961wma.1 for ; Fri, 07 Sep 2018 06:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=ddE5YsEelPNmExjHnYj+pyUUqUL2jcDLpL6G+F3cuec=; b=opA79qrPb/Snmdo1oHsGj/H58KalxCYxhZvSCafq642uqLAyw5sblihjnb8kqbfCC8 ikFcrW5UjpGepcgsGVsqinbqTCbAJigzQycEMuiaDURB33rzBpCbTG/PC9s8YhiucBfJ vBKH1RY6sY4iIDFNPrlPlvI+KDdXmiFsGyj5f5lHA9DP3Z6SAXnbG3cjNOAyfbTFr96e gvhapT6WtdyKawqvIm7XlP/2uZi/OMZqw9+MCNUbpBaR7nokwpvcXzh13SNFdxGzDOdh GKyrpPA0QVltYlkXfm3IWypXF8EC5w+69fXx/OHmGOgBGDY1c1TPvqlSoYWa36o4NTQC tn1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ddE5YsEelPNmExjHnYj+pyUUqUL2jcDLpL6G+F3cuec=; b=FfC3A20a5qc96Nsz7R9NgySomUr++sl8mPAVQ8xh0ogbOaGww2vSwcKQQK1lmKOG1J oNwWiHXk+dQPetg3bpZkmJmYCF+pXo6Cx/zKvBjfkYi7RQz5WmnzYtpOff0YEYyTmF3C 8QJy1JVkdkDmyfdcHiEhkeHZKxxLVFTj3jxqC9/5EL2x/K8ZyIvGuAkSK7toWr8k2EPy WZWSmlx7AjP4AwT7cXFiGrX89Vin943x7ZFApHTzkHBLEVpT2tbDnGZvDy286LyFkKZ1 fRWDefDLN/ItDpieSh8rgMC2PDpmfHI8b1rkCvrhIwzuL9y60X4seIVWSzR4MnUbQihZ MypA== X-Gm-Message-State: APzg51A5PI5pm5Qv7t3dAivbcIslltnZt9DcAp8OVkHGERY6PONXlAJR BS9HohSQgi/LnqCF928GKDLUtayE X-Google-Smtp-Source: ANB0VdZK6GvF2h5va7JL0Py7JEu20/ZdGSaZ32KXcqSRZK1EoArYBTK5FMWFmtxME0bwF/fFcNzscw== X-Received: by 2002:a1c:f703:: with SMTP id v3-v6mr4959320wmh.48.1536326918089; Fri, 07 Sep 2018 06:28:38 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id k13-v6sm7115901wrq.7.2018.09.07.06.28.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Sep 2018 06:28:36 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Fri, 7 Sep 2018 09:16:21 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 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:229394 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > 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. > >> Allowing that to happen is simply a design flaw, or an >> oversight. > > 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". Neither of those require 'replace selected' behaviour, since you could easily use M-DEL instead. It could be useful when you need to replace a word far away from point, although personally I=CA=BCll use isearch to get there, not the mouse. > This select, then type to replace behavior is the norm in most > programs I use outside Emacs, and it doesn't sound like a design flaw > to me. Of course, Emacs' default behavior can be very convenient too, > and it's good that it can do both. Agreed. Robert