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: Tue, 18 Sep 2018 19:49:04 +0300 Message-ID: <83h8img39b.fsf@gnu.org> 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> <874leq799e.fsf@toy.adminart.net> <835zz5ie17.fsf@gnu.org> <87musg0wyf.fsf@toy.adminart.net> <83va73f0mv.fsf@gnu.org> <83musegaf2.fsf@gnu.org> <3f242636-6fa4-4e36-a37b-86f1d7088aae@default> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1537289327 19443 195.159.176.226 (18 Sep 2018 16:48:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2018 16:48:47 +0000 (UTC) Cc: hw@adminart.net, spacibba@aol.com, joostkremers@fastmail.fm, npostavs@gmail.com, emacs-devel@gnu.org, yurivkhan@gmail.com, acm@muc.de, phillip.lord@russet.org.uk To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 18:48:42 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 1g2JB3-0004vq-FP for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 18:48:41 +0200 Original-Received: from localhost ([::1]:41308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2JD9-0008A6-NN for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 12:50:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2JCX-00089z-EH for emacs-devel@gnu.org; Tue, 18 Sep 2018 12:50:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2JCW-0005cU-Gs for emacs-devel@gnu.org; Tue, 18 Sep 2018 12:50:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2JBS-0000zm-Pe; Tue, 18 Sep 2018 12:49:08 -0400 Original-Received: from [176.228.60.248] (port=4995 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g2JBR-0001yL-T7; Tue, 18 Sep 2018 12:49:06 -0400 In-reply-to: <3f242636-6fa4-4e36-a37b-86f1d7088aae@default> (message from Drew Adams on Tue, 18 Sep 2018 08:37:12 -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:229948 Archived-At: > Date: Tue, 18 Sep 2018 08:37:12 -0700 (PDT) > From: Drew Adams > Cc: hw@adminart.net, spacibba@aol.com, > Joost Kremers > , > Noam Postavsky , > Emacs > developers , Alan Mackenzie , > Phillip Lord > > > What's the real use case for such temporary enabling/disabling of d-s-m? And how is it different from just, well, enabling/disabling d-s-m? People who are against turning on delete-selection-mode presented several such use cases. > In any case, how do you envision enabling/disabling d-s-m as something different from turning d-s-m on/off? If you want some key(s) to enable/disable it, how is that different from just binding a key (or keys) to `delete-selection-mode'? Why don't you ask the same question about transient-mark-mode? My idea was to extend the feature of region activation, which would avoid the need for turning on and off the mode.