From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode Date: Tue, 29 Jan 2019 04:28:30 -0500 Message-ID: References: <20181017063829.3775.67018@vcs0.savannah.gnu.org> <20181017063831.03DCB2044D@vcs0.savannah.gnu.org> <810f1e04-1117-476d-9a7d-d57002609bf8@default> <5BCC3743.8040103@gmx.at> <87a7jnt72q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260526"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Federico Tedin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 29 10:29:19 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goPhn-0015fu-7M for ged-emacs-devel@m.gmane.org; Tue, 29 Jan 2019 10:29:19 +0100 Original-Received: from localhost ([127.0.0.1]:45913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goPhm-0005uQ-82 for ged-emacs-devel@m.gmane.org; Tue, 29 Jan 2019 04:29:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goPhF-0005uG-79 for emacs-devel@gnu.org; Tue, 29 Jan 2019 04:28:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goPhB-0001kT-HU for emacs-devel@gnu.org; Tue, 29 Jan 2019 04:28:44 -0500 Original-Received: from smtp-as-02-09.vtxnet.net ([194.38.175.148]:38332 helo=smtp-as-02.vtxnet.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1goPh3-0001d3-Uf for emacs-devel@gnu.org; Tue, 29 Jan 2019 04:28:35 -0500 Original-Received: from smtp-pri-01.vtx.ch (smtp-pri-01.vtxnet.net [212.147.62.135]) by smtp-as-02.vtxnet.net (Postfix) with ESMTP id 6EA6343165; Tue, 29 Jan 2019 10:28:30 +0100 (CET) Original-Received: from fmsmemgm.homelinux.net (dyn.144-85-140-015.dsl.vtx.ch [144.85.140.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-pri-01.vtx.ch (VTX Services SA) with ESMTPS id 617091BF463; Tue, 29 Jan 2019 10:28:30 +0100 (CET) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 119D2AE13D; Tue, 29 Jan 2019 04:28:30 -0500 (EST) In-Reply-To: (Federico Tedin's message of "Tue, 29 Jan 2019 01:02:14 -0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.38.175.148 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:232788 Archived-At: >> I don't understand the question: when would we st it back (to t or to >> some saved value)? > Sorry if I wasn't being clear enough. What I meant is the following: > Let's we have three region modes: normal, rectangle and zones > (https://www.emacswiki.org/emacs/Zones). > If I activate rectangle region mode first and then zones region mode, > after I deactivate zones region mode, > should the rectangle region mode be activated, or simply go back to > normal? We don't have that problem right > now because there are only two region 'modes' in Emacs at the moment > (that I know of). I think the generic infrastructure shouldn't care: it should be up to the specific "deactivate" command you use to decide whether to set mark-active to nil (i.e. really deactivate), to t, or to a value it had earlier (via reactivate). Stefan