From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66780: [PATCH] Improve rectangle-mark-mode when transient-mark-mode is off Date: Sat, 28 Oct 2023 09:24:19 +0300 Message-ID: <83zg03clik.fsf@gnu.org> References: <0b1f5f23-b683-4367-beae-332a8d850d32@vodafonemail.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12255"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66780@debbugs.gnu.org To: Jens Schmidt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 28 08:24:48 2023 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 1qwckZ-0002yb-S4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Oct 2023 08:24:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwckK-0003dN-En; Sat, 28 Oct 2023 02:24:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwckJ-0003dD-Ax for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2023 02:24:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwckI-0002TJ-Ii for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2023 02:24:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwckn-0005Av-RB for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2023 02:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Oct 2023 06:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66780-submit@debbugs.gnu.org id=B66780.169847428619863 (code B ref 66780); Sat, 28 Oct 2023 06:25:01 +0000 Original-Received: (at 66780) by debbugs.gnu.org; 28 Oct 2023 06:24:46 +0000 Original-Received: from localhost ([127.0.0.1]:37640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwckY-0005AJ-1Q for submit@debbugs.gnu.org; Sat, 28 Oct 2023 02:24:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwckV-00059y-DH for 66780@debbugs.gnu.org; Sat, 28 Oct 2023 02:24:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwcjt-0002Qy-BD; Sat, 28 Oct 2023 02:24:05 -0400 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=FZitShkTlgwHBlIq4HC8BizfwUElCsGoGuvDOl1kO8A=; b=On8BN5SrJ18C hec2Yty1nX6bH24+k1Gku4JRA3fHgmobNQLauW/s9lwu13yP/IbkvqpWUMVFXgVveeyutwiFj9t93 vzxlfz5At7tKVR/uG2jsz9yDkoOHnZAyUVC9M5wNpyHESNF/OJeo5+NTmE/LHz5LFwhVrnZ7ncMwZ ZT4tvC8fH0+CC0PgkIlqBoGMrsB1iFD0RlM8JDafPHJCBFv92/OaH5f5byq0LXVe+XYb4M8Nn4csm fjoW6y0oN0n0oOpaVsZyg68UwA7ri+ORifQkZ0/G6Ar0k09bb6NnvO8DnxWoBfAgAamBDO6tSvpGG rpfm74erGlCSwE0+B7kSzQ==; In-Reply-To: <0b1f5f23-b683-4367-beae-332a8d850d32@vodafonemail.de> (bug-gnu-emacs@gnu.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273411 Archived-At: > Date: Fri, 27 Oct 2023 22:31:24 +0200 > From: Jens Schmidt via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I have attempted to improve the situation by providing documentation > (fix A) in a patch on emacs-29, and some minor code fixes (B and C) in a > patch on emacs-master. That latter patch still has a placeholder > "bug#XXXXX" which needs to be updated once I have a bug number. Do we expect people to use rectangle-mark-mode with transient-mark-mode turned off? The description of the behavior in that case is complicated and confusing, and I wonder whether we should have it in the manual. We could just say that the behavior is slightly different, and that we don't recommend turning off transient-mark-mode if the user wants to use rectangle-mark-mode. > * Fix B: Use a Minor Mode Lighter > > With TMM off and RMM on, the most important indicator of RMM (the > region-rectangle) is not visible. And since RMM's minor mode lighter is > nil, one has no visible feedback of it still being active. That can be > surprising since some of its features are still active as described > above. Again, not sure indicating this combination is worth our while, especially since the real estate on the mode line is already too scarce, so much so that in many windows important information at the end of the mode line is pushed beyond the limits. Why do you think it's important to have this combination prominently documented and indicated at run time? Do we have any evidence that it is used frequently enough to justify these measures?