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: Mon, 10 Sep 2018 10:19:10 -0400 Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <83o9d5q1bi.fsf@gnu.org> <83tvmxo3iy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536589522 29405 195.159.176.226 (10 Sep 2018 14:25:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 14:25:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 16:25:18 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 1fzN7t-0007ZP-SS for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 16:25:17 +0200 Original-Received: from localhost ([::1]:51937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzNA0-0005gf-AQ for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 10:27:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzN84-0003x4-FF for emacs-devel@gnu.org; Mon, 10 Sep 2018 10:25:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzN23-0003YX-GH for emacs-devel@gnu.org; Mon, 10 Sep 2018 10:19:20 -0400 Original-Received: from alt32.smtp-out.videotron.ca ([24.53.0.21]:27756) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzN23-0003Xp-0T for emacs-devel@gnu.org; Mon, 10 Sep 2018 10:19:15 -0400 Original-Received: from fmsmemgm.homelinux.net ([23.233.195.134]) by Videotron with SMTP id zN1zf5FstFbCKzN22fop5O; Mon, 10 Sep 2018 10:19:14 -0400 X-Authority-Analysis: v=2.3 cv=McVCRa3f c=1 sm=1 tr=0 a=xXJ578j8WyTliCxld3/pTA==:117 a=xXJ578j8WyTliCxld3/pTA==:17 a=JBFolyDoGHsA:10 a=dR_OmkhoCKzkCf7R4zkA:9 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 0AE1CAE0A9; Mon, 10 Sep 2018 10:19:11 -0400 (EDT) In-Reply-To: <83tvmxo3iy.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Sep 2018 17:01:09 +0300") X-CMAE-Envelope: MS4wfDjmsGxI8BDQy4O4o80n8f9LhFU31NV6yaBLRDoEVMCOZk40KjxI14qVPPqDZ0E8VzORFUvonfHTvx8K+LqVT4kJDy+/m1yV7LEfn88RDqjbMOt1+NUg V3i0NM48PEP/SuhbOiTz6M66Wxvee6E5QatlDwdDLiCAQoLVpMXJJRbSZq2UzgetL7cYaDTbCZAelcSUC7S/F8lWq5WFz3olq0LcTVW+Kye+gy6hSMt3GF7S mvejG7RLf/+6OTw1xWpShw== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 24.53.0.21 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:229636 Archived-At: > 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 wrong with this habit of mine, the only > problem here is that someone decided that "C-x C-x" should activate > the region. I don't find anything wrong with it either, but C-x C-x doesn't serve you well currently for this reason (this is a problem that affects more than d-s-m). It does two different (tho related) things, and for some users this isn't right. For use-cases like yours, you'd probably be better served by swapping the behavior of `C-x C-x` and `C-u C-x C-x` (i.e. make it so `C-x C-x` only activates the region if you specifically ask for it with C-u). Or split the two into two separate commands: - one to exchange mark and point. - another to (re)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. Exactly, Stefan