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: Some developement questions Date: Fri, 07 Sep 2018 09:36:44 +0300 Message-ID: <83mustvmo3.fsf@gnu.org> References: <<<8336v6cvem.fsf@gnu.org>> <<8736v6icgt.fsf@himinbjorg.adminart.net> <83tvnmb958.fsf@gnu.org>> <<877ekigiiw.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org>> <<87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org>> <<871sanb71j.fsf@himinbjorg.adminart.net> <83y3cu7t9j.fsf@gnu.org>> <<87lg8t2ki9.fsf@himinbjorg.adminart.net> <20180827015422.lcq44zvsjffeau4j@Ergus>>> <<<83a7p76f5e.fsf@gnu.org> <87lg8p9o6y.fsf@russet.org.uk>>> <<<83pnxx1foj.fsf@gnu.org> <87k1o1a06q.fsf@russet.org.uk>>> <<<877ek1ql6u.fsf@toy.adminart.net> <87tvn2g665.fsf@russet.org.uk> > <<83r2i6wv4v.fsf@gnu.org>> > <<83k1nywjwv.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536302140 16794 195.159.176.226 (7 Sep 2018 06:35:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 06:35:40 +0000 (UTC) Cc: hw@adminart.net, spacibba@aol.com, emacs-devel@gnu.org, drew.adams@oracle.com, phillip.lord@russet.org.uk To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 08:35:36 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 1fyAMh-0004HB-Se for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 08:35:35 +0200 Original-Received: from localhost ([::1]:36925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyAOo-00082w-9C for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 02:37:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyANt-00082a-Df for emacs-devel@gnu.org; Fri, 07 Sep 2018 02:36:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyANq-0005MI-8U for emacs-devel@gnu.org; Fri, 07 Sep 2018 02:36:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyANq-0005LV-3a; Fri, 07 Sep 2018 02:36:46 -0400 Original-Received: from [176.228.60.248] (port=4616 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fyANp-0004Hz-Ly; Fri, 07 Sep 2018 02:36:46 -0400 In-reply-to: (message from Drew Adams on Thu, 6 Sep 2018 16:47:07 -0700 (PDT)) 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:229368 Archived-At: > Date: Thu, 6 Sep 2018 16:47:07 -0700 (PDT) > From: Drew Adams > Cc: hw@adminart.net, spacibba@aol.com, phillip.lord@russet.org.uk, > drew.adams@oracle.com, emacs-devel@gnu.org > > > Type "C-x C-x", then some letter: puff! the whole region is gone. > > This could be okay in text modes, but in code buffers users generally > > don't replace regions with single letters. > > Just don't do that. It's a way too important a paradigm not to use it. > Not a problem at all. Never been a problem for me. > And if I somehow did that by mistake I'd just undo it. I didn't say it's a catastrophe, I said it gets in the way. IOW, it's a nuisance (IME). > It's equivalent to your doing this without `delete-selection-mode': > C-x C-x M-w, then some letter No, that doesn't delete the region. Perhaps you meant C-w. And in any case, the fact that I typed C-w already says that I didn't just want to return to the marked place. So I don't think this analogy is valid. > C-x C-x is no longer just swapping point and mark. That ship sailed > long ago, when we turned on `transient-mark-mode' by default. > Now it also activates the region, and anyone who doesn't want it > activated can just use C-g to deactivate it. Like I said: it gets in the way. You disagree, which is fine, so you can enable delete-selection-mode in your configuration. I tried that once, and quickly disabled it back, due to the above (and similar issues).