From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 00:19:32 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 04:19:33 +0000 Received: from localhost ([127.0.0.1]:41366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k25TA-0005jm-KC for submit@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 ) id 1k25T7-0005jc-Ly for submit@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 ) id 1k25T7-0004lC-DJ for bug-gnu-emacs@gnu.org; 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 ) id 1k25T5-0006pW-E7 for bug-gnu-emacs@gnu.org; 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 ; 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrjedugdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihh ihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeelleegjeehvdehgeehgfefge dvhfdvfefffeehjedtgeefheffiedtfeetjeeuheenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtoh hnrdhnrghmvg X-ME-Proxy: From: Sean Whitton To: bug-gnu-emacs@gnu.org 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@iris.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.25; envelope-from=spwhitton@spwhitton.name; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 10:13:00 2020 Received: (at 42663) by debbugs.gnu.org; 2 Aug 2020 14:13:00 +0000 Received: from localhost ([127.0.0.1]:43066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2EjU-0007HY-KE for submit@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 ) id 1k2EjT-0007HL-U4 for 42663@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii To: Sean Whitton In-Reply-To: <87a6zdwugl.fsf@iris.silentflame.com> (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@iris.silentflame.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sean Whitton > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 12:02:17 2020 Received: (at control) by debbugs.gnu.org; 13 Aug 2020 16:02:17 +0000 Received: from localhost ([127.0.0.1]:50765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6FgE-0006zJ-9x for submit@debbugs.gnu.org; Thu, 13 Aug 2020 12:02:17 -0400 Received: from mail-yb1-f182.google.com ([209.85.219.182]:34449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6FgA-0006ru-FB for control@debbugs.gnu.org; Thu, 13 Aug 2020 12:02:11 -0400 Received: by mail-yb1-f182.google.com with SMTP id c9so3593065ybq.1 for ; Thu, 13 Aug 2020 09:02:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=jc5ZcuNYpefuQdMp/7YGJOUo/HU4/8q8v5OPE7zOuJI=; b=E8c2P7od8Ut09rS7icsQ6aNox9HgCR8uxsXhdDvHNH9xsa2n3b4etjL+YIt8n/0ID2 uh4oITHO8keqKi6B54K/8ePDKOcN9lFE3yMR3S703ETkgcxEo9spA6mzKb+Wiyr9fHqr JCgRFnwOTJqQXM2/F4CDR0F2UG+vXhixtgdips7NaWi4QP64gc9Wjb+nmf1iP+z/+RXj LM5LsmPb0kQdMd5hwOubH/Yt6Ak7jSwjDRjJoGA0U9zgnVTp8EqxDG4Ua89Fd3m3iKMD 2co0hQdGnQO+BnOwK657lhlXrxt3VpNe5uiiXKFWrMRhJeRnUqUGKLv55tEfx+QujvSv U8MA== X-Gm-Message-State: AOAM530G3Bke05c9BaYEQ9fnnVjvz0H8u/zvjiiNZYuVOKlpk1LFULol xIUB28Y/UbwvxJBWfGVSU/BW5zw9rXxy+5D6YvKdB+rJrAk= X-Google-Smtp-Source: ABdhPJyW6CWsruz0/6cvzzJyX6LOjHmIDN5JVqIjGSqDzMud9XzC7fJfYbVfHwEysfsYzaxNsdV1D0vvvyoeU+An5jc= X-Received: by 2002:a25:7007:: with SMTP id l7mr7511911ybc.85.1597334524851; Thu, 13 Aug 2020 09:02:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Aug 2020 09:02:04 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 13 Aug 2020 09:02:04 -0700 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: tags 42663 + moreinfo thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.182 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.182 listed in wl.mailspike.net] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 42663 + moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 11:46:17 2020 Received: (at 42663) by debbugs.gnu.org; 22 Sep 2020 15:46:17 +0000 Received: from localhost ([127.0.0.1]:32983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKkUj-00016o-Bn for submit@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 ) id 1kKkUi-000119-D8 for 42663@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 ) id 1kKkUZ-0004IU-K3; Tue, 22 Sep 2020 17:46:10 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off References: <87a6zdwugl.fsf@iris.silentflame.com> <838sexcf1l.fsf@gnu.org> 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@gnu.org> (Eli Zaretskii's message of "Sun, 02 Aug 2020 17:12:38 +0300") Message-ID: <873639g6gx.fsf@gnus.org> 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 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@debbugs.gnu.org, Sean Whitton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 11:46:23 2020 Received: (at control) by debbugs.gnu.org; 22 Sep 2020 15:46:23 +0000 Received: from localhost ([127.0.0.1]:32986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKkUo-0001Ba-Oo for submit@debbugs.gnu.org; Tue, 22 Sep 2020 11:46:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKkUn-00015t-KX for control@debbugs.gnu.org; Tue, 22 Sep 2020 11:46:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L5umz1yYT2Jaj/NHbcr7a1r4dY1wUbgrFnDqC7M0MjE=; b=RDTfQ7Tawu59vD+mu6PW9lpAOe djPNi3kgXx1tLGxnyNS69POoJ23X+ZkaF8JHGJwr5DMS3XPAKQEedaARaAAYPRjGbqSZOGRZ7Jyq1 ysN6gjd1aeZqV7SKN8Fx882XOsQDkYHeCSh9Ii0YxBWFYNr7pXAzaXrmmzSMmeKhmSow=; 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 ) id 1kKkUf-0004Id-VL for control@debbugs.gnu.org; Tue, 22 Sep 2020 17:46:16 +0200 Date: Tue, 22 Sep 2020 17:46:12 +0200 Message-Id: <871ritg6gr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42663 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: close 42663 quit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 42663 quit From unknown Sat Jun 21 10:46:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Oct 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 16:40:36 2021 Received: (at control) by debbugs.gnu.org; 24 Dec 2021 21:40:37 +0000 Received: from localhost ([127.0.0.1]:38212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sIm-00031a-OW for submit@debbugs.gnu.org; Fri, 24 Dec 2021 16:40:36 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sIk-00031M-Nr for control@debbugs.gnu.org; Fri, 24 Dec 2021 16:40:35 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A3CDD5C00AB for ; Fri, 24 Dec 2021 16:40:29 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 24 Dec 2021 16:40:29 -0500 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= fm1; bh=NaujYv/iMaQZcGjLmoF291atOAszRlwdigCdQTlaMPw=; b=R7pNwfLF au2oRquO3VWCK82XWKNLlXMcYC0+bBbOTSvg5U/+ynPMyNFF6yTsWgblMQJ5rq0R zIC2lHi9lVE6ZcdN8tsYsDax14jhLVqOarwsQmidyIfqhgZjhwLm4BwYRVjA69qi fOqTd+GYMJGQYVajvcM8i79r+LbsZJZVxWATuZVp/uqZ8G4HRvTk84mrh8G6/9RP D8ThIBNrPqN00Fhy1ghMAm5UolXGg95EiOOiqGZWp4nhVGW4pv5bm16rPkVXfPMf 9w4TX0BxRGHB20tYpJwI/ehzpuBnP39wCoQmJysiHrjRV9X+GMhPHGD47HAFKAO7 qBgMHYk+ge/5Pw== 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=fm1; bh=NaujYv/iMaQZcGjLmoF291atOAszR lwdigCdQTlaMPw=; b=nNR2Bt54y2n7LN3IqQiohtFWGo96+JFWW2niKi+HzP9L5 yegVqBhR99D4olChNNdVhM85or6yWz/dEjhj9PBoL8OQNzJ0J1UDO7ks8cuaemtD qEPvB1l057edQxYXxd7jhtmlY+DdfEPpmOhwRvIx14+9SoopteKFsN2xmnwACXf2 1gqbAoHQ8vuGJVbILHOezL/r0X6nPi2pugEO3uvBvjcf7At3x3T3lVpSqwLEU750 uifm1nvP/ulm0327SEoz98bBQ5BEotj8c7mVfoT5k2fcKfG/mfsgp0AHrovvgNK4 l/Tg14bqImjluWd3J0E8ZgkXlKDHWVlLeSuQdcQbQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddutddgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgffffkgggtsehttddttd dtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehs phifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepkeffveegfeetvdetud fhtefffeefheehkeejfeehieffvdejleeltedtueeivdeinecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhih htthhonhdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 24 Dec 2021 16:40:29 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id 725FA7E9905; Fri, 24 Dec 2021 14:40:27 -0700 (MST) From: Sean Whitton To: control@debbugs.gnu.org Subject: unarchive & reopen for comments User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Fri, 24 Dec 2021 14:40:27 -0700 Message-ID: <87pmpl1y2c.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) unarchive 42663 reopen 42663 thanks -- Sean Whitton From unknown Sat Jun 21 10:46:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Fri, 24 Dec 2021 21:41:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 16:41:59 2021 Received: (at 42663) by debbugs.gnu.org; 24 Dec 2021 21:41:59 +0000 Received: from localhost ([127.0.0.1]:38219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sK7-00034T-0U for submit@debbugs.gnu.org; Fri, 24 Dec 2021 16:41:59 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sK5-00034E-Ev for 42663@debbugs.gnu.org; Fri, 24 Dec 2021 16:41:57 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5F17C5C002F; Fri, 24 Dec 2021 16:41:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 24 Dec 2021 16:41:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:in-reply-to:date:message-id:mime-version :content-type; s=fm1; bh=F+pqNG5SPcCkyJuCqg/NMXAgOo8Y7vOA+MGpsDs L1Tk=; b=llYoOd6UerZ3w2bIN9xwd4OKvksFQa5qw4xJqNHHk6TxQczsiBXhEWW uybCdyD2IM5V+qJokTyF7gXG32HSi1BF8JazXK29BsY/fmy6e4xZ6vKhpG0qPCCY QVb1L20VmhieIgn5gz68JyjhreQ/PEiavE32W5QYHLfG387X+CYK1Agw1f3k5RdJ KlNKFxsb3+0iCT+yCGhLlKkDBOO4XMtt5iGFEN6O013LLUaVI5pRc7WsLqM2+QFE pVFXF6tAG3l6p+tmg/8o3Dd8MSdFbIib0cJN74cMESlbpXLmNRpXLNR+V3ToyudC ulJr+mla4rD+g8RtDTdzFh95avjaCdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=F+pqNG5SPcCkyJuCq g/NMXAgOo8Y7vOA+MGpsDsL1Tk=; b=b1Fk4XowPucyXkt8WsBtDkBsjWmkgiLP/ LbDtw4EJMYzqzLpZcHgQJPZRxJQqAcCYqEJ2stxU//Q//542fiSyLCmmFirIHGA6 xKbDQiBRAU5ZHSe92Qyq3kiK9IrW+Rw8Yy9deFz+wX3XgBgX3UUtwoTziwwQTrnK hrGDB+zF9ZBW1tLzSXPvx10E5E+Ljnu/BiL+FhlVUMIw+GFzWBciR459cCPjQPv6 QDZdDeK84UuTbQ4HRAnLviMaOkC6BE7jevW0oVv+pQFC0VblDpY0qgXKa6vS/a3W 8IVcwBRskaL1dR9fiTQcQ4+Xyt3DppzW334ywNRH1+tmru4cgMioA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddutddgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujgffkfggtgesmhdttdertddtjeenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpefhvdevfeevjeejgeeuvddtkedulefgvdeivdeugeejffejheei hfelleeggfffhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Dec 2021 16:41:52 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id 259287E9905; Fri, 24 Dec 2021 14:41:51 -0700 (MST) From: Sean Whitton To: Eli Zaretskii , 42663@debbugs.gnu.org Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off In-Reply-To: <838sexcf1l.fsf@gnu.org> X-TUID: DTbuJlV5Ll1w Date: Fri, 24 Dec 2021 14:41:51 -0700 Message-ID: <87o8551y00.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42663 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable control: tag -1 + patch - moreinfo Hello, On Sun 02 Aug 2020 at 05:12PM +03, Eli Zaretskii wrote: > 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? Apologies, it was not my intention to suggest that I'm sure the behaviour should change. I reported a bug because I found what seemed like inconsistencies between the documentation and the behaviour of the command. From my point of view, improving the documentation without changing the behaviour of the command would resolve the issue. Thus, I'm attaching a documentation patch. Hope it can be installed. --=20 Sean Whitton --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Improve-rectangle-mark-mode-documentation-regarding-.patch >From cf87b92aef2013b1d5a72a980f1f958f00222775 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 24 Dec 2021 14:31:35 -0700 Subject: [PATCH] Improve rectangle-mark-mode documentation regarding mark activation * doc/emacs/killing.texi: * lisp/rect.el (rectangle-mark-mode): State that rectangle-mark-mode does not activate the mark when Transient Mark mode is off. State that the mode persists until the next time the region becomes inactive; if rectangle-mark-mode does not activate the mark, then the mode persists until the region is both activated and subsequently deactivated. Qualify discussion of rectangle-exchange-point-and-mark to say that it cycles the four corners only when the region is active. --- doc/emacs/killing.texi | 20 ++++++++++---------- lisp/rect.el | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index 375ac970d7..f6458e8c8b 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi @@ -923,11 +923,11 @@ Rectangles @findex rectangle-mark-mode The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) toggles whether the region-rectangle or the standard region is highlighted -(first activating the region if necessary). When this mode is enabled, -commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.)@: do -so in a rectangular fashion, and killing and yanking operate on the -rectangle. @xref{Killing}. The mode persists only as long as the -region is active. +(first activating the region if necessary, unless Transient Mark mode +is off). When this mode is enabled, commands that resize the region +(@kbd{C-f}, @kbd{C-n} etc.)@: do so in a rectangular fashion, and +killing and yanking operate on the rectangle. @xref{Killing}. The +mode persists until the next time the region becomes inactive. Unlike the standard region, the region-rectangle can have its corners extended past the end of buffer, or inside stretches of white space @@ -937,11 +937,11 @@ Rectangles @findex rectangle-exchange-point-and-mark @findex exchange-point-and-mark@r{, in rectangle-mark-mode} @kindex C-x C-x@r{, in rectangle-mark-mode} -When the region is in rectangle-mark-mode, @kbd{C-x C-x} runs the -command @code{rectangle-exchange-point-and-mark}, which cycles between -the four corners of the region-rectangle. This comes in handy if you -want to modify the dimensions of the region-rectangle before invoking -an operation on the marked text. +When the region is active and in rectangle-mark-mode, @kbd{C-x C-x} +runs the command @code{rectangle-exchange-point-and-mark}, which +cycles between the four corners of the region-rectangle. This comes +in handy if you want to modify the dimensions of the region-rectangle +before invoking an operation on the marked text. @node CUA Bindings @section CUA Bindings diff --git a/lisp/rect.el b/lisp/rect.el index d288adfbaf..80f992e182 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -651,7 +651,8 @@ rectangle-mark-mode-map (define-minor-mode rectangle-mark-mode "Toggle the region as rectangular. -Activates the region if needed. Only lasts until the region is deactivated." +Activates the region if it's inactive and Transient Mark mode is +on. Only lasts until the region is next deactivated." :lighter nil (rectangle--reset-crutches) (when rectangle-mark-mode -- 2.30.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 16:42:51 2021 Received: (at control) by debbugs.gnu.org; 24 Dec 2021 21:42:51 +0000 Received: from localhost ([127.0.0.1]:38225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sKx-00036Q-FO for submit@debbugs.gnu.org; Fri, 24 Dec 2021 16:42:51 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sKw-00036D-6n for control@debbugs.gnu.org; Fri, 24 Dec 2021 16:42:50 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2114F5C007A for ; Fri, 24 Dec 2021 16:42:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 24 Dec 2021 16:42:45 -0500 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= fm1; bh=p1gCe6jryccZpyhlLGUxHlmWMmxoG3jD5SPxCBI8Q94=; b=CDaC3dgj WOrDcjhf8lF2sw6l5fkDUwLiqYnsMy5QD1Pc61iODKc2ywA2CDhCF5HbIDUJ8/TV VALFKGCtWkoTAR2R9SRXtBGbc1lOQy7MbLJsjXGRbzlTZajoxVoJ6uFidBCIUCRk n8ToaLSJpik62K+2Uc9/Ky1xgutM6Egehct3M5k0WYcnAh/HKJ1ttL/kkkzKQGbU RQhbh9t9oJi8pEnG7CULIpcs67q0B94Wwr9NjuJq8mUQkB4+A93/6D4XjRZNACLl m3R51FWkTXF9P9gVcfBG2+71kfg8W40c+KzWb2bCduOxsaNo7x+7sDxwpRo4d3oN jCppwIYM6UjDYQ== 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=fm1; bh=p1gCe6jryccZpyhlLGUxHlmWMmxoG 3jD5SPxCBI8Q94=; b=iFT1DxfHUn7t7iiZrXcWh/57Y1CW0kHhkHQykuGELEjpn S9OvYaB671fz5SXLylCecZxT43J7cqiDBnosGAI3lCJvPGdzPJKK4IG93vlpz5XX bktrIKPqjV/zKaW9BNr5FTkFWF4a40cvomEzsKz4Ov/NQbS+Yptp0S5S1VsGMXFZ +sdmxVZnx5x6AIPY5CSo9LwO3WggL87mA2TZJtarz66tc8ELRGqYWyR75jQta0zc uVfm2G4pmUQhd8xaaODtrJkgitEbHPkoF76rO7Fp/bNvqoG3QmHOT41vq5MDdTkZ J2Elf2XCX8ExKjwkfWl5rOugTUKMFGRprNg1B0qRg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddutddgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgffffkgggtsehttddttd dtredtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehs phifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepkeffveegfeetvdetud fhtefffeefheehkeejfeehieffvdejleeltedtueeivdeinecuvehluhhsthgvrhfuihii vgepudenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhih htthhonhdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 24 Dec 2021 16:42:44 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id 527BC7E9905; Fri, 24 Dec 2021 14:42:44 -0700 (MST) From: Sean Whitton To: control@debbugs.gnu.org Subject: update tags User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Fri, 24 Dec 2021 14:42:44 -0700 Message-ID: <87lf091xyj.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tag 42663 - moreinfo + patch thanks -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 02:55:33 2021 Received: (at 42663) by debbugs.gnu.org; 25 Dec 2021 07:55:33 +0000 Received: from localhost ([127.0.0.1]:38471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n11ts-0002XQ-Qu for submit@debbugs.gnu.org; Sat, 25 Dec 2021 02:55:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n11tr-0002XB-5W for 42663@debbugs.gnu.org; Sat, 25 Dec 2021 02:55:31 -0500 Received: from [2001:470:142:3::e] (port=40094 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n11tl-00061B-Pm; Sat, 25 Dec 2021 02:55:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IepkDd8hS4Q0/rMEx4C4Mwl2OPPeUUTgiQrwQBET97U=; b=K5EEMGPQtDf0 wxjKmrNHY0p84y/dzPJedF7wu3Uq/BGTD5kEludy3SnLkOSht6vyA+LS5eH+Z3SA6fqC/J+mQZdbF vpG2bDRtDV8Z0eD9JrH/1ChvkuDd5Xkl7CXco4vui5kCvZ2fo3hcx3n9VIyr9ao1LWfRoK2n3/lfA EjYJC2oXAoeZbcbo05/yEkOiBbFbEwUUTZ0bJEF7dA2qeYFzztFOLOk1Dj3YPNJ6BV0GD/jid/1pZ G65Z8b/F8b0X38wsztOAFN2vj6AYChGsim3H2hNf48ypalvvhAxByvi/A+HS5g5Nkp3zqxkRe+uSX KoCAuCGQry3kOdyNMYxG1A==; Received: from [87.69.77.57] (port=4612 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n11tl-0002ub-NQ; Sat, 25 Dec 2021 02:55:26 -0500 Date: Sat, 25 Dec 2021 09:55:36 +0200 Message-Id: <83r1a1qft3.fsf@gnu.org> From: Eli Zaretskii To: Sean Whitton In-Reply-To: <87sfuh1y3h.fsf@melete.silentflame.com> (message from Sean Whitton on Fri, 24 Dec 2021 14:39:46 -0700) Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off References: <87sfuh1y3h.fsf@melete.silentflame.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42663 Cc: 42663@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sean Whitton > Date: Fri, 24 Dec 2021 14:39:46 -0700 > > Apologies, it was not my intention to suggest that I'm sure the > behaviour should change. I reported a bug because I found what seemed > like inconsistencies between the documentation and the behaviour of the > command. From my point of view, improving the documentation without > changing the behaviour of the command would resolve the issue. > > Thus, I'm attaching a documentation patch. Hope it can be installed. Thanks. I have a couple of comments: > --- a/doc/emacs/killing.texi > +++ b/doc/emacs/killing.texi > @@ -923,11 +923,11 @@ Rectangles > @findex rectangle-mark-mode > The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) toggles > whether the region-rectangle or the standard region is highlighted > -(first activating the region if necessary). When this mode is enabled, > -commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.)@: do > -so in a rectangular fashion, and killing and yanking operate on the > -rectangle. @xref{Killing}. The mode persists only as long as the > -region is active. > +(first activating the region if necessary, unless Transient Mark mode > +is off). When this mode is enabled, commands that resize the region > +(@kbd{C-f}, @kbd{C-n} etc.)@: do so in a rectangular fashion, and > +killing and yanking operate on the rectangle. @xref{Killing}. The > +mode persists until the next time the region becomes inactive. The new text is IMO not accurate, because toggling the mode doesn't depend on Transient Mark mode. It's the "active mark" state that depends on Transient Mark mode, in the sense that the mark doesn't automatically become active when Transient Mark mode is off and set-mark-command or push-mark is called. So I think a better documentation change would be to say that rectangle mark mode only works when the mark is active, and point to "Disabled Transient Mark" node of the manual for how to do that when Transient Mark mode is off. This should probably be a separate paragraph, after the current text. > +When the region is active and in rectangle-mark-mode, @kbd{C-x C-x} After "when the region is active", I would add a cross-reference to "Mark", where this is described. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 15:04:17 2021 Received: (at 42663) by debbugs.gnu.org; 27 Dec 2021 20:04:17 +0000 Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1wEC-00013P-Hn for submit@debbugs.gnu.org; Mon, 27 Dec 2021 15:04:16 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1wEB-000136-0A for 42663@debbugs.gnu.org; Mon, 27 Dec 2021 15:04:15 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3DC7D3200F88; Mon, 27 Dec 2021 15:04:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 27 Dec 2021 15:04:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=B+llDh9Uz5FZ3/drWnJNd9oMaa TUrG00axK4JaQ3DME=; b=GmrcZzBGZ8DR5rpl3zcLpiNtQLatADN4W16Q9/IK4V QgLLSbnFBTFdzplqiHe2+aIayA/cVFmfyOyhdaJhfVSvq4Djhe5iOT+gKZIk1gTh wX4d4zkkgPEy+3iTEeecdrwp0U9Nszwa1XOrTLOsHG37U8mlaztzRjgarU6teIit qxkU8l9SCnDWXeD1iZYisDcnszYxcA79qADkQCm8My8hsehpEc4w10hCnn3WUoM/ +RcYDvbbBVcKlPV/S7HM/44WAZA5RdFglmRqyFYlGYMJwe8G9bwU3ohkLzm2oRCz 5eFAQeS5IxJXnQIvrL2hXUPfpN7jjDs3JYKcwzmCTJFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=B+llDh 9Uz5FZ3/drWnJNd9oMaaTUrG00axK4JaQ3DME=; b=Q4J96Op927SLsRJ3nbafWJ 4kMLPuYOWVl1DS2sWT2yQnveFdxOnX+CDo50YIT44m6Un1XZH6bww45o2+8ykCYB Teg6oQzhj3h0mhWzW+bw3VKzmg8zjPkvhsUuRfgSWiDgdQNEn0cMavUWKNvZ3/K6 HK3QWZCFqKRN7/YnXbUpuRqzmH3qphiFn1ThCRxk6vqnn2oMzwJ0pprA324a0tKS yzC7k0EteMHUeitpL+1l/OV12AUHKrEnbJXl4KsBVsF1grzxqRu0VONmDNX6+kur nH/7cGHYNOv3zm99yQ7YqxLYv9YwuakcHhdFneZODQe1/kyHRX9uW3AjpyrTFdLQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddujedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesmhdttdertdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpefgueeutedvkeffgedvveetheejieetvdduvdffheevgfet vdfghfetteffvdevjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Dec 2021 15:04:08 -0500 (EST) Received: by melete.silentflame.com (Postfix, from userid 1000) id B4DF87F7FAA; Mon, 27 Dec 2021 13:04:07 -0700 (MST) From: Sean Whitton To: Eli Zaretskii , 42663@debbugs.gnu.org Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off In-Reply-To: <83r1a1qft3.fsf@gnu.org> References: <87sfuh1y3h.fsf@melete.silentflame.com> <83r1a1qft3.fsf@gnu.org> User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Mon, 27 Dec 2021 13:04:07 -0700 Message-ID: <87a6glzufc.fsf@melete.silentflame.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42663 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Hello, On Sat 25 Dec 2021 at 09:55AM +02, Eli Zaretskii wrote: >> --- a/doc/emacs/killing.texi >> +++ b/doc/emacs/killing.texi >> @@ -923,11 +923,11 @@ Rectangles >> @findex rectangle-mark-mode >> The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) toggles >> whether the region-rectangle or the standard region is highlighted >> -(first activating the region if necessary). When this mode is enabled, >> -commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.)@: do >> -so in a rectangular fashion, and killing and yanking operate on the >> -rectangle. @xref{Killing}. The mode persists only as long as the >> -region is active. >> +(first activating the region if necessary, unless Transient Mark mode >> +is off). When this mode is enabled, commands that resize the region >> +(@kbd{C-f}, @kbd{C-n} etc.)@: do so in a rectangular fashion, and >> +killing and yanking operate on the rectangle. @xref{Killing}. The >> +mode persists until the next time the region becomes inactive. > > The new text is IMO not accurate, because toggling the mode doesn't > depend on Transient Mark mode. It's the "active mark" state that > depends on Transient Mark mode, in the sense that the mark doesn't > automatically become active when Transient Mark mode is off and > set-mark-command or push-mark is called. > > So I think a better documentation change would be to say that > rectangle mark mode only works when the mark is active, and point to > "Disabled Transient Mark" node of the manual for how to do that when > Transient Mark mode is off. This should probably be a separate > paragraph, after the current text. Yes, that's better, thank you. Revised patch enclosed. -- Sean Whitton --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=v2-0001-Improve-rectangle-mark-mode-documentation-regardi.patch >From 6b7d5550ce7a5b72712730248f9d8f07f15e7483 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 27 Dec 2021 12:58:25 -0700 Subject: [PATCH v2] Improve rectangle-mark-mode documentation regarding mark activation * doc/emacs/killing.texi: Describe how rectangle-mark-mode works when Transient Mark mode is off. Qualify discussion of rectangle-exchange-point-and-mark to say that it cycles the four corners only when the region is active. * lisp/rect.el (rectangle-mark-mode): State that rectangle-mark-mode does not activate the mark when Transient Mark mode is off. Reword sentence about how long the mode lasts to account for when Transient Mark mode is off. --- doc/emacs/killing.texi | 16 +++++++++++----- lisp/rect.el | 3 ++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index 375ac970d7..3815c0fef6 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi @@ -929,6 +929,11 @@ Rectangles rectangle. @xref{Killing}. The mode persists only as long as the region is active. +The region-rectangle works only when the mark is active. In +particular, when Transient Mark mode is off (@pxref{Disabled Transient +Mark}), in addition to typing @kbd{C-x @key{SPC}} you will need to +activate the mark. + Unlike the standard region, the region-rectangle can have its corners extended past the end of buffer, or inside stretches of white space that point normally cannot enter, like in the middle of a TAB @@ -937,11 +942,12 @@ Rectangles @findex rectangle-exchange-point-and-mark @findex exchange-point-and-mark@r{, in rectangle-mark-mode} @kindex C-x C-x@r{, in rectangle-mark-mode} -When the region is in rectangle-mark-mode, @kbd{C-x C-x} runs the -command @code{rectangle-exchange-point-and-mark}, which cycles between -the four corners of the region-rectangle. This comes in handy if you -want to modify the dimensions of the region-rectangle before invoking -an operation on the marked text. +When the region is active (@pxref{Mark}) and in rectangle-mark-mode, +@kbd{C-x C-x} runs the command +@code{rectangle-exchange-point-and-mark}, which cycles between the +four corners of the region-rectangle. This comes in handy if you want +to modify the dimensions of the region-rectangle before invoking an +operation on the marked text. @node CUA Bindings @section CUA Bindings diff --git a/lisp/rect.el b/lisp/rect.el index d288adfbaf..80f992e182 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -651,7 +651,8 @@ rectangle-mark-mode-map (define-minor-mode rectangle-mark-mode "Toggle the region as rectangular. -Activates the region if needed. Only lasts until the region is deactivated." +Activates the region if it's inactive and Transient Mark mode is +on. Only lasts until the region is next deactivated." :lighter nil (rectangle--reset-crutches) (when rectangle-mark-mode -- 2.30.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 28 12:40:44 2021 Received: (at 42663-done) by debbugs.gnu.org; 28 Dec 2021 17:40:44 +0000 Received: from localhost ([127.0.0.1]:47340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2GSq-0003zJ-ES for submit@debbugs.gnu.org; Tue, 28 Dec 2021 12:40:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2GSo-0003z6-Al for 42663-done@debbugs.gnu.org; Tue, 28 Dec 2021 12:40:42 -0500 Received: from [2001:470:142:3::e] (port=43654 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2GSh-0005Lx-CV; Tue, 28 Dec 2021 12:40:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mGRdqAO9gyE525qQc92wq/G55sq9xLtnw3CfjOx5Pn0=; b=d5c2p/E0ayU1 nMVoi8SVE3rRMqxrAbYz8DVJPB2TgOoyIrxsAcUrI5XZe2rpYGvRqBP7by2LCXn9oUkzLa98hVFAF pDJx+r554WcshW2mAVB51PBymBUrK2efsJYIsj0logZKit47u5abnlqVE0HHQ3HmZrUiHz9+Keh37 jRaAj9e/64zKkEWS1B5fd5B0wtWBGkALA6Sc6O4sfiwz/xQpqNcjCYStMLNdLwSgozcHJyf6ieeNh w4WlJW4FniQBXI95pAtLsJwdpgG6yEkuHDki+PBCUD6nXlhefxLt2LJyAIDhB68+RFTl3nv0N6+HU sb7F9l+YNgqNZMIXnjAwdg==; Received: from [87.69.77.57] (port=2239 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2GSf-0003Wv-Sg; Tue, 28 Dec 2021 12:40:35 -0500 Date: Tue, 28 Dec 2021 19:40:28 +0200 Message-Id: <83ilv8ljar.fsf@gnu.org> From: Eli Zaretskii To: Sean Whitton In-Reply-To: <87a6glzufc.fsf@melete.silentflame.com> (message from Sean Whitton on Mon, 27 Dec 2021 13:04:07 -0700) Subject: Re: bug#42663: 28.0.50; rectangle-mark-mode does not behave as documented when transient-mark-mode is off References: <87sfuh1y3h.fsf@melete.silentflame.com> <83r1a1qft3.fsf@gnu.org> <87a6glzufc.fsf@melete.silentflame.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42663-done Cc: 42663-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sean Whitton > Date: Mon, 27 Dec 2021 13:04:07 -0700 > > > So I think a better documentation change would be to say that > > rectangle mark mode only works when the mark is active, and point to > > "Disabled Transient Mark" node of the manual for how to do that when > > Transient Mark mode is off. This should probably be a separate > > paragraph, after the current text. > > Yes, that's better, thank you. > > Revised patch enclosed. Thanks, installed on the emacs-28 branch, and closing the bug. From unknown Sat Jun 21 10:46:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 Jan 2022 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator