From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Mon, 10 Sep 2018 17:01:09 +0300 Message-ID: <83tvmxo3iy.fsf@gnu.org> References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <83o9d5q1bi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536588077 26058 195.159.176.226 (10 Sep 2018 14:01:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 14:01:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 16:01:13 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 1fzMkZ-0006gB-PT for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 16:01:11 +0200 Original-Received: from localhost ([::1]:51828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMmg-0007Mp-3Y for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 10:03:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMkc-0004b7-Dl for emacs-devel@gnu.org; Mon, 10 Sep 2018 10:01:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzMkW-0003fk-I4 for emacs-devel@gnu.org; Mon, 10 Sep 2018 10:01:14 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMkW-0003fH-5H; Mon, 10 Sep 2018 10:01:08 -0400 Original-Received: from [176.228.60.248] (port=3310 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzMkT-0001MV-Uz; Mon, 10 Sep 2018 10:01:08 -0400 In-reply-to: (message from Stefan Monnier on Mon, 10 Sep 2018 09:41:20 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:229634 Archived-At: > From: Stefan Monnier > Date: Mon, 10 Sep 2018 09:41:20 -0400 > > > The _only_ problem I personally have with delete-selection-mode is > > that it also replaces the region created by the likes of "C-x C-x", > > something that "most software out there" does not and cannot do. > > AFAIU the issue here is that you're using C-x C-x as navigation (a habit > you might have gotten from the time when transient-mark-mode was > disabled) rather than as a way to activate the region. > > So I think this is a not a problem with d-s-m but with C-x C-x. > > Also, I think it's a problem that comes from your habits, and if d-s-m > had always been enabled you'd simply have different habits and wouldn't > suffer from it. A lot of Emacs commands put a mark before moving "far away" (for some value of "far"), the reason being that the user might want to return there. What would you suggest as a "different habit" for returning to that previous place, instead of "C-x C-x"? And, btw, I find nothing wring with this habit of mine, the only problem here is that someone decided that "C-x C-x" should activate the region. > So I'm not sure it's an argument against d-s-m, really. Indeed, it could be an argument against "C-x C-x" and/or transient-mark-mode, except that "C-x C-x" was there first.