From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Sat, 15 Sep 2018 02:32:04 +1200 Message-ID: <94cd161e-5232-4f9f-1398-701da2514585@orcon.net.nz> 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> <6cf1bdfc-5577-7094-dc53-ad6b52ff2535@orcon.net.nz> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1536935486 30627 195.159.176.226 (14 Sep 2018 14:31:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 14:31:26 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cc: hw@adminart.net, spacibba@aol.com, Joost Kremers , Noam Postavsky , Emacs developers , Alan Mackenzie , Eli Zaretskii , Drew Adams , Phillip Lord To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 16:31:21 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 1g0p7w-0007pA-RP for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 16:31:20 +0200 Original-Received: from localhost ([::1]:51992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0pA3-0004vO-AQ for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 10:33:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0p8v-0004Io-11 for emacs-devel@gnu.org; Fri, 14 Sep 2018 10:32:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0p8s-0002pT-HW for emacs-devel@gnu.org; Fri, 14 Sep 2018 10:32:20 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:58747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0p8k-0002kG-MH; Fri, 14 Sep 2018 10:32:11 -0400 Original-Received: from [150.107.172.72] (port=25353 helo=[192.168.20.103]) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1g0p8e-0001ie-Sy; Sat, 15 Sep 2018 02:32:04 +1200 In-Reply-To: <6cf1bdfc-5577-7094-dc53-ad6b52ff2535@orcon.net.nz> Content-Language: en-GB X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.44 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:229782 Archived-At: On 15/09/18 02:29, Phil Sainty wrote: > The only approach I can think of is to have the mark forcibly set > to nil whenever the region is inactive, so that commands which > want to use the region will fail. Ah ignore that -- as Alan points out, `mark-even-if-inactive' is implemented and seems to solve this cleanly.