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: Wed, 23 Jun 2021 05:33:10 +0000 Message-ID: References: <80363w3owp.fsf@felesatra.moe> <87tum36zca.fsf@gnus.org> <8735te2ggd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009f471d05c5683ed6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43209-done@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 23 07:34:17 2021 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 1lvvWj-0003xw-BY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Jun 2021 07:34:17 +0200 Original-Received: from localhost ([::1]:52402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvvWi-000217-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Jun 2021 01:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvvWU-0001xr-Up for bug-gnu-emacs@gnu.org; Wed, 23 Jun 2021 01:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvvWU-0002Qh-Mu for bug-gnu-emacs@gnu.org; Wed, 23 Jun 2021 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvvWU-0000Ax-JF for bug-gnu-emacs@gnu.org; Wed, 23 Jun 2021 01:34:02 -0400 Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jun 2021 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43209 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 43209@debbugs.gnu.org, darkfeline@felesatra.moe, darkfeline@felesatra.moe Original-Received: via spool by 43209-done@debbugs.gnu.org id=D43209.1624426409616 (code D ref 43209); Wed, 23 Jun 2021 05:34:02 +0000 Original-Received: (at 43209-done) by debbugs.gnu.org; 23 Jun 2021 05:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:40245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvvVx-00009r-Ay for submit@debbugs.gnu.org; Wed, 23 Jun 2021 01:33:29 -0400 Original-Received: from mail-oi1-f179.google.com ([209.85.167.179]:34411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvvVv-00009d-4R for 43209-done@debbugs.gnu.org; Wed, 23 Jun 2021 01:33:27 -0400 Original-Received: by mail-oi1-f179.google.com with SMTP id u11so2085564oiv.1 for <43209-done@debbugs.gnu.org>; Tue, 22 Jun 2021 22:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4LFH2juO/QvAXeF6ptVsVGaPOl7c0lvNtM/D8Z3wVMw=; b=QGx4dZqF+uKgf6xoJgOiUhv6i+GTP1eHCCBosGF0ibuGDK/GeHLdxX/D0vbcMFCUxw 2dJSE5Td03oAzc1p0R5EcqeeqSjFBByHlqyd7D1I1QfJuPtfsXPmhp7p4J6gN8UeTOhi Ml8u2t8ILK94KOgdNnIul7DhOSh6DR1TJdQulcx+BttGLsiahoqKcs8mMmxyWoP0xCi6 ZWPL+mlb2K1w7kVJic6IiDHjslzYs88xhglLgOvqYU+wuu++u8Vb2jz+kWk6imVAi3Xw 7b0TCj/gXamddGZDickijsR4QckO1BoXNozpvnOWua0mTGtxB9EonjS2igTIiF+cqhwP 9dng== 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=4LFH2juO/QvAXeF6ptVsVGaPOl7c0lvNtM/D8Z3wVMw=; b=ci+mNaPRHB/PzbLMQuEwM5hHJFxXUmPhmKdDd/cbZApDP3bwDkh3OeM0xWVlkyrAnL FdO58A4SvhQ4EJVzrXdZmsu9wRWPcbHt0d/hSAUexDEfi5mxOh7I4lUNw4ABKjjHOclS h4e6SzMA3buySwZiq02I3DpQhwNU7WasjxwXitvKPEWF6zFpROYTweryhqvhGM5743Rq yT2drNozRcjOAhxPTRIxrgxgyEnLAUrIqbziXnBE8fHiZ2pt/+zKaChef81pX9YOqUi/ SJpqmr+YdzaGmWsNLA86jQjfczlaB7Df7rp7jlwpgocMSPk7yTrkA7MmFiildMlTM1FI pTVA== X-Gm-Message-State: AOAM530yzolqW9LvGa0wYcMDVrmp2jr3kROLSo2Ovy7OM3ndxYCLawDW qCIreYBOTAeMXSSMh282t/c6a1hS/Pkjafrt8sgG9A== X-Google-Smtp-Source: ABdhPJy50mqcD2rhm8SAK4PvtWWyGmt04ZlmQMmtSxYyJLycgYkFF6vhsH159MrO41pLuzwIDR/3Zl8Svn44kJhiHtM= X-Received: by 2002:a54:4412:: with SMTP id k18mr1942223oiw.170.1624426401444; Tue, 22 Jun 2021 22:33:21 -0700 (PDT) In-Reply-To: <8735te2ggd.fsf@gnus.org> 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:208886 Archived-At: --0000000000009f471d05c5683ed6 Content-Type: text/plain; charset="UTF-8" On Sat, Jun 19, 2021 at 12:21 PM Lars Ingebrigtsen wrote: > Allen Li writes: > > > I'm not quite sure I fully understand the suggestion -- do you mean that > > `C-x SPC' should switch transient-mark-mode on if it isn't already? > > (And then switch it off again in `deactivate-mark-hook'?) > > > > Behavior-wise, it should work the same as `C-SPC C-SPC` when > > transient-mark-mode is off, > > (temporarily enable transient-mark-mode and active region). > > I don't remember how that is implemented off the top of my head. > > We don't normally switch transient mark mode on (even temporarily) > unless the user has requested so (with `C-SPC C-SPC', for instance). So > I still don't understand why this rectangle command should do so. > > `C-x SPC' seems to work fine both with transient mode on or off, as far > as I can tell? > I suppose it does. I guess I originally did not appreciate how one could use rectangle-mark-mode with a non-active region, but it seems to work as the me today expects, so I'll close this bug. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --0000000000009f471d05c5683ed6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Jun 19, 2021 at 12:21 PM Lars Ing= ebrigtsen <larsi@gnus.org> wrot= e:
Allen Li <darkfeline@felesatra.moe> writes:

>=C2=A0 I'm not quite sure I fully understand the suggestion -- do y= ou mean that
>=C2=A0 `C-x SPC' should switch transient-mark-mode on if it isn'= ;t already?
>=C2=A0 (And then switch it off again in `deactivate-mark-hook'?) >
> Behavior-wise, it should work the same as `C-SPC C-SPC` when
> transient-mark-mode is off,
> (temporarily enable transient-mark-mode and active region).
> I don't remember how that is implemented off the top of my head.
We don't normally switch transient mark mode on (even temporarily)
unless the user has requested so (with `C-SPC C-SPC', for instance).=C2= =A0 So
I still don't understand why this rectangle command should do so.

`C-x SPC' seems to work fine both with transient mode on or off, as far=
as I can tell?

I suppose it does.=C2=A0= I guess I originally did not appreciate how one could use rectangle-mark-m= ode
with a non-active region, but it seems to work as the me toda= y expects, so I'll close this bug.
=C2=A0

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--0000000000009f471d05c5683ed6--