From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#43209: 27.1; rectangle-mark-mode does not activate region if transient mark mode disabled Date: Sat, 05 Sep 2020 15:25:31 -0700 Message-ID: <80sgbv97z8.fsf@felesatra.moe> References: <80363w3owp.fsf@felesatra.moe> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15346"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 43209@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 06 00:26:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEgdQ-0003t5-7N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 00:26:12 +0200 Original-Received: from localhost ([::1]:34278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEgdP-0003KV-7X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 18:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEgdG-0003KH-Rj for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 18:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEgdG-0005nF-If for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 18:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEgdG-0008FR-EM for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 18:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43209 X-GNU-PR-Package: emacs Original-Received: via spool by 43209-submit@debbugs.gnu.org id=B43209.159934474131678 (code B ref 43209); Sat, 05 Sep 2020 22:26:02 +0000 Original-Received: (at 43209) by debbugs.gnu.org; 5 Sep 2020 22:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:44316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgcu-0008Er-NT for submit@debbugs.gnu.org; Sat, 05 Sep 2020 18:25:40 -0400 Original-Received: from mail-pj1-f49.google.com ([209.85.216.49]:56085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgct-0008Ee-91 for 43209@debbugs.gnu.org; Sat, 05 Sep 2020 18:25:39 -0400 Original-Received: by mail-pj1-f49.google.com with SMTP id 2so4824700pjx.5 for <43209@debbugs.gnu.org>; Sat, 05 Sep 2020 15:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WbVd+wiMwtbzW2//B0oAldgubp32lq8WOk+VfUOSoH0=; b=Nwmf389f4L/est7DaG/IwTJxOiuvXlbcd4mVKN7/e7AIZAGqb9IKl0lw3Uf5qhLv9x Z8f3Y/tzV3KPUclGzoJ+DSiS5f/7M6tKd3i5W6PvQwpVrKlvwHp4PhDN2a1MP+EQVhDP CEe2L6oi7a5m9oS5HZcbH7xjxB7w0G2s+xxzlwCIUXFXQswU0rnQy5X6+Em4uuGYpQe+ oOkcPxZe2aCGhGMaJcpkR/M9fZSdt4h5Mr1pz25JRQ9NCPf6K6WAd+N3eI4QY4ANs/Z+ yqhs173GrQWM58PgFFKbfQGlbW9sVJdP3P1kK/ibprJjtkDifqJD0MWHAj2kRVGKkOK/ dvfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=WbVd+wiMwtbzW2//B0oAldgubp32lq8WOk+VfUOSoH0=; b=tKpQMntoX0Qo2N8laB63FXFjLQQU16rL4HDRjhOur5ssAlUv5CdCDU1OqPq6czNSdr xYSDWnQ3i8IlwNuSxdsSl9Yo7wUWk54IqryH0zohHPgelubGQiRiFn9bVtu4h6zKI0GI RsRIx9R0ucT3tQdIS4rMrEOb0SHcYIl9Fi8SHeKfC7U0Bhzp5jpZYrpJk1XWfDTD1uGa qrOubLsr+EvnEqL3oNKHTS5pieNpqX31FlJGGk59bjaeOAT25xm3QJEE7PV9OEyqoPGT LGo5sH5i+426HbiUkUVgrB+oJ9F+YKxi5qyFLYR7VKXYEl5GQgUfhMMWJ4UAfs6ADisi 4W/Q== X-Gm-Message-State: AOAM5322/Jy1jMOfFxKjt/CUsJ/PGCv2YCfRpO/vVmI7qGudHv8/QMgc cdotM8MNjxQJwjby3xqUi8gA0g== X-Google-Smtp-Source: ABdhPJxZSXe/bC5ITZWQVA/mac1tUpQQ6iWcFujWB3+0gNw2cbAxXtnk9dLbagSYEvJ3V0QrFiQl3Q== X-Received: by 2002:a17:902:7602:: with SMTP id k2mr13664978pll.97.1599344733312; Sat, 05 Sep 2020 15:25:33 -0700 (PDT) Original-Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id q127sm10474484pfb.61.2020.09.05.15.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2020 15:25:32 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Sat, 5 Sep 2020 07:28:08 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187302 Archived-At: Drew Adams writes: > I agree that `rectangle-mark-mode' requires > `transient-mark-mode' to be on. But only as > long as `rectangle-mark-mode' is on, i.e., > only as long as the region is active. > > After that, the previous state of > `transient-mark-mode' (on or off) should be > restored. > > "Active region" has no meaning outside of > `transient-mark-mode'. Anything, including > `rectangle-mark-mode', that requires the > notion (and behavior - e.g. highlighting) of > the "active region" needs `transient-mark-mode' > to be on (for the duration of that need). Sure. I refer to "active region with transient transient-mark-mode" as just "active region" for brevity. Basically, I'm saying that C-x SPC should do the same thing C-SPC C-SPC does when the user has set transient-mark-mode to nil in their config. The point of this bug is that C-x SPC does not activate the region (or does not transiently enable transient-mark-mode and then activate the region, if you prefer).