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#18793: 24.4; zero width rectangular selection displaces text Date: Thu, 05 May 2022 19:34:19 +0300 Message-ID: <837d702b1w.fsf@gnu.org> References: <82ppdk41k5.fsf@gmail.com> <87fslop1af.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: carlosjosepita@gmail.com, 18793@debbugs.gnu.org To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 05 18:49:58 2022 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 1nmeft-0009GK-Qn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 18:49:58 +0200 Original-Received: from localhost ([::1]:54606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmefs-0005lD-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 12:49:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmeRS-0006F9-VM for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 12:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmeRS-0001eh-Jw for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 12:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmeRS-0007Yz-Gg for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18793 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 18793-submit@debbugs.gnu.org id=B18793.165176848429046 (code B ref 18793); Thu, 05 May 2022 16:35:02 +0000 Original-Received: (at 18793) by debbugs.gnu.org; 5 May 2022 16:34:44 +0000 Original-Received: from localhost ([127.0.0.1]:46333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmeRA-0007YQ-56 for submit@debbugs.gnu.org; Thu, 05 May 2022 12:34:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmeR7-0007YB-2G for 18793@debbugs.gnu.org; Thu, 05 May 2022 12:34:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmeR1-0001ZV-1L; Thu, 05 May 2022 12:34:35 -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=yWlwY3J7iue+3NjRBLkTLDlCZuQyTLEexmalm7ZD+IY=; b=kXiVfwoF73WT aLuswpyYacAa9/QZDMTVgmKjwf9JL3oU8pFYgXMEVVDhJf/9kfagSYLKN8pCcO9uKdxuy+UesPbCO cDanngMzbJcsEZxF2EJhN4J+ykO5l3EcZWlD91BkXld4TPug1wp0nXi4gqUVzkSe514Fg6ci1Zq8O yqTm3XCCB9ZvUaq3R9GYuKPOYy1Mq79NdKXxohm49sehBAW/cSDAAEJnULNJ41siABXPkL9ZQVdBd 1btgX54Xaos3WCe/5M4secUC5r/0BkXbMM/5LFkItsrysbYF5MIMmdCf8Da96KKL1h0cTY+xPRbth RRd+qlZG8LbxYgryFiitgw==; Original-Received: from [87.69.77.57] (port=4451 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 1nmeR0-00057e-Gr; Thu, 05 May 2022 12:34:34 -0400 In-Reply-To: <87fslop1af.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 05 May 2022 15:16:40 +0200) 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:231446 Archived-At: > Cc: 18793@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Thu, 05 May 2022 15:16:40 +0200 > > Carlos Pita writes: > > > 1) Put the point at the beginning of the following sequence of a's. > > 2) Start a rectangular selection with C-x Space. > > 3) Move the point one char to the right. > > 4) Move it one char to the left so that it returns to the left margin. > > 5) Repeat 3 and 4 a number of times. > > > > aaaaaaaaaaa > > > > Do you see how the sequences of a's moves back and forward? > > I can confirm that this behaviour is still present in Emacs 29. AFAIU, that's a feature: we are trying to indicate the existence of the selection, even though its width is zero. Type "M-x describe-text-properties RET" at the first character. The indication must take up some space on display, so it moves the following text to the right.