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: Sat, 15 Sep 2018 14:30:35 -0400 Message-ID: References: <83k1nxvm5j.fsf@gnu.org>> <87sh2ih0bp.fsf@fastmail.fm>> <770f48a8-664a-40ae-8e03-19f6aad248b6@default>> <20180910181615.GA4829@ACM>> > <874lev3bq4.fsf@toy.adminart.net>> <20180912131602.GA5582@ACM>> <87d0tihxzw.fsf@toy.adminart.net>> <20180913174640.GB4019@ACM>> <8736udkuit.fsf@toy.adminart.net>> <20180914104833.GA4103@ACM>> > <83k1nojgia.fsf@gnu.org>> <7bed1f76-5bae-44cb-9b22-206b513043be@default>> <83d0tfkj77.fsf@gnu.org>> <1c393214-c186-4760-9a37-e0450c946446@default> <83zhwji4hx.fsf@gnu.org> <83lg82ixw0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537036153 24990 195.159.176.226 (15 Sep 2018 18:29:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2018 18:29:13 +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 Sat Sep 15 20:29:09 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 1g1FJd-0006PO-27 for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 20:29:09 +0200 Original-Received: from localhost ([::1]:56363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1FLh-0006Ht-2n for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 14:31:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1FL6-0006Hc-DT for emacs-devel@gnu.org; Sat, 15 Sep 2018 14:30:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1FL3-0001D4-9D for emacs-devel@gnu.org; Sat, 15 Sep 2018 14:30:40 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1FL3-0001CU-4f; Sat, 15 Sep 2018 14:30:37 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w8FIUZ4f003038; Sat, 15 Sep 2018 14:30:36 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C1CBE6A688; Sat, 15 Sep 2018 14:30:35 -0400 (EDT) In-Reply-To: <83lg82ixw0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Sep 2018 18:27:43 +0300") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6374=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6374> : inlines <6879> : streams <1798543> : uri <2711088> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:229817 Archived-At: >> > Fine, then we agree. The above issue is not relevant to what I >> > perceive as the main problem here: how to give us a way to allow >> > turning on delete-selection-mode without alienating users who have no >> > use for it and very much dislike its effects, in particular when those >> > effects are unintended. >> AFAIK d-s-m has currently only 2 effects: >> - delete the selection before self-insert-command >> - same before yank >> In both cases, if that's not what the user intended, an important >> question is: why was the region active before those commands? > Because the user did "C-x C-x"? So again the problem is not with d-s-m but with C-x C-x, then. I think many users who are heavy users of the marks for navigation would benefit from a "halfway" setting for transient-mark-mode, where commands like C-M-SPC, M-h etc... still activate the region, but where C-SPC, and C-x C-x don't. Stefan