GNU bug report logs - #42663
28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Sean Whitton <spwhitton@HIDDEN>; Keywords: moreinfo; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 42663 <at> debbugs.gnu.org and Sean Whitton <spwhitton@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 42663 <at> debbugs.gnu.org:


Received: (at 42663) by debbugs.gnu.org; 22 Sep 2020 15:46:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 22 11:46:17 2020
Received: from localhost ([127.0.0.1]:32983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kKkUj-00016o-Bn
	for submit <at> debbugs.gnu.org; Tue, 22 Sep 2020 11:46:17 -0400
Received: from quimby.gnus.org ([95.216.78.240]:33382)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kKkUi-000119-D8
 for 42663 <at> debbugs.gnu.org; Tue, 22 Sep 2020 11:46:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=8OhQEUZB4k10vv1nZA/b41jf+zRUY2WxtGrKTUDj0mg=; b=kzh4pW4fr7texjOZGcC16WidFw
 p35nwGNubWjeOKLfFJGkubDHIZnO6V2zMYTqxKnbwPbBFSOjC1hGrFFH4e6jH0hYvLnVRCe0y9c4F
 m2noVxWq1yw+ByZEmjiH+sArqT09cn5sxgAAkOa1ttjcKpq2grdPLQCNP1PhQVuQweqE=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kKkUZ-0004IU-K3; Tue, 22 Sep 2020 17:46:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as
 documented when transient-mark-mode is off
References: <87a6zdwugl.fsf@HIDDEN> <838sexcf1l.fsf@HIDDEN>
X-Now-Playing: Pet Shop Boys's _Bilingual_: "It always comes as a surprise"
Date: Tue, 22 Sep 2020 17:46:06 +0200
In-Reply-To: <838sexcf1l.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 02 Aug
 2020 17:12:38 +0300")
Message-ID: <873639g6gx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: > I'm not sure the current
    behavior you described is a bug. You seem to > be so confident it is that
    you haven't even provide an explanation why > you think so, and a naïve
   reading of the doc string [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42663
Cc: 42663 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> I'm not sure the current behavior you described is a bug.  You seem to
> be so confident it is that you haven't even provide an explanation why
> you think so, and a na=C3=AFve reading of the doc string doesn't make that
> obvious (e.g., "if needed" could cover item 1).  In general, when
> transient-mark-mode is off, Emacs behaves differently than when it's
> on, and that's by design.
>
> So could you please provide a more detailed explanation why you think
> these are bugs?

More information was requested some months ago, but none was received,
so I'm closing this bug report.  If this is still a problem, please
respond to the debbugs mail address, and we'll reopen.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42663; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 42663 <at> debbugs.gnu.org:


Received: (at 42663) by debbugs.gnu.org; 2 Aug 2020 14:13:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 10:13:00 2020
Received: from localhost ([127.0.0.1]:43066 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k2EjU-0007HY-KE
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2020 10:13:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:44070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1k2EjT-0007HL-U4
 for 42663 <at> debbugs.gnu.org; Sun, 02 Aug 2020 10:13:00 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:50844)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1k2EjO-0003BC-MT; Sun, 02 Aug 2020 10:12:54 -0400
Received: from [176.228.60.248] (port=4766 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1k2EjN-0007pA-HC; Sun, 02 Aug 2020 10:12:54 -0400
Date: Sun, 02 Aug 2020 17:12:38 +0300
Message-Id: <838sexcf1l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
In-Reply-To: <87a6zdwugl.fsf@HIDDEN> (message from Sean Whitton
 on Sat, 01 Aug 2020 21:19:22 -0700)
Subject: Re: bug#42663: 28.0.50;
 rectangle-mark-mode does not behave as documented when
 transient-mark-mode is off
References: <87a6zdwugl.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42663
Cc: 42663 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sean Whitton <spwhitton@HIDDEN>
> Date: Sat, 01 Aug 2020 21:19:22 -0700
> 
> rectangle-mark-mode's docstring says
> 
>     Toggle the region as rectangular.  Activates the region if needed.
>     Only lasts until the region is deactivated.
> 
> However, when Transient Mark mode is off,
> 
> 1) the region does not get activated by C-x SPC;
> 
> 2) the mode lasts until the mark is subsequently activated and then
>    deactivated again; and
> 
> 3) rectangle-mark-mode works inconsistently until the mark is activated:
>    killing the region kills the rectangle, but C-x C-x does not rotate
>    through the four corners of the rectangle.
> 
> I think the simplest fix might be for rectangle-mark-mode to activate
> the mark even when Transient Mark mode is off.  I think I'll probably
> add that to my own configuration, where Transient Mark mode is off.

I'm not sure the current behavior you described is a bug.  You seem to
be so confident it is that you haven't even provide an explanation why
you think so, and a na´ve reading of the doc string doesn't make that
obvious (e.g., "if needed" could cover item 1).  In general, when
transient-mark-mode is off, Emacs behaves differently than when it's
on, and that's by design.

So could you please provide a more detailed explanation why you think
these are bugs?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42663; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 04:19:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 00:19:32 2020
Received: from localhost ([127.0.0.1]:41366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k25TA-0005jm-KC
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2020 00:19:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:47428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1k25T7-0005jc-Ly
 for submit <at> debbugs.gnu.org; Sun, 02 Aug 2020 00:19:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50264)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1k25T7-0004lC-DJ
 for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2020 00:19:29 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:41247)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1k25T5-0006pW-E7
 for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2020 00:19:29 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.west.internal (Postfix) with ESMTP id 7B108FD9
 for <bug-gnu-emacs@HIDDEN>; Sun,  2 Aug 2020 00:19:24 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Sun, 02 Aug 2020 00:19:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=from:to:subject:date:message-id:mime-version:content-type; s=
 fm3; bh=Ybl2fe3viwYJ6c9Ru8YFqCDysY6jgglyLKUfF0GpMtw=; b=KUjmgwKU
 nRn7kYr5Oydzu6uwesnXsdP4MyUkp7839oQbahHgcHjwjw9FgPAKKcMrlPAY3ADg
 INHqUuSDH5E4kXxK7xApE4DS5r5Evoh1CXWfLQxaPDsA/W6/luJxUEAGUWWp0u9C
 NT3Vsw3qVxB0fFJf2lTng1IfbjLZNvUbp17lNQ05EwoE3qwzh6mOQ1w1Yqd/m/ma
 4GF5BcAkS9P/qSiOITLl7i5AT5vmJigCdfsqbn3H2M4ti+Mw6JJmyvd/SmjXG4cT
 /UcdHVEIsYNcCDmjdQeRHHY3Ld+fYpV/mwd/g+RcLGUVU8YQGwoXOxfoB++pQ7kQ
 RUy9D5L6LcjsUw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=Ybl2fe3viwYJ6c9Ru8YFqCDysY6jg
 glyLKUfF0GpMtw=; b=p2/O/BIcRVpDvwE4k/1jZFS65yYIAxeDOtXlIXVbK1VA1
 NDjJSlmu6X/870x67+NBLh6twikh5cBG4JT8S48S6P3HmymNau4QX2/tAiKfi2ah
 nZqPSWfnwDP2hsIEj8QIESCsvJ90jPMAp9rh/AOjNxESgWw+8NO5JdG7udOVEfh3
 lkD9qNHiQyu0OUyKIlAtU+qNqYoPMi+2e2s6LvNqV2Tx0BhRXehT5vzfc78hatzp
 KzMK0BCnpTQ54fMgmCxvU4f/oH/IgTqJI5hgIT4Wh1SLYGjglYo1v7JQAs4rbi+G
 Q0SyUBg8qrlU9rQO77PfA1f1jwfztij4x8Lq4iyzg==
X-ME-Sender: <xms:yz4mX2sIwMbbsjMsOQGLmCFyu0PYVPec9rZuohG0XAL3eT7jnHGxQA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrjedugdekgecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd
 enucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihh
 ihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeelleegjeehvdehgeehgfefge
 dvhfdvfefffeehjedtgeefheffiedtfeetjeeuheenucevlhhushhtvghrufhiiigvpedt
 necurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtoh
 hnrdhnrghmvg
X-ME-Proxy: <xmx:yz4mX7fT7ftkEcJ0lounUsSq0TEdj3zmPpnenByK0rsOZLbb2qfOBA>
 <xmx:yz4mXxznjcaZe71PnGR2Rwlitivl7KIMtNRc7aHHfRNzZ1qrPCrahA>
 <xmx:yz4mXxP7waILHn4QWa_cd3Xqg2W7OxAAN7EsUwJi_7gtwetMu6AB7A>
 <xmx:zD4mXwdkftITz018i9BeaAcSzL0KOw4BwMhoLevLZcxzhAtoZR6DFQ>
From: Sean Whitton <spwhitton@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; rectangle-mark-mode does not behave as documented when
 transient-mark-mode is off
Date: Sat, 01 Aug 2020 21:19:22 -0700
Message-ID: <87a6zdwugl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.25;
 envelope-from=spwhitton@HIDDEN; helo=wout2-smtp.messagingengine.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 00:19:24
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Hello,

rectangle-mark-mode's docstring says

    Toggle the region as rectangular.  Activates the region if needed.
    Only lasts until the region is deactivated.

However, when Transient Mark mode is off,

1) the region does not get activated by C-x SPC;

2) the mode lasts until the mark is subsequently activated and then
   deactivated again; and

3) rectangle-mark-mode works inconsistently until the mark is activated:
   killing the region kills the rectangle, but C-x C-x does not rotate
   through the four corners of the rectangle.

I think the simplest fix might be for rectangle-mark-mode to activate
the mark even when Transient Mark mode is off.  I think I'll probably
add that to my own configuration, where Transient Mark mode is off.

-- 
Sean Whitton




Acknowledgement sent to Sean Whitton <spwhitton@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#42663; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 22 Sep 2020 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.