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: Fri, 06 May 2022 14:19:55 +0300 Message-ID: <83ilqi29ic.fsf@gnu.org> References: <82ppdk41k5.fsf@gmail.com> <87fslop1af.fsf@gnus.org> <837d702b1w.fsf@gnu.org> <87czgrnei8.fsf@gnus.org> <83k0az0wfz.fsf@gnu.org> <878rreor92.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12062"; mail-complaints-to="usenet@ciao.gmane.io" Cc: carlosjosepita@gmail.com, monnier@iro.umontreal.ca, 18793@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 06 13:21:30 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 1nmw1Z-0002xj-P3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 13:21:29 +0200 Original-Received: from localhost ([::1]:51474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmw1Y-0001xm-Ag for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 07:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmw18-0001xP-Ir for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmw18-0003le-9m for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmw18-0007WS-5y for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:21: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: Fri, 06 May 2022 11:21: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.165183601628834 (code B ref 18793); Fri, 06 May 2022 11:21:02 +0000 Original-Received: (at 18793) by debbugs.gnu.org; 6 May 2022 11:20:16 +0000 Original-Received: from localhost ([127.0.0.1]:47250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmw0O-0007V0-19 for submit@debbugs.gnu.org; Fri, 06 May 2022 07:20:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmw0L-0007Ug-IP for 18793@debbugs.gnu.org; Fri, 06 May 2022 07:20:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmw0G-0003Wj-7Y; Fri, 06 May 2022 07:20:08 -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=FoA5kXbLAuN2PZWzSyniUlusR4xj9OCRtSj2+t9PN2c=; b=XmvTfvd2rgIT rDqe+DzjETSZhxbxd3BdZS03tmUarGxi5aWDTSNH/pWgxDoYP5uLX4mKc1OnnlHsR3uM9W7BnDDHK kwC1BomskYGO9GlqBUwiR3hQ45V4TCzjWlEQheC7eimo5UTyAK9by31xHw0u3fN4VUqjSYMgOI583 ivC7XWduemP188/iTbScxl5rjTkvjeIggejjQ5OfGJLYG2fpeO+O5eiMRipG5VILABMDXAevAzInJ oEU4N/8nQOJrU/PbmbxzBRS6rldyXT0DfzVr2Koo/FMJ5pwk8ufXFBFYZ2TPuVH4/GoTxwEvH4K6f 1ErvwvTAeQqOpBF5KMdwxw==; Original-Received: from [87.69.77.57] (port=2369 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 1nmw0F-00031J-QI; Fri, 06 May 2022 07:20:07 -0400 In-Reply-To: <878rreor92.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 06 May 2022 13:05:45 +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:231490 Archived-At: > From: Lars Ingebrigtsen > Cc: monnier@iro.umontreal.ca, carlosjosepita@gmail.com, 18793@debbugs.gnu.org > Date: Fri, 06 May 2022 13:05:45 +0200 > > Eli Zaretskii writes: > > > I'm not sure: how would such a vertical line indicate that it's > > region? > > The same way the current one-pixel-wide thing does? I.e., not very > well. The current one-pixel thing is displayed outside of the character cell, and it has the color of the region face. > > And how will it be visible, given that the cursor is displayed on that > > same character? Or maybe I don't understand what you mean by "a > > vertical line through a character"? > > The cursor usually blinks, so the line will be somewhat visible. Usually, but not always. More generally, I'm not sure the visual effect will be satisfactory, when it blinks. > But I was thinking that perhaps the box cursor would also react to that > line in some way, for instance by using a reverse colour where the > vertical line is. That'd mean we need to display the cursor specially there. IOW, it is no longer a simple face. It might be better and easier to introduce a defcustom that disables the visualization of zero-width rectangles. Was that considered as a solution to this issue?