From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Fri, 07 Sep 2018 10:22:55 -0400 Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <87r2i5308w.fsf@gmail.com> <8336ulv2le.fsf@gnu.org> 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 1536330101 31710 195.159.176.226 (7 Sep 2018 14:21:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 14:21:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 16:21:37 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 1fyHdh-0008Bj-8k for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 16:21:37 +0200 Original-Received: from localhost ([::1]:38918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyHfn-0001W6-HA for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 10:23:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyHfC-0001Ty-Js for emacs-devel@gnu.org; Fri, 07 Sep 2018 10:23:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyHf7-0005Xr-Hh for emacs-devel@gnu.org; Fri, 07 Sep 2018 10:23:10 -0400 Original-Received: from [195.159.176.226] (port=37779 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyHf7-0005V2-7D for emacs-devel@gnu.org; Fri, 07 Sep 2018 10:23:05 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fyHcy-0007Jh-1Q for emacs-devel@gnu.org; Fri, 07 Sep 2018 16:20:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:xCqRTNW6OTFtkzAZ8kH5A2a3etw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:229407 Archived-At: FWIW, while I personally don't use delete-selection-mode, I wouldn't object to enabling it by default (I'd probably disable it in my .emacs, but I'd first try to keep it enabled to see if I can change my habits). But before that I'd appreciate if we could improve its implementation so it doesn't rely on pre-command-hook. Stefan Eli Zaretskii writes: >> From: Robert Pluim >> Date: Fri, 07 Sep 2018 15:28:31 +0200 >> Cc: emacs-devel@gnu.org >> >> > 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. > > In Emacs, yes. Let's not assume everybody here uses only Emacs for > each and every editing job. > > So I'm with Clément on this one.