From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Tue, 18 Sep 2018 20:14:41 +0700 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> <874leq799e.fsf@toy.adminart.net> <835zz5ie17.fsf@gnu.org> <87musg0wyf.fsf@toy.adminart.net> <83va73f0mv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1537276601 7347 195.159.176.226 (18 Sep 2018 13:16:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2018 13:16:41 +0000 (UTC) Cc: hw@adminart.net, spacibba@aol.com, Joost Kremers , Noam Postavsky , Emacs developers , Alan Mackenzie , Drew Adams , Phillip Lord To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 15:16: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 1g2Frk-0001iH-Da for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 15:16:32 +0200 Original-Received: from localhost ([::1]:40331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2Ftr-00083S-0A for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2018 09:18:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2FqD-0005mz-Qg for emacs-devel@gnu.org; Tue, 18 Sep 2018 09:14:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2FqC-0004vN-BC for emacs-devel@gnu.org; Tue, 18 Sep 2018 09:14:57 -0400 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:42333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2FqA-0004t6-Q6; Tue, 18 Sep 2018 09:14:54 -0400 Original-Received: by mail-ot1-x336.google.com with SMTP id h26-v6so1888545otl.9; Tue, 18 Sep 2018 06:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OYnUppsPurD/IbSenDj/iYgAYR2JLN5z55RDoFLMkDc=; b=LhkahHXpIb/VtZg+OwLcuCm2GYMvC0IzUCAYrrshHioPGnL6c2+6BGWToP+Fl1tuvH N1k2+ZDPo/L0D02l3ZftJ62jMfAdrIBqHJ4sFoUAETGCJFcbGAeR4AUAEzjzWFlRDlxw XnHElq59rG6V5mMtiSnIreflEhZ8OYyWquwJdkLj6IBZgbz41lC8f0RuEKZex6KPpAwQ sjCF6EUeVj3Cmf/rhQMVSuuE0qJZbjgi+h5bdoZAQyt9UPxd2ZgrLjpSR5h0Ucv6ps8A 5zCRJTdy8TQGBpdEZ16Hp7L6FQ0t7b96VB/KKpdUyhxPhQWbHYFhyFZxs6hJ5TEfklgN 5wmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OYnUppsPurD/IbSenDj/iYgAYR2JLN5z55RDoFLMkDc=; b=F5UrizqryqOmILAEl5W6K/j6kl3b3pWv99+sNN2a/c0/cVKhUfURQoXHKrSlnQSgkV ZGOB8+BUPpBII1jUbX8qgLVGo3mLvvdLmVtL3udX/92l9iFBOFaI2IWyMX8kzpKwy8/J LOJGl0fcrSafhgBM9/aLdwGbKQW4Yvr+q4m8yAi2O98j9bU7UDTqRaWggVo/C2PA7CC0 0UfIVk+jDBUMcd5NsJyYvwTQHQWVOLdZ8ZcGZkvEpg34BYe3D0FpL9vTVfyN4SZKiKBM u/b+n0jYP+rQCstckww/Id7u/UDOQV6ei22wGkjVIttD1LSDY80hVemQ1fEzlh/V7Shp 9TtA== X-Gm-Message-State: APzg51AjaOh3pJNLsZ3jPKcEizDh/m0duYTmAZmXIvy3Q5D5Jtsib60m k34eMjZ2M2xkCb7WlKLBh3yEai+ez3OSoJ4ABMbmhQ== X-Google-Smtp-Source: ANB0VdYXdSJSQkCN9GWIfT5BeK2EBA/JqEChlqC1gPPrAdQR9x8P275mxYGaSS4NnoNfn+/TwvjcnakmEkhMx3PyoUk= X-Received: by 2002:a9d:4114:: with SMTP id o20-v6mr14711613ote.260.1537276493447; Tue, 18 Sep 2018 06:14:53 -0700 (PDT) In-Reply-To: <83va73f0mv.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::336 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:229940 Archived-At: On Tue, Sep 18, 2018 at 7:32 PM Eli Zaretskii wrote: > No, I mean delete-selection-mode changes the effects of some commands > in ways that could be very inconvenient in some situations, and > currently the only way for the user to deal with such conflicts is by > turning on or off delete-selection-mode. There should be a better way > of temporarily enabling/disabling delete-selection-mode, similar to > what we have for transient-mark-mode. What changes by delete-selection-mode cannot be worked around by (temporarily) deactivating the region? Initial state: some text before point is selected. We want to insert some text without replacing the selection. C-g C-S-g Result: the same text + newly typed text is selected. Initial state: some text after point is selected. We want to yank something without replacing the selection. C-g C-y C-S-g Result: kill ring content inserted, same text is selected. (I am assuming C-S-g is bound to a command that activates the mark and does nothing else.)