GNU bug report logs - #16403
24.3.50; Rectangular selection visually disturbing

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: Ivan Kalyaev <ivan.kalyaev@HIDDEN>; dated Thu, 9 Jan 2014 10:16:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 16403) by debbugs.gnu.org; 9 Mar 2025 10:14:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 09 06:14:48 2025
Received: from localhost ([127.0.0.1]:58479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1trDgF-0006gD-VL
	for submit <at> debbugs.gnu.org; Sun, 09 Mar 2025 06:14:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50698)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1trDgC-0006fw-SR
 for 16403 <at> debbugs.gnu.org; Sun, 09 Mar 2025 06:14:46 -0400
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 <eliz@HIDDEN>)
 id 1trDg6-0004lZ-I8; Sun, 09 Mar 2025 06:14:38 -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=09LIJYWKzXlrmGIO9ZZp0DWfo1nKOd/ndd3DvQ94inE=; b=iXrx9fMJKtDF
 IbOM+qRE1ExllhMgTTivAQ2r+OjbjryK0mHJ2hxSKVWBfVBTGjUBM0AroCxinYVRRwrcHHeeknlMM
 brnjdGIOROZuJPfhh2+eMaxHYi8sCjsNgaTnwar7QjBWhOQb2cWseYvuPRuZdwOtiJSxhcjpfAVMR
 0s25s4iOVOpakg9bebEfYOQnLdZJwGBDGBbLwTkMEHgnpVlnTP39j2gie0i9Mgb6xj7VIbW+78jjX
 PdPLBdr99O3P9Bi2cb7B4v1ptspOELLAS8Te+J8wXl3gGyAs6MNBRVa5AMojM0Gmzbhdpjp8p48lv
 9NvlEi31AeR5NfQJahwK4g==;
Date: Sun, 09 Mar 2025 12:14:34 +0200
Message-Id: <86v7sifr3p.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: dmoncayo@HIDDEN, Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <jwvwmd32n61.fsf-monnier+emacs@HIDDEN> (message from Stefan
 Monnier on Wed, 05 Mar 2025 16:20:40 -0500)
Subject: Re: bug#16403: Rectangular selection visually disturbing
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 16403
Cc: michael_heerdegen@HIDDEN, 16403 <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: Stefan Monnier <monnier@HIDDEN>
> Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>,  Eli Zaretskii
>  <eliz@HIDDEN>,  16403 <at> debbugs.gnu.org
> Date: Wed, 05 Mar 2025 16:20:40 -0500
> 
> >> > that thin vertical line.  I find it convenient (tho I agree that the
> >> > small motion is bar jarring), but that's a question of taste.
> >>
> >> It is a bit more than only convenient: for commands like
> >> `string-rectangle' or `rectangle-number-lines' it is an important guide
> >> visualizing what one will get.
> >
> > FWIW: As I said, I dislike the current visual effect of shifting the
> > text.  And I would definitely prefer _not_ to see _any_ visual
> > indication of a zero-columns rectangle, if that indication entails
> > such a visual effect.  That's why I'm asking for a way to configure
> > the behavior I prefer.
> 
> In the short term, I think adding a config var to disable the small
> space is probably the best option.  Patch welcome.
> In the longer term, it might be worthwhile to consider adding a delay,
> i.e. a zero-width rectangle would start being shown as "zero width" but
> after a short idle time we'd add the small space to make it more
> visually obvious.  It would help avoid the small movement that
> occurs between the time you `C-x RET` and the time you start moving
> the cursor while still offering the convenient visual feedback to those
> willing to wait a little.

Here's a patch with the "short-term" solution.  Does it give good
results?  Should I install it (with the necessary NEWS addition)?"

diff --git a/lisp/rect.el b/lisp/rect.el
index be99a33..e630f80 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -456,6 +456,11 @@ rectangle-preview
   :version "25.1"
   :type 'boolean)
 
+(defcustom rectangle-indicate-zero-width-rectangle t
+  "If non-nil, make zero-width rectangles visible on display."
+  :version "31.1"
+  :type 'boolean)
+
 (defun rectangle--string-preview ()
   (when rectangle-preview
     (let ((str (minibuffer-contents)))
@@ -960,7 +965,8 @@ rectangle--highlight-for-redisplay
                         (overlay-put ol 'after-string str))))
                    ((overlay-get ol 'after-string)
                     (overlay-put ol 'after-string nil)))
-                  (when (and (= leftcol rightcol) (display-graphic-p))
+                  (when (and (= leftcol rightcol) (display-graphic-p)
+                             rectangle-indicate-zero-width-rectangle)
                     ;; Make zero-width rectangles visible!
                     (overlay-put ol 'after-string
                                  (concat (propertize




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

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


Received: (at 16403) by debbugs.gnu.org; 6 Mar 2025 17:19:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 06 12:19:08 2025
Received: from localhost ([127.0.0.1]:45190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqEsG-0006ip-Bw
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:19:08 -0500
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:17450)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <drew.adams@HIDDEN>)
 id 1tqEsD-0006ie-55
 for 16403 <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:19:06 -0500
Received: from pps.filterd (m0246632.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 526FiDT2019534;
 Thu, 6 Mar 2025 17:19:04 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=; b=
 JrcTSnuzTGJd9aHdP9R6ArMOqTIdEtBZjaWfT4pFaNFbCWn/o4OUltvVQITLbLfw
 rdEol8p6CQLIOQxoGeaZATdl3yv3rVslB93A/y7wKnvMqOULVUEmeWgE9dWJVF17
 td8NJFGspHx/eUpUwelTf4CC4wsD2ix1heeX/oZjKVfSDfTAuN4xeWMk3+U+x2S8
 UPSVOlGGnJURwu/tIIO0vpC1i/DduCN0+IW3QwiCAyNXJbZZt41t/KOK9AWzjTwn
 rBhdhdrHJcCwbLLnCTnnyUWBiE31XEDzayxqfN1JHKtWcCkjXOfz1VZ8D9vR8bTi
 Jn1/Jl9MjFtt1tISZF+oRA==
Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta01.appoci.oracle.com [138.1.114.2])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 453u86thkg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 06 Mar 2025 17:19:03 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 526GEbJq039768; Thu, 6 Mar 2025 17:19:02 GMT
Received: from nam04-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam04lp2049.outbound.protection.outlook.com [104.47.73.49])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 453rpd4336-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 06 Mar 2025 17:19:02 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=aWOGHKYtpp3xt8vuGCs44NM0pqBXnObcygllki3iI8n7igQBW+aGZm+Tt7gTV/9Xp9VNoePqx7UsSKj6gdbuUjKvmYP2R+Mom7eLjzDZTa+geXvZqxRTDhGJDpZcfpSiWXYm4FNtr6FLCSe1HMlbT5PF/apjhrOdUhfYzxxmozVKdR95mtK/L0UQSTU9Qu1D17owFY0Qsrk8PbW9nzUZgDBTmLJSFngDlsEHRFkUi2bbFEkuydvYZx5bNJC+Pg1AjQ60C8tEhGp28J+107Bzulc4M7iYqBQI+A23HfrdGPhfOjM20M5+BD9lDAxRgIbAf5ALBFNthhWu3XLYEZCZog==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=;
 b=g1OXMKKdM5Nbem/w55qIx3KbIYEGfK1/S7445ogrLndZ2S8WC8SMriW9Y8vPwJIxXdwKoQ8Tv6je88yS8imnk1wXPm5lyiOz598QTQNqsjXe9dTn53f6N3JHABYsA08ywxS1+ZARrJ8e5qcDiGbQJVy9NL5paGDvgltTyFV+jN76DSv/4qflVWoCIKhcbYL3GiXmJp4p2cbh9JtRbNhbAddcxKcQxUB+Io4KiVVVbgC0NC2PF+4OqxGIsFgf7zb+NJzy1ph8cLRsn6YqwiTx+c+nByRtg8GkdlPSk9HqrATjv/lc/pzHug8mdMOUW07D2pQ5AlfiSCD9KhJzpFMQ4w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=;
 b=jGLrimE8QAmPIt/NAP5yfVByjpe/0wzAVdGsAlYPYzTW9zCflRit/FyL/xOLZtT34LoRQv227fye5APQcMa5PHM0pLomMqUSa31hjMXgChan/nbmitFp1e+dsvGGa+aolvWmpvFmkujpkcMN1M3n8dy9RvamKSNiUX6qRNd2T8c=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by BLAPR10MB4868.namprd10.prod.outlook.com (2603:10b6:208:333::7) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8511.19; Thu, 6 Mar
 2025 17:19:00 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8511.015; Thu, 6 Mar 2025
 17:19:00 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Juri Linkov <juri@HIDDEN>, "Drew Adams via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
Subject: RE: [External] : Re: bug#16403: Rectangular selection visually
 disturbing
Thread-Topic: [External] : Re: bug#16403: Rectangular selection visually
 disturbing
Thread-Index: AQHbjm1RDSX0H27rf0G/fb1IKX/ACrNmTcQg
Date: Thu, 6 Mar 2025 17:19:00 +0000
Message-ID: <DS7PR10MB5232CDEB499F0F11FF2F1E93F3CA2@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
 <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
 <87ldtik4m6.fsf@HIDDEN>
In-Reply-To: <87ldtik4m6.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|BLAPR10MB4868:EE_
x-ms-office365-filtering-correlation-id: edbd20db-e74c-4f64-9239-08dd5cd2fc51
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018;
x-microsoft-antispam-message-info: =?us-ascii?Q?xhoVLbeBh2dRP+MlYWneaIRlftaVpRYDfZcgQl7Mxu4VTZcr71Zv2pF+3Z9E?=
 =?us-ascii?Q?eQbXd8O/4Us1URKx/wZ2PFVjseTdi2eI3Jn4bdsIH036J4PWSqx5HM1cLZop?=
 =?us-ascii?Q?Sto8pQrg1oXB6rJPlaRgZhu7XgagnKW5DnbGyI2pjn4wScHf/d/r2txJe+gy?=
 =?us-ascii?Q?0PV5kVqPw7hKnOhzpy/z/zROKzxETbsnwYRM9jrs0mgulUAYaXkbz89o2GF/?=
 =?us-ascii?Q?zZ9arseqfjwnU1zYeuG7iHMvNYlQV7rLovru7eybG3zvTuRRop+a2Ab6wrzP?=
 =?us-ascii?Q?DefXuoUN1lmwzHAHxb2OIno1RufRY92seuNdTj3eG1HgCiU1h0gDSlltuZpf?=
 =?us-ascii?Q?uOV2D+2KBtrjnmZ5A8VdfLqIxOdMSnTd1aCU2EFeYTGv9A1+sOp+QlN6+eQI?=
 =?us-ascii?Q?6WYzZDaZ7Flxa3aPctuGlLdv5WWa95tMpUMjgNo64Oz1Mx0c0B+LE18nPc8g?=
 =?us-ascii?Q?KgDsXl3NgS/Eso6zDKFAGQXARgEUak+ZCwqkZPcVMPD04D/nJS0VoH6On2Cd?=
 =?us-ascii?Q?VDjrgOIuZnbBPaP2/fTbj0/2UVQIhBDXN5cbrde/6pQFCSeLhdxmd720kkNi?=
 =?us-ascii?Q?LyB7rqqjG3qfpmLIBHAeeTASvqXVczOHKhf0tk5g1IQfzUvlSNV2lSx5xq1N?=
 =?us-ascii?Q?LaMNyyDxXdpMFFK0UqC4Dz8kKhmeXoDzYeTAn7GqAbddXibaqXoKhfm4WFX3?=
 =?us-ascii?Q?tUjP5GGiBthyt9UKfTcm5XTZHWN/hnZ0WEiyC8P3WabVCPFLm3IdTo9TQNTd?=
 =?us-ascii?Q?3Kn1BMIv7eoW0pDKzfPpu1f2Nw6YCaandZ0VwjZr++0zMOG2uPpozAuL4bOy?=
 =?us-ascii?Q?trcBD6iTcHKIv72zvqrGmZCErqwxghqSG5Tv+j9a5/BWuaDhnMN6cX8Auyj1?=
 =?us-ascii?Q?xHtLzqNKtClIiG+tPwTbLQU3WEDCsJHf3lQO4Wns7yBc8H9+BGuLipEAFJGk?=
 =?us-ascii?Q?f/TvVWEtjJaNB8J0v5ryhf9i1Co5NNgCu+4yhBERB/nQah7uicuoWYbC+XPl?=
 =?us-ascii?Q?m2vPHImqEQ1KXGqpYYcSj8H25FmkhsoyvmaTgXDd3lj2c3sTlqNd1np8dPF4?=
 =?us-ascii?Q?7riET8cnUFn/h3GCxh8WMaVnSNgAlAIDCV6i1QgxoZXZtTgWy4mi5jDsVINJ?=
 =?us-ascii?Q?KJbuQsCTLnDLU/W1IbHvO/9+HlkexEqG4JIujKeYcww/f6dYDW0BHzYo7fcb?=
 =?us-ascii?Q?dcxOe1uKjt6f5SAXZEMCXDDlHEy7ra89VHiI+9m9ZFtQz5pV9OEpjV9IyEkH?=
 =?us-ascii?Q?DGNhCw5CnoXWmR1Xd3XRuWFBrqDbFzqkKOPoIWnoBse78kFdfLBuczmZ9G3r?=
 =?us-ascii?Q?UwjbGVWanlWZAFo/ZIwXUW5hzZvPv9AmT/cfDTBU+O7gOlje1jHJY8KpkMYV?=
 =?us-ascii?Q?F6bblB/0paE4vhWZwBtFz/wAniCn?=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+oSU2sPnB1WOLmARZdKailDNNEwMFFQMnNMgObIECqEEBft5njh92QWAST+x?=
 =?us-ascii?Q?8ijujhl5El6o63D9r41i+vrhn+HrSHmmI5bq2xZ6F4dcivYeCIVT4cZS5tCC?=
 =?us-ascii?Q?94gLXAJFPThon7Ti1CvZSnDgJU6ZS1P9jUh4gxx9EvOzZPct11e9Dg2Hf1Z3?=
 =?us-ascii?Q?GH3k/5oVefHu5a8WKaY8NjiodDLI/Lb5t3ktdUa5qU6H+oO/sX0nGUe3rsPh?=
 =?us-ascii?Q?0BGfToU8E8b2QUf6Txk1/7mguzDm8Kk0n/2lT5QbXUDVCL8MO4V13X5DkoT6?=
 =?us-ascii?Q?7Ex2ICpY7szgTp+GXMyC5wDKsA6TpA8J7/v7Qj7HXxQbjH7NNXGEfkGIJtiM?=
 =?us-ascii?Q?LMk/7W97q9xg+kSZzVAZZBTnZwJsrU3lWSwMaoOYabcn1t3ux4JH/OM/91G1?=
 =?us-ascii?Q?r9G5YmqThFsVMJjlUbpIWNZnfdsIt4NNb8mBtH70M6Ic2+f8HjmvQsay8xQg?=
 =?us-ascii?Q?XejT2zXfQeY6ai3YPTfg1fTZJErcbzE8C/2uOEl4Gefs4JCDMyGDN9aP644I?=
 =?us-ascii?Q?hQt4+HGvFcYqHKdEsfEcAaTTQIX6AxBfb21WwI9q2hBcsUd8IO6PN2zqcuoc?=
 =?us-ascii?Q?grPH5o6MIlV7wEEPoc0vOnLZJETxJDgzgcxhLChuvnmNcy46HFuU+ahsSRF/?=
 =?us-ascii?Q?nw1VpaSrwbvU87rnPYS1YwzqGmfCWoSDWqHncm4FIJDtG7B8rB9YsGsnZZ/X?=
 =?us-ascii?Q?/++DqBcDCEdaZLRTguGnui8niZSgj4DuKIn8G440/CoqOub/1jVBN26rdxwd?=
 =?us-ascii?Q?f9r22vRpFbLZGV5b0XsOHyrO5xW9UatmeB/Hd2Ur6ns9FmyNTuhXfoDjOFwf?=
 =?us-ascii?Q?x3OfyQTXYD2V9jDRmPZyfWfPICzrq5k6RW7AG1ucai6KJDgUfh78P1JNQQMs?=
 =?us-ascii?Q?vh76ReqKqNF4eBee2Qwx4sr0atxnya+bA9hO7EAM764x9oUVbEfvbXDwHX7v?=
 =?us-ascii?Q?fD5DatVmKRhsOxyzD9hqF7PL+7DgPnTMU/hGHIkSe0OMYUdKniqCpANj3J4N?=
 =?us-ascii?Q?S5x5VQv8AyNXdiBZMCVpuTXWCUKGTuzVwSTVtnn67ZebpTKAEU5S9RukOobc?=
 =?us-ascii?Q?Zsok5YD3EB72ZkTxjvVnBj0N0WxSYvJisY+EkMc3tiQKK9MMDAseDHKhrBMI?=
 =?us-ascii?Q?65y43jmdUe64qt0mcyqlb4BXLMyr+et+75mpPMEVlNlJnDXHHmIh682c2nr5?=
 =?us-ascii?Q?r438T2d82K5vBD23ufROGvegziIAwSNbpNwcafWaxcQswG6ZNyJjLBYtuQ5h?=
 =?us-ascii?Q?WmBcxoxelE7W305pLSByGZEpHGKdwKEynv0govSmQXljWXND8AIQqWF+eEir?=
 =?us-ascii?Q?ENdpZZILNPvcI9zbyqUHX7N7zJ2wZdSo2ndV9nVF6+xXFOhyNKrEn1yLFZFa?=
 =?us-ascii?Q?Mh7Qzw416jxQw2pUxy26J7tGASVVbPyYpYLzKNHxmd4qm5wwVcdnePmdt+E+?=
 =?us-ascii?Q?MY0VMaELwItZ52W09pOU/UGC0JuAvfSuoeZCYGqCpzSJuqWBqtqiUshvtUhk?=
 =?us-ascii?Q?7JtmM/L1aJB9rWbOnxXaN0yFCZoJswKHW1YuBwUi30fLXQb2wQc+cWIc7SAJ?=
 =?us-ascii?Q?w0BjaPJKC66HHtIk36bAQsJsjAOdnOmiPxCoEqIz?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eSQYp5N7WO0CGFaXr+7R0dbrmlk/eofbiS/DOjRYTo9sACj3a4v6lQdC8t5qoNusUAMUkxcgSkqlFW4BCguvn/cCKFgvNK0HidzNaRL0IZ1aIY7Grw+Lcj0ONm2TMoGxMJwcHsxMnmEslNbjd/MnEHGizPvYwcRVA+eF1IxZRzb0eP+LLy/Ibcjcv8bCrjg+Sw4sNfbfdnsIA1GqnOH/ZG0bm9yUzNsnwfTVt1dNTPWM1fKxNmTEmCGcjayhsziNBMkymu1g2mItI+v4oqO9UqapjOh0CvPoBYouo2ALBKhvS93+JRIvko0UKdVjqu9kS1uhAjkj7rrrDr3QhiGBFMr2s0BfvMdRhxP4uJRmxQYuFbyBcsAeq8vivs6NrnfkEi/AIWipAmCZP0G8tn1wVdhJCalfyu+IpuMCLle/k6BlmtanepWEfTOazIHhzgdgVt291IZkeJbp9RQ2XHDsfRgXbRPl+j/Yw8OE5DBMTt9R67UqwJAkEf956IVQY0FtxbBAOxG+5av1L/s01OIYz4ihR/zpEGz+9lH4WoB14tV2HFuR1Yov1Vu19PDoJIf3E4JnCsySsOlbMWh6utyj5Q7tsoIw9DtIeFIuikFgrEY=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: edbd20db-e74c-4f64-9239-08dd5cd2fc51
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2025 17:19:00.2040 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: QIwHJSoyMrOUGja6R/AKJBY9O8PawD4T5shC4Q0pDJyIOGUC7I0EqqixiNRqijwVxwYiCyPq3CCrab619yFdmA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB4868
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2025-03-06_05,2025-03-06_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 suspectscore=0 spamscore=0
 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 bulkscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2502100000
 definitions=main-2503060132
X-Proofpoint-ORIG-GUID: sz-1TH8p4R_7Nk4Uo3lVQMiCruq4SFuZ
X-Proofpoint-GUID: sz-1TH8p4R_7Nk4Uo3lVQMiCruq4SFuZ
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 "16403 <at> debbugs.gnu.org" <16403 <at> debbugs.gnu.org>,
 Stefan Monnier <monnier@HIDDEN>, Dani Moncayo <dmoncayo@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.7 (-)

> > IOW, have an option for the highlighting behavior
> > when zero columns are selected:
> >
> >  1. No highlighting (no thin space, so no apparent
> >     movement).
> >     E.g., numeric value N, for highlighting after
> >     N seconds.  (0 means what you suggested.)
> >  2. Highlighting with face `region'.
> >     E.g., value nil.
> >  3. Highlighting with another face.
> >     E.g., value that face.
>=20
> Should this option be applied to the non-rectangular empty region
> as well?  I.e. as soon as you type 'C-SPC' should it indicate
> with the same narrow line that the selection is activated?
> Or maybe such indication is not necessary if an empty region
> is ignored anyway when use-empty-active-region is nil?

I wouldn't do that.  If you want some such behavior
for nonrectangular regions I'd suggest a separate
option.  What's best for one isn't necessarily best
for the other.  A vertical line makes sense for a
rectangular region.

(FWIW, a horizontal line would also have made sense.
It could even make sense to use both vertical and
horizontal.  But no one has implemented adding a
thin horizontal line.)

I don't think `use-empty-active-region' should have
any bearing on whether to show an indication of the
rectangular region being empty.  I think indication
is just as useful - nay, more useful, when that
option is non-nil.  You want to know when the region
(mark) is active.
___

FWIW:

When the region is active, `modeline-region-mode'
shows, in the mode-line, info about the region,
taking the place of the `mode-line-position' info.

Option `mlr-region-style' says what kind of info:

* `Characters'.  Number of characters in region or rectangle.

* `Bytes'.  Number of bytes in region or rectangle.

* `Lines (& words) & chars / rows & columns (& words & chars)'.
  For a regular region, you see lines and characters.
  For a rectangular region you see rows and columns.

  This can optionally include words for region and words & chars for
  rectangle: see options `mlr-non-rectangle-style' and
  `mlr-rectangle-style'.

  To change the concrete formatting used, change variables
  `mlr-lines+chars-format', `mlr-lines+words+chars-format',
  `mlr-rows+cols-format', and `mlr-rows+cols+words+chars-format'.

* `Customized format'.  An arbitrary format you specify.

By default, for a rectangular region you see the
number of rows and columns.

That mode-line active-region indication text has face
`mlr-region', which by default looks the same as face
`region', so it's quite apparent when the region is
active.

What's more, when you use a command, such as
`query-replace', that's known to use the active region,
face `mlr-region-acting-on' is used, to draw attention
to this fact.  By default, this looks the same as face
`region', but with a red overline & underline.

https://www.emacswiki.org/emacs/ModeLineRegion

https://www.emacswiki.org/emacs/modeline-region.el




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

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


Received: (at submit) by debbugs.gnu.org; 6 Mar 2025 17:19:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 06 12:19:52 2025
Received: from localhost ([127.0.0.1]:45194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqEsx-0006k0-Td
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:19:52 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52100)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <drew.adams@HIDDEN>)
 id 1tqEsu-0006jW-8o
 for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:19:49 -0500
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 <drew.adams@HIDDEN>)
 id 1tqEsN-0003iB-8G
 for bug-gnu-emacs@HIDDEN; Thu, 06 Mar 2025 12:19:19 -0500
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
 id 1tqEsG-0001k2-7z; Thu, 06 Mar 2025 12:19:13 -0500
Received: from pps.filterd (m0246632.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 526FiDT2019534;
 Thu, 6 Mar 2025 17:19:04 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=; b=
 JrcTSnuzTGJd9aHdP9R6ArMOqTIdEtBZjaWfT4pFaNFbCWn/o4OUltvVQITLbLfw
 rdEol8p6CQLIOQxoGeaZATdl3yv3rVslB93A/y7wKnvMqOULVUEmeWgE9dWJVF17
 td8NJFGspHx/eUpUwelTf4CC4wsD2ix1heeX/oZjKVfSDfTAuN4xeWMk3+U+x2S8
 UPSVOlGGnJURwu/tIIO0vpC1i/DduCN0+IW3QwiCAyNXJbZZt41t/KOK9AWzjTwn
 rBhdhdrHJcCwbLLnCTnnyUWBiE31XEDzayxqfN1JHKtWcCkjXOfz1VZ8D9vR8bTi
 Jn1/Jl9MjFtt1tISZF+oRA==
Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta01.appoci.oracle.com [138.1.114.2])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 453u86thkg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 06 Mar 2025 17:19:03 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 526GEbJq039768; Thu, 6 Mar 2025 17:19:02 GMT
Received: from nam04-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam04lp2049.outbound.protection.outlook.com [104.47.73.49])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 453rpd4336-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 06 Mar 2025 17:19:02 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=aWOGHKYtpp3xt8vuGCs44NM0pqBXnObcygllki3iI8n7igQBW+aGZm+Tt7gTV/9Xp9VNoePqx7UsSKj6gdbuUjKvmYP2R+Mom7eLjzDZTa+geXvZqxRTDhGJDpZcfpSiWXYm4FNtr6FLCSe1HMlbT5PF/apjhrOdUhfYzxxmozVKdR95mtK/L0UQSTU9Qu1D17owFY0Qsrk8PbW9nzUZgDBTmLJSFngDlsEHRFkUi2bbFEkuydvYZx5bNJC+Pg1AjQ60C8tEhGp28J+107Bzulc4M7iYqBQI+A23HfrdGPhfOjM20M5+BD9lDAxRgIbAf5ALBFNthhWu3XLYEZCZog==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=;
 b=g1OXMKKdM5Nbem/w55qIx3KbIYEGfK1/S7445ogrLndZ2S8WC8SMriW9Y8vPwJIxXdwKoQ8Tv6je88yS8imnk1wXPm5lyiOz598QTQNqsjXe9dTn53f6N3JHABYsA08ywxS1+ZARrJ8e5qcDiGbQJVy9NL5paGDvgltTyFV+jN76DSv/4qflVWoCIKhcbYL3GiXmJp4p2cbh9JtRbNhbAddcxKcQxUB+Io4KiVVVbgC0NC2PF+4OqxGIsFgf7zb+NJzy1ph8cLRsn6YqwiTx+c+nByRtg8GkdlPSk9HqrATjv/lc/pzHug8mdMOUW07D2pQ5AlfiSCD9KhJzpFMQ4w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=whr/IzUhl6vg8qxTA+bxH+tFh5tukI4Wn6gbpDKYOsw=;
 b=jGLrimE8QAmPIt/NAP5yfVByjpe/0wzAVdGsAlYPYzTW9zCflRit/FyL/xOLZtT34LoRQv227fye5APQcMa5PHM0pLomMqUSa31hjMXgChan/nbmitFp1e+dsvGGa+aolvWmpvFmkujpkcMN1M3n8dy9RvamKSNiUX6qRNd2T8c=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by BLAPR10MB4868.namprd10.prod.outlook.com (2603:10b6:208:333::7) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8511.19; Thu, 6 Mar
 2025 17:19:00 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8511.015; Thu, 6 Mar 2025
 17:19:00 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Juri Linkov <juri@HIDDEN>, "Drew Adams via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
Subject: RE: [External] : Re: bug#16403: Rectangular selection visually
 disturbing
Thread-Topic: [External] : Re: bug#16403: Rectangular selection visually
 disturbing
Thread-Index: AQHbjm1RDSX0H27rf0G/fb1IKX/ACrNmTcQg
Date: Thu, 6 Mar 2025 17:19:00 +0000
Message-ID: <DS7PR10MB5232CDEB499F0F11FF2F1E93F3CA2@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
 <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
 <87ldtik4m6.fsf@HIDDEN>
In-Reply-To: <87ldtik4m6.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|BLAPR10MB4868:EE_
x-ms-office365-filtering-correlation-id: edbd20db-e74c-4f64-9239-08dd5cd2fc51
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018;
x-microsoft-antispam-message-info: =?us-ascii?Q?xhoVLbeBh2dRP+MlYWneaIRlftaVpRYDfZcgQl7Mxu4VTZcr71Zv2pF+3Z9E?=
 =?us-ascii?Q?eQbXd8O/4Us1URKx/wZ2PFVjseTdi2eI3Jn4bdsIH036J4PWSqx5HM1cLZop?=
 =?us-ascii?Q?Sto8pQrg1oXB6rJPlaRgZhu7XgagnKW5DnbGyI2pjn4wScHf/d/r2txJe+gy?=
 =?us-ascii?Q?0PV5kVqPw7hKnOhzpy/z/zROKzxETbsnwYRM9jrs0mgulUAYaXkbz89o2GF/?=
 =?us-ascii?Q?zZ9arseqfjwnU1zYeuG7iHMvNYlQV7rLovru7eybG3zvTuRRop+a2Ab6wrzP?=
 =?us-ascii?Q?DefXuoUN1lmwzHAHxb2OIno1RufRY92seuNdTj3eG1HgCiU1h0gDSlltuZpf?=
 =?us-ascii?Q?uOV2D+2KBtrjnmZ5A8VdfLqIxOdMSnTd1aCU2EFeYTGv9A1+sOp+QlN6+eQI?=
 =?us-ascii?Q?6WYzZDaZ7Flxa3aPctuGlLdv5WWa95tMpUMjgNo64Oz1Mx0c0B+LE18nPc8g?=
 =?us-ascii?Q?KgDsXl3NgS/Eso6zDKFAGQXARgEUak+ZCwqkZPcVMPD04D/nJS0VoH6On2Cd?=
 =?us-ascii?Q?VDjrgOIuZnbBPaP2/fTbj0/2UVQIhBDXN5cbrde/6pQFCSeLhdxmd720kkNi?=
 =?us-ascii?Q?LyB7rqqjG3qfpmLIBHAeeTASvqXVczOHKhf0tk5g1IQfzUvlSNV2lSx5xq1N?=
 =?us-ascii?Q?LaMNyyDxXdpMFFK0UqC4Dz8kKhmeXoDzYeTAn7GqAbddXibaqXoKhfm4WFX3?=
 =?us-ascii?Q?tUjP5GGiBthyt9UKfTcm5XTZHWN/hnZ0WEiyC8P3WabVCPFLm3IdTo9TQNTd?=
 =?us-ascii?Q?3Kn1BMIv7eoW0pDKzfPpu1f2Nw6YCaandZ0VwjZr++0zMOG2uPpozAuL4bOy?=
 =?us-ascii?Q?trcBD6iTcHKIv72zvqrGmZCErqwxghqSG5Tv+j9a5/BWuaDhnMN6cX8Auyj1?=
 =?us-ascii?Q?xHtLzqNKtClIiG+tPwTbLQU3WEDCsJHf3lQO4Wns7yBc8H9+BGuLipEAFJGk?=
 =?us-ascii?Q?f/TvVWEtjJaNB8J0v5ryhf9i1Co5NNgCu+4yhBERB/nQah7uicuoWYbC+XPl?=
 =?us-ascii?Q?m2vPHImqEQ1KXGqpYYcSj8H25FmkhsoyvmaTgXDd3lj2c3sTlqNd1np8dPF4?=
 =?us-ascii?Q?7riET8cnUFn/h3GCxh8WMaVnSNgAlAIDCV6i1QgxoZXZtTgWy4mi5jDsVINJ?=
 =?us-ascii?Q?KJbuQsCTLnDLU/W1IbHvO/9+HlkexEqG4JIujKeYcww/f6dYDW0BHzYo7fcb?=
 =?us-ascii?Q?dcxOe1uKjt6f5SAXZEMCXDDlHEy7ra89VHiI+9m9ZFtQz5pV9OEpjV9IyEkH?=
 =?us-ascii?Q?DGNhCw5CnoXWmR1Xd3XRuWFBrqDbFzqkKOPoIWnoBse78kFdfLBuczmZ9G3r?=
 =?us-ascii?Q?UwjbGVWanlWZAFo/ZIwXUW5hzZvPv9AmT/cfDTBU+O7gOlje1jHJY8KpkMYV?=
 =?us-ascii?Q?F6bblB/0paE4vhWZwBtFz/wAniCn?=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+oSU2sPnB1WOLmARZdKailDNNEwMFFQMnNMgObIECqEEBft5njh92QWAST+x?=
 =?us-ascii?Q?8ijujhl5El6o63D9r41i+vrhn+HrSHmmI5bq2xZ6F4dcivYeCIVT4cZS5tCC?=
 =?us-ascii?Q?94gLXAJFPThon7Ti1CvZSnDgJU6ZS1P9jUh4gxx9EvOzZPct11e9Dg2Hf1Z3?=
 =?us-ascii?Q?GH3k/5oVefHu5a8WKaY8NjiodDLI/Lb5t3ktdUa5qU6H+oO/sX0nGUe3rsPh?=
 =?us-ascii?Q?0BGfToU8E8b2QUf6Txk1/7mguzDm8Kk0n/2lT5QbXUDVCL8MO4V13X5DkoT6?=
 =?us-ascii?Q?7Ex2ICpY7szgTp+GXMyC5wDKsA6TpA8J7/v7Qj7HXxQbjH7NNXGEfkGIJtiM?=
 =?us-ascii?Q?LMk/7W97q9xg+kSZzVAZZBTnZwJsrU3lWSwMaoOYabcn1t3ux4JH/OM/91G1?=
 =?us-ascii?Q?r9G5YmqThFsVMJjlUbpIWNZnfdsIt4NNb8mBtH70M6Ic2+f8HjmvQsay8xQg?=
 =?us-ascii?Q?XejT2zXfQeY6ai3YPTfg1fTZJErcbzE8C/2uOEl4Gefs4JCDMyGDN9aP644I?=
 =?us-ascii?Q?hQt4+HGvFcYqHKdEsfEcAaTTQIX6AxBfb21WwI9q2hBcsUd8IO6PN2zqcuoc?=
 =?us-ascii?Q?grPH5o6MIlV7wEEPoc0vOnLZJETxJDgzgcxhLChuvnmNcy46HFuU+ahsSRF/?=
 =?us-ascii?Q?nw1VpaSrwbvU87rnPYS1YwzqGmfCWoSDWqHncm4FIJDtG7B8rB9YsGsnZZ/X?=
 =?us-ascii?Q?/++DqBcDCEdaZLRTguGnui8niZSgj4DuKIn8G440/CoqOub/1jVBN26rdxwd?=
 =?us-ascii?Q?f9r22vRpFbLZGV5b0XsOHyrO5xW9UatmeB/Hd2Ur6ns9FmyNTuhXfoDjOFwf?=
 =?us-ascii?Q?x3OfyQTXYD2V9jDRmPZyfWfPICzrq5k6RW7AG1ucai6KJDgUfh78P1JNQQMs?=
 =?us-ascii?Q?vh76ReqKqNF4eBee2Qwx4sr0atxnya+bA9hO7EAM764x9oUVbEfvbXDwHX7v?=
 =?us-ascii?Q?fD5DatVmKRhsOxyzD9hqF7PL+7DgPnTMU/hGHIkSe0OMYUdKniqCpANj3J4N?=
 =?us-ascii?Q?S5x5VQv8AyNXdiBZMCVpuTXWCUKGTuzVwSTVtnn67ZebpTKAEU5S9RukOobc?=
 =?us-ascii?Q?Zsok5YD3EB72ZkTxjvVnBj0N0WxSYvJisY+EkMc3tiQKK9MMDAseDHKhrBMI?=
 =?us-ascii?Q?65y43jmdUe64qt0mcyqlb4BXLMyr+et+75mpPMEVlNlJnDXHHmIh682c2nr5?=
 =?us-ascii?Q?r438T2d82K5vBD23ufROGvegziIAwSNbpNwcafWaxcQswG6ZNyJjLBYtuQ5h?=
 =?us-ascii?Q?WmBcxoxelE7W305pLSByGZEpHGKdwKEynv0govSmQXljWXND8AIQqWF+eEir?=
 =?us-ascii?Q?ENdpZZILNPvcI9zbyqUHX7N7zJ2wZdSo2ndV9nVF6+xXFOhyNKrEn1yLFZFa?=
 =?us-ascii?Q?Mh7Qzw416jxQw2pUxy26J7tGASVVbPyYpYLzKNHxmd4qm5wwVcdnePmdt+E+?=
 =?us-ascii?Q?MY0VMaELwItZ52W09pOU/UGC0JuAvfSuoeZCYGqCpzSJuqWBqtqiUshvtUhk?=
 =?us-ascii?Q?7JtmM/L1aJB9rWbOnxXaN0yFCZoJswKHW1YuBwUi30fLXQb2wQc+cWIc7SAJ?=
 =?us-ascii?Q?w0BjaPJKC66HHtIk36bAQsJsjAOdnOmiPxCoEqIz?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eSQYp5N7WO0CGFaXr+7R0dbrmlk/eofbiS/DOjRYTo9sACj3a4v6lQdC8t5qoNusUAMUkxcgSkqlFW4BCguvn/cCKFgvNK0HidzNaRL0IZ1aIY7Grw+Lcj0ONm2TMoGxMJwcHsxMnmEslNbjd/MnEHGizPvYwcRVA+eF1IxZRzb0eP+LLy/Ibcjcv8bCrjg+Sw4sNfbfdnsIA1GqnOH/ZG0bm9yUzNsnwfTVt1dNTPWM1fKxNmTEmCGcjayhsziNBMkymu1g2mItI+v4oqO9UqapjOh0CvPoBYouo2ALBKhvS93+JRIvko0UKdVjqu9kS1uhAjkj7rrrDr3QhiGBFMr2s0BfvMdRhxP4uJRmxQYuFbyBcsAeq8vivs6NrnfkEi/AIWipAmCZP0G8tn1wVdhJCalfyu+IpuMCLle/k6BlmtanepWEfTOazIHhzgdgVt291IZkeJbp9RQ2XHDsfRgXbRPl+j/Yw8OE5DBMTt9R67UqwJAkEf956IVQY0FtxbBAOxG+5av1L/s01OIYz4ihR/zpEGz+9lH4WoB14tV2HFuR1Yov1Vu19PDoJIf3E4JnCsySsOlbMWh6utyj5Q7tsoIw9DtIeFIuikFgrEY=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: edbd20db-e74c-4f64-9239-08dd5cd2fc51
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2025 17:19:00.2040 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: QIwHJSoyMrOUGja6R/AKJBY9O8PawD4T5shC4Q0pDJyIOGUC7I0EqqixiNRqijwVxwYiCyPq3CCrab619yFdmA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB4868
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2025-03-06_05,2025-03-06_01,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 suspectscore=0 spamscore=0
 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 bulkscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2502100000
 definitions=main-2503060132
X-Proofpoint-ORIG-GUID: sz-1TH8p4R_7Nk4Uo3lVQMiCruq4SFuZ
X-Proofpoint-GUID: sz-1TH8p4R_7Nk4Uo3lVQMiCruq4SFuZ
Received-SPF: pass client-ip=205.220.177.32;
 envelope-from=drew.adams@HIDDEN; helo=mx0b-00069f02.pphosted.com
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.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 "16403 <at> debbugs.gnu.org" <16403 <at> debbugs.gnu.org>,
 Stefan Monnier <monnier@HIDDEN>, Dani Moncayo <dmoncayo@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: -0.0 (/)

> > IOW, have an option for the highlighting behavior
> > when zero columns are selected:
> >
> >  1. No highlighting (no thin space, so no apparent
> >     movement).
> >     E.g., numeric value N, for highlighting after
> >     N seconds.  (0 means what you suggested.)
> >  2. Highlighting with face `region'.
> >     E.g., value nil.
> >  3. Highlighting with another face.
> >     E.g., value that face.
>=20
> Should this option be applied to the non-rectangular empty region
> as well?  I.e. as soon as you type 'C-SPC' should it indicate
> with the same narrow line that the selection is activated?
> Or maybe such indication is not necessary if an empty region
> is ignored anyway when use-empty-active-region is nil?

I wouldn't do that.  If you want some such behavior
for nonrectangular regions I'd suggest a separate
option.  What's best for one isn't necessarily best
for the other.  A vertical line makes sense for a
rectangular region.

(FWIW, a horizontal line would also have made sense.
It could even make sense to use both vertical and
horizontal.  But no one has implemented adding a
thin horizontal line.)

I don't think `use-empty-active-region' should have
any bearing on whether to show an indication of the
rectangular region being empty.  I think indication
is just as useful - nay, more useful, when that
option is non-nil.  You want to know when the region
(mark) is active.
___

FWIW:

When the region is active, `modeline-region-mode'
shows, in the mode-line, info about the region,
taking the place of the `mode-line-position' info.

Option `mlr-region-style' says what kind of info:

* `Characters'.  Number of characters in region or rectangle.

* `Bytes'.  Number of bytes in region or rectangle.

* `Lines (& words) & chars / rows & columns (& words & chars)'.
  For a regular region, you see lines and characters.
  For a rectangular region you see rows and columns.

  This can optionally include words for region and words & chars for
  rectangle: see options `mlr-non-rectangle-style' and
  `mlr-rectangle-style'.

  To change the concrete formatting used, change variables
  `mlr-lines+chars-format', `mlr-lines+words+chars-format',
  `mlr-rows+cols-format', and `mlr-rows+cols+words+chars-format'.

* `Customized format'.  An arbitrary format you specify.

By default, for a rectangular region you see the
number of rows and columns.

That mode-line active-region indication text has face
`mlr-region', which by default looks the same as face
`region', so it's quite apparent when the region is
active.

What's more, when you use a command, such as
`query-replace', that's known to use the active region,
face `mlr-region-acting-on' is used, to draw attention
to this fact.  By default, this looks the same as face
`region', but with a red overline & underline.

https://www.emacswiki.org/emacs/ModeLineRegion

https://www.emacswiki.org/emacs/modeline-region.el




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

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


Received: (at 16403) by debbugs.gnu.org; 6 Mar 2025 07:56:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 06 02:56:43 2025
Received: from localhost ([127.0.0.1]:41289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tq65z-0001vb-LJ
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 02:56:43 -0500
Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:51117)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tq65x-0001vI-Ma
 for 16403 <at> debbugs.gnu.org; Thu, 06 Mar 2025 02:56:42 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id D98294443E;
 Thu,  6 Mar 2025 07:56:32 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
Organization: LINKOV.NET
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
 <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
Date: Thu, 06 Mar 2025 09:40:01 +0200
Message-ID: <87ldtik4m6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdejvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepjedprhgtphhtthhopeduieegtdefseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepmhhitghhrggvlhgphhgvvghruggvghgvnhesfigvsgdruggvpdhrtghpthhtohepughrvgifrdgruggrmhhssehorhgrtghlvgdrtghomhdprhgtphhtthhopegumhhonhgtrgihohesghhmrghilhdrtghomhdprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlr
 dgtrgdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 16403
Cc: "16403 <at> debbugs.gnu.org" <16403 <at> debbugs.gnu.org>,
 Michael Heerdegen <michael_heerdegen@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, Dani Moncayo <dmoncayo@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@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 (-)

> IOW, have an option for the highlighting behavior
> when zero columns are selected:
>
>  1. No highlighting (no thin space, so no apparent
>     movement).
>     E.g., numeric value N, for highlighting after
>     N seconds.  (0 means what you suggested.)
>  2. Highlighting with face `region'.
>     E.g., value nil.
>  3. Highlighting with another face.
>     E.g., value that face.

Should this option be applied to the non-rectangular empty region
as well?  I.e. as soon as you type 'C-SPC' should it indicate
with the same narrow line that the selection is activated?
Or maybe such indication is not necessary if an empty region
is ignored anyway when use-empty-active-region is nil?




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

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


Received: (at submit) by debbugs.gnu.org; 6 Mar 2025 07:56:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 06 02:56:59 2025
Received: from localhost ([127.0.0.1]:41295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tq66E-0001wT-Ik
	for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 02:56:58 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58920)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tq669-0001vx-Ut
 for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 02:56:54 -0500
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 <juri@HIDDEN>) id 1tq663-0005h7-JK
 for bug-gnu-emacs@HIDDEN; Thu, 06 Mar 2025 02:56:47 -0500
Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@HIDDEN>)
 id 1tq65w-00060g-M1; Thu, 06 Mar 2025 02:56:47 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id D98294443E;
 Thu,  6 Mar 2025 07:56:32 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
Organization: LINKOV.NET
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
 <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
Date: Thu, 06 Mar 2025 09:40:01 +0200
Message-ID: <87ldtik4m6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdejvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepjedprhgtphhtthhopeduieegtdefseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepmhhitghhrggvlhgphhgvvghruggvghgvnhesfigvsgdruggvpdhrtghpthhtohepughrvgifrdgruggrmhhssehorhgrtghlvgdrtghomhdprhgtphhtthhopegumhhonhgtrgihohesghhmrghilhdrtghomhdprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlr
 dgtrgdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg
X-GND-Sasl: juri@HIDDEN
Received-SPF: pass client-ip=2001:4b98:dc4:8::228;
 envelope-from=juri@HIDDEN; helo=relay8-d.mail.gandi.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
Cc: "16403 <at> debbugs.gnu.org" <16403 <at> debbugs.gnu.org>,
 Michael Heerdegen <michael_heerdegen@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, Dani Moncayo <dmoncayo@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@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: -0.3 (/)

> IOW, have an option for the highlighting behavior
> when zero columns are selected:
>
>  1. No highlighting (no thin space, so no apparent
>     movement).
>     E.g., numeric value N, for highlighting after
>     N seconds.  (0 means what you suggested.)
>  2. Highlighting with face `region'.
>     E.g., value nil.
>  3. Highlighting with another face.
>     E.g., value that face.

Should this option be applied to the non-rectangular empty region
as well?  I.e. as soon as you type 'C-SPC' should it indicate
with the same narrow line that the selection is activated?
Or maybe such indication is not necessary if an empty region
is ignored anyway when use-empty-active-region is nil?




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

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


Received: (at 16403) by debbugs.gnu.org; 5 Mar 2025 22:25:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 17:25:59 2025
Received: from localhost ([127.0.0.1]:40168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpxBe-000740-TJ
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 17:25:59 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:15990)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <drew.adams@HIDDEN>)
 id 1tpxBb-00073q-R9
 for 16403 <at> debbugs.gnu.org; Wed, 05 Mar 2025 17:25:57 -0500
Received: from pps.filterd (m0333521.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 525M84X8023796;
 Wed, 5 Mar 2025 22:25:54 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=RT6+3/G/thWUyxHYIVjoVZJGQN4E6/WopIu31JPFNmw=; b=
 dtIKHvonuz6zJHJvcf75SLq/xqlVn/ZNfmjxMMsCzDR2TeUW0yC5YcDSChL6Q6lw
 qnLs461S7YNHYjB0BMxvbZ8+0/xDDnKqgj1Rhr5QA1WeCDnJlvszv9fcicoYjTWJ
 Bf7bRNa1DCMpgNYBZp08jqhqL6g/cFKcbFVYUXKrO/PCoLh7lJCQJ243n1OgCBPk
 5k0NCxRNFnD71MS9XU7zr7BooqtW9jJF7ttINaGeZ0qENI2d89Fq8xjIb9hwBgCl
 r1K6mOngIj/LJao5jnT6ELBqG14W+g4bksCAKW2Sr2ndP3DgTkWZMQuG+FAv5992
 grFoahND4KE7z85I91zxzQ==
Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta03.appoci.oracle.com [138.1.37.129])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 453u9qh17h-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 05 Mar 2025 22:25:53 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 525KcIws021859; Wed, 5 Mar 2025 22:25:53 GMT
Received: from nam11-bn8-obe.outbound.protection.outlook.com
 (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174])
 by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 453rwx36dm-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 05 Mar 2025 22:25:53 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=ieKoDxZmYBtrrW0BDlJYfVpZRl5usicnMRx1hqt1GgK+epa/oJndoGqO9cnCFujIUXZIipKmQFNjmrB7t/TQlAOpAPfX4cHla6t4DhXc0kVw8ooyJxcTOW7xu6Lkuy14vp871duhzgI40fKegT46ASUMQbh2e2X3f6QcgztG+UviPBs8kl+MPt17v2Hh1f8vmPDectYMgxELwHhkLbBW4ECJOjlsrVxYfPYdQR6xRPZio2XEigyfvN6l2VV7cQfTeQAETCzMcz6eOo9UvuqmHizlTo3Xbg6lWQh1o9EfckT9YdL5x7gvPPlcOjuSqBa2HXg5EZK8glbp74J0UxCx8g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=RT6+3/G/thWUyxHYIVjoVZJGQN4E6/WopIu31JPFNmw=;
 b=x69gv5GN4JSsSNwh6Ov28Ss/0O5yhQycJGpTQzdHbj/v3c8BhJJMuj2dk2iySCOu+7fMurawrcWtcaaHQXZx+qgUpecuG1DvFNIcgUtuJzCA9uq8Yp7BRRIXQsfQjTZv8b+BFOFIjFZSkKoa1uILuEr/lpypL2pO+PJifl+P7pJ2CyJZkInjAG1Yp0KHrmOrS83QUCnA/QvugIdL2WB4tzoVO8aZe7whL8/at60MNriQaBJbz4JLurhiDMiEB4w4rOpORy4P0ptzQYBgKeuxz5Hi7i31CpppLa97JNSORwnOoRf+tAAL6HJaoGVBVYKsvUuk5vskdZE0/bxbeHNC1A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=RT6+3/G/thWUyxHYIVjoVZJGQN4E6/WopIu31JPFNmw=;
 b=FqodVQQnDPHtYEe5cudBT0iSMmI0hfJEI4khv142YNdM4Jc9hyThJj4wt4tTLd+RBxxowLHggRBlHzV2bP8lK67Uk43OuibTyEAq13YBoilor8eXl2+lWRzfUTZAdERRTb6/N64T/ULDji5aYRsxPiiyGoo/aRBCeLz4l8uyBmc=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by SJ0PR10MB4592.namprd10.prod.outlook.com (2603:10b6:a03:2d8::11) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8511.17; Wed, 5 Mar
 2025 22:25:50 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8511.015; Wed, 5 Mar 2025
 22:25:50 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>, Dani Moncayo
 <dmoncayo@HIDDEN>
Subject: RE: [External] : bug#16403: Rectangular selection visually disturbing
Thread-Topic: [External] : bug#16403: Rectangular selection visually disturbing
Thread-Index: AQHbjhSVlPPL1mae5U2oQ0pAes68fLNlG5LQ
Date: Wed, 5 Mar 2025 22:25:50 +0000
Message-ID: <DS7PR10MB5232321ED2481417F32852CDF3CB2@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
In-Reply-To: <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|SJ0PR10MB4592:EE_
x-ms-office365-filtering-correlation-id: 1f5b06ca-97d7-44b0-3656-08dd5c34af04
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018;
x-microsoft-antispam-message-info: =?us-ascii?Q?/gvorkx5oi0RG6rQ+Ca5WiBSeU9NfvtwzFJzf8W8OeMwPXEFmmQu/hEHLR/c?=
 =?us-ascii?Q?k4IymQnJ2UM9KpgnHiY4ghJz6YNbqPK22zMCjEViPW6Ysmj4Ft36smH74Ihw?=
 =?us-ascii?Q?eXv0xgBYb1nWlab2sXWwcwpyu5X8n5srAZokDLB3Qc+wKl0okCW25/GeG+CG?=
 =?us-ascii?Q?2IVC59EnwAvpt4xVNp2Ey0D/01w1J3sRp4HymCPQ2hQ043LxJpyR2Y/TRoiF?=
 =?us-ascii?Q?xQdTWZor7mNm0RGP9/SElbzgFtcAyJFDQP2UDboUYri0eGlO4Zoq3KxdYipR?=
 =?us-ascii?Q?GB9rYbooybyxpKHLQLUEHlvnIJ9Gvmd/EhkLch080fQGSupaLc6DF6jwSvTi?=
 =?us-ascii?Q?C8pUCjuJpS/pEiWH9UQsai/Q/iP5xfxm1Uh3UDN4L1mqz1kkV8FRYG1Til9L?=
 =?us-ascii?Q?TWPuENGIfCFB7Z63Xsjr1OnLuCiVVuhRE13tiNez6g8IR41v6yziH9Eu6aBK?=
 =?us-ascii?Q?NwBAEQxY+SkSVI/3ZfBlHW4xt8uOyRHTbwyc4syEwHrs42m6as6vuaZWFrNN?=
 =?us-ascii?Q?rTHdsOlGzLrSnCIctksWxw1+j7v3KJ0uyvMUtrc0WXTLHSoX6PwwnmRLhpDO?=
 =?us-ascii?Q?EsutgQls96ZaaeIyfxSbbYKHt5A0V7Fc9b17gMKbWrxDNhpxXdZL7kUzenL1?=
 =?us-ascii?Q?V3Jp+D6K/sAmVNCOabUdS0VURSkyigas3Yltyek8rvPYhLT1MrA3KT9vRTlv?=
 =?us-ascii?Q?tHRlTnTlB6g0bF/6aQXjcaGp9yjr3z8N41ivfOFUxJFf2ele4sDJ+iWfjt7X?=
 =?us-ascii?Q?OxGKctJ/55EScRuD6I8BAW11qdTyZ8F2YECf3ACNaGZF/OJBjnv9gRVcb2ho?=
 =?us-ascii?Q?VZ6HuiVpU4k4vhwRbupO3MnHgaREQPCTj+W5vQs/KowkmLacyCf2/0plfCZH?=
 =?us-ascii?Q?91oVvrn55RUzywCkPp7L/xIDLCPHg50ADWRbkam0yydyQpz9FwCcg/OJVnbz?=
 =?us-ascii?Q?t2DoQqRMf7Lqp/cSccEOtrsNhd4UCbywpkSo4f4koEjOF8PEDfg7xAeVBMS4?=
 =?us-ascii?Q?SG2Sf7uGPsvsjZGxv4Nr7nfe+wlu7x8vtBdFW0SJTgFWQhBdC9e7DgJj+tGb?=
 =?us-ascii?Q?+B4yzNuJKPaeda87ggUDCopDzhNk8fEc4IOIvXCYDpTrVcL1p6UJOBesNXGH?=
 =?us-ascii?Q?IVSIH8y58kT6hEikCMNups2W7CpcdPUYL4VZAVLehzSURiRxJ8dILM061C9+?=
 =?us-ascii?Q?wVomkBgNYn9U70aO0AydVjzR2lpjnM6MFG4blrVEtc56zfpUGowohgzBzP63?=
 =?us-ascii?Q?i20coCozUklIfYE5rKFs6IQ80KoE4R1U+XrqOl9O7rfjwN+f6LIJG+pexPhM?=
 =?us-ascii?Q?iDPzv7Q3bPS8wXrJsw8e4FTZoTF31IzaxJLiWkx2mhGqQiQ+YW+yhFrD7F19?=
 =?us-ascii?Q?IhRGLH8/WR8DEijjj5+hDLCPdxOszV2BEEA67Q3mIx3qmK7EtcH8WCzjKOat?=
 =?us-ascii?Q?SgoUcZK2d3vnNMmenk2nkLMQuhri8kzA?=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wZiZ4vFkW0WV8wE2Vl7dkRmFukBzivtsV1lzITSY60ODqETAMch9qrc93qZx?=
 =?us-ascii?Q?ugDcveNJ/WqgqYC0AG+RTmm3sE+mkc9b/whQKQ8nNG3bkr9OwqmsgjMlFZ+m?=
 =?us-ascii?Q?VEMXOP1zb0sLmZkpgY6w8O+LqJCWOyCC6ATpKecRpgJS0x7vc53vnetDJKxQ?=
 =?us-ascii?Q?CiaOigrz3dTWKt/bLszrjsgJihCyTDi36uZjzTo6jkCdETVP4GlcdIx2uYPJ?=
 =?us-ascii?Q?v6gA6uutwKA+3vocPhI7TNdiLF7KNtOLAXOciHPG9T/GKBOfSn7XNpfIxzYR?=
 =?us-ascii?Q?2G9GMU+5arDvBZSJhTTB8DIlhX5HaBklDyTiTqEl4uI/2PGKrfBBLf5npINW?=
 =?us-ascii?Q?yOw1cO2N4VHIauSGVz5dX810voTlEzdbOq4wA6pmRiF77fFeEbh5daYGoBDE?=
 =?us-ascii?Q?SZK7OtxwnQyyPx0lfkJ+Li4QSvDQNcrKEzT0w+EisABSnkNnA+qKGY9z/hFG?=
 =?us-ascii?Q?o8nYhiFhUda/jKMOoIglo0mQgEMnfyZDZBCIiGbFI+Zgjhe2OTd4physcZpv?=
 =?us-ascii?Q?WP0btwzQcTlgYgJ1V7GNQrCkHU/bm9v+4vP277mGtiG24w4ncupYloiGsIis?=
 =?us-ascii?Q?yvTWJdv0RhW3l3WAxi+ehayAvR2KlpmTRYgt9pHLOKyLU1ByXBAW+oC2d6ca?=
 =?us-ascii?Q?rJlRB5v86hpIZ1MRlikh7d21JntDAYQ7TApGrWKNy+SmpIL4kWxsvyVuLS0S?=
 =?us-ascii?Q?5Rc3wkMN2NZ9R2dI9UV2ygT3PtfUgWPZ9ExKekoj78b5LMx/DZSbGqCYfdD5?=
 =?us-ascii?Q?xeOJWDEoXVQMlZlyGPKxpVUlScnwYWpQ0oM+NzJ1q0Q6t+imJpi3yiuE6nio?=
 =?us-ascii?Q?PMJkBP9xpj8gmbd6d4xTbm83mGgW+HQoEX9PDyZ/AYoBpxsL1yFj0BntXyxB?=
 =?us-ascii?Q?D7kKRiBkzvOKbqqZMOiEtKqeciLQCdsohSdqXnLFSKUouj1+Pg2y9B7jsYpQ?=
 =?us-ascii?Q?UIGsQlcfSzPrkfGpzlHiV2DHc2TeOtGaKt1Q9qlf0Yhy/7WGM12qyGnTU3g7?=
 =?us-ascii?Q?n2Tw+R+WAePFobjs/3F3M8sQZ4BKv8SoVDP7yLmQS060xOuNyC1Jyn4WTi1c?=
 =?us-ascii?Q?WN0Poq8b1DDtyY0pmMl3ut1vcPcGVUkjC+y4Q0dgQAJNWmemEzcC2/Z+R9mB?=
 =?us-ascii?Q?xXkDqDb/cI9nL1rKN+oVMYBczSwirAepkWyt50TtRSHf3bpDx4HA33vlYsrP?=
 =?us-ascii?Q?lA1OFTY2+AzHAzbdSZxREQzh87PtoL5PBsZqQ2l9VKH6L144Q+Gw7D0HSnzB?=
 =?us-ascii?Q?8aA5eLzeU5FKfek8REgAES9e5EK2YOe0T37pKH1guac6HN+cHfh5RhkRLuid?=
 =?us-ascii?Q?ycz/uG5dYWJFftgC2v085/MPEmn5DT9NHjyD2XcGqC2ZvldQiSQgZa0DYMoP?=
 =?us-ascii?Q?3G92ISs4NYkoya70Hnki6NWRtriowii9tdf1fM4CAjmJ04mY3SCmFmJ/A69j?=
 =?us-ascii?Q?5B0vf6X1J32/Y2gFEjG+Abjr/Tims4naeLO7JUPabz/Emc0CaVdyHhlzg+aF?=
 =?us-ascii?Q?83BpZddWJ+wP1Q1TAViCrH65NJKfOVz7j+qeMX1EMKNDFwkZT/Wq+945qrBV?=
 =?us-ascii?Q?cRbAOs8vroJvdAwN+I0LQsa9sVgc9V0D+8EHv3Eu?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: lJuRlgh5yE/wkR9IYBJm5UgTkYkJHlQpTq+rDh7W9FlBzqMN5EpPXDAPUYk+j+xHT1ocYcUQ5BV513DBRZSAp7IHS+Ea6ybMWHdwW8ost+WwDW9L1R0v1oYnEd2fy1m05bILrq/fs90CRx77JqHIR/pSbzNH8OO/9Dr1UbVXTJO2HCqLH8t9wVCMEaXwMYErOJTAbrkrZJFWTQAo64uUskFbFCXs6TA+5BUMCVm+IV1o1c4OY6Yq9v2ntctgvvIUMlOUUPmHxmm+J1xAzCsLDLGVtKq24tiv27NWrYwyOdZ9ZqnLuUF9351xVAZTgIvABZ1sjR/R4Q+AW2ifk7VOnK20P2clDD8JVN6cv7llJJ1eXWzcOUwy52g70fdHhb7Kp/FOJeEJ01/7G1Mm0HplQ1fDsTKOA3gUJ9BYEn3TAeVcACMP0TsSRqgf298/6ypKseYOHMtLhi2Tpt5UrAYUjgFnK/hpDSvc0i2wpz7pldaAI7IwTtTteHyWiNn7yc8YAyMoSckLn58/58iiDgxe86TzaDqvbaNxvogeISwuvsHOSe5NYRGWss+fde/1CGK+rwXfdaE8DHRNxLiiVf8ezT3Orfjq5hKgbUjNMl/T1AQ=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1f5b06ca-97d7-44b0-3656-08dd5c34af04
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2025 22:25:50.0556 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Wx40sE2GG6UAZeHBxFf7PZl1K3//KUBv+78PDvRxr6ESkT2A/Wu7bBSWo4anCE+qyJRT3SuI2lkMSQdTIfpeyw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4592
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34
 definitions=2025-03-05_09,2025-03-05_02,2024-11-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=769
 malwarescore=0
 bulkscore=0 adultscore=0 suspectscore=0 spamscore=0 phishscore=0
 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2502100000 definitions=main-2503050172
X-Proofpoint-ORIG-GUID: V0KBPc8JBHhglp-KC9cC8OKY5aW-l89d
X-Proofpoint-GUID: V0KBPc8JBHhglp-KC9cC8OKY5aW-l89d
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 "16403 <at> debbugs.gnu.org" <16403 <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: -1.7 (-)

> >> > that thin vertical line.  I find it convenient (tho I agree that the
> >> > small motion is bar jarring), but that's a question of taste.
> >>
> >> It is a bit more than only convenient: for commands like
> >> `string-rectangle' or `rectangle-number-lines' it is an important guid=
e
> >> visualizing what one will get.
> >
> > FWIW: As I said, I dislike the current visual effect of shifting the
> > text.  And I would definitely prefer _not_ to see _any_ visual
> > indication of a zero-columns rectangle, if that indication entails
> > such a visual effect.  That's why I'm asking for a way to configure
> > the behavior I prefer.
>=20
> In the short term, I think adding a config var to disable the small
> space is probably the best option.  Patch welcome.
> In the longer term, it might be worthwhile to consider adding a delay,
> i.e. a zero-width rectangle would start being shown as "zero width" but
> after a short idle time we'd add the small space to make it more
> visually obvious.  It would help avoid the small movement that
> occurs between the time you `C-x RET` and the time you start moving
> the cursor while still offering the convenient visual feedback to those
> willing to wait a little.

As long as we're considering shedding bikes, maybe
toss this orthogonal possibility into the list.

When the selection is a 0-columns rectangle, show
the vertical thin-space line with a different face,
to make it more prominent.  Optionally, of course.

IOW, have an option for the highlighting behavior
when zero columns are selected:

 1. No highlighting (no thin space, so no apparent
    movement).
    E.g., numeric value N, for highlighting after
    N seconds.  (0 means what you suggested.)
 2. Highlighting with face `region'.
    E.g., value nil.
 3. Highlighting with another face.
    E.g., value that face.

That third possibility can help if face `region'
doesn't stand out that much and you want to see
better that a rectangle is selected and where it is.




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

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


Received: (at 16403) by debbugs.gnu.org; 5 Mar 2025 21:20:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 16:20:58 2025
Received: from localhost ([127.0.0.1]:40104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpwAk-00046j-7h
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 16:20:58 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:59125)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tpwAh-00046W-Qt
 for 16403 <at> debbugs.gnu.org; Wed, 05 Mar 2025 16:20:56 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 78808100180;
 Wed,  5 Mar 2025 16:20:49 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1741209648;
 bh=7N50fJ5cd6agHUucSv6AgdcVfO+cKjQhDo+sW9ftsb8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=cwTHnf7nPdPTQhqyQ4qGw4s8FzyPCQstsgnId6xe72ML0TNv1GHAnnjG4x8pphHrY
 DGiu/tIVVD6WMvdO2arJSbrhdHVqNVNZZ2gg9kvwbj9uJIiSGA9sju/qnnbVLV7vqf
 xxZOBkqLGBAxa3D7Xa7aC0mom2Gv0HsOJIOy060nl8NlLXgi4IZdGwvhlJfctlcuPw
 O89a/fmpwpMIUqGgRPeAiZotmd/Uftl1zFAXjnRh3gzz4frjwnM7UzW2uTsrsz7B+6
 Z0l1T1FFoSFSuklugwPbZLrBtNJsuScbrJs9zkXvlaG6cXF+aodHbxvhFIZnmSuWgs
 NGNLp2+K0mnUw==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C1A77100035;
 Wed,  5 Mar 2025 16:20:48 -0500 (EST)
Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9F43912056B;
 Wed,  5 Mar 2025 16:20:48 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Dani Moncayo <dmoncayo@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
 (Dani Moncayo's message of "Wed, 5 Mar 2025 14:51:50 +0100")
Message-ID: <jwvwmd32n61.fsf-monnier+emacs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
 <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
Date: Wed, 05 Mar 2025 16:20:40 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.113 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 16403
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 16403 <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 (---)

>> > that thin vertical line.  I find it convenient (tho I agree that the
>> > small motion is bar jarring), but that's a question of taste.
>>
>> It is a bit more than only convenient: for commands like
>> `string-rectangle' or `rectangle-number-lines' it is an important guide
>> visualizing what one will get.
>
> FWIW: As I said, I dislike the current visual effect of shifting the
> text.  And I would definitely prefer _not_ to see _any_ visual
> indication of a zero-columns rectangle, if that indication entails
> such a visual effect.  That's why I'm asking for a way to configure
> the behavior I prefer.

In the short term, I think adding a config var to disable the small
space is probably the best option.  Patch welcome.
In the longer term, it might be worthwhile to consider adding a delay,
i.e. a zero-width rectangle would start being shown as "zero width" but
after a short idle time we'd add the small space to make it more
visually obvious.  It would help avoid the small movement that
occurs between the time you `C-x RET` and the time you start moving
the cursor while still offering the convenient visual feedback to those
willing to wait a little.


        Stefan





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

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


Received: (at 16403) by debbugs.gnu.org; 5 Mar 2025 13:52:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 08:52:12 2025
Received: from localhost ([127.0.0.1]:36213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tppAR-0005mk-NI
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:52:11 -0500
Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:60896)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>)
 id 1tppAO-0005mT-Vw
 for 16403 <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:52:09 -0500
Received: by mail-pj1-x102b.google.com with SMTP id
 98e67ed59e1d1-2fec3176ef3so7492633a91.1
 for <16403 <at> debbugs.gnu.org>; Wed, 05 Mar 2025 05:52:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741182723; x=1741787523; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=YZacGWEOZnL+ebYgwkMW/cynX4qNbVNKlz+CIKvvPWg=;
 b=K0uw6FS6/RkIpguQAMIAGKEzRvucwdLp3Vnledxf/kY6HADBTKJrRDWOrWwreHu0te
 OySXRU1PNy93Na5lCVU26nzGRzBNrgX6mmhe/I3RsNzND2BtenFWDAoT6f4qk+e1nOrZ
 koeEisAulVADRadzwnOFuoylWS99iPDqfnen/kchxRujBw+riuycC3amDoZLQkoS7xLJ
 m+Z5pyVlxEBvnW/EADHhf3OWS2j1hRr0xq8xvlziaLC+lU0irPWnXDHp19fwSy4/y8VT
 r5wB5OV0XXpi9Ni1UXt1X04N8hdgwEZOfpQh3uelpvOf2SSnWAvmyZGs6JJL6PKej5MN
 Eq2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741182723; x=1741787523;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=YZacGWEOZnL+ebYgwkMW/cynX4qNbVNKlz+CIKvvPWg=;
 b=Ir+6/K83iNEMrm6jaygwu+UINWlrZZUhiXHUCDLxyIVzDMkdHUE2zhzrJH4FhHrvuV
 plrhVXXH3fc5WWtJyglTdaHm3NWKHmWzASIJazgLB1MDLC2b+F5z1UtFb69Bh/dUg8sX
 UMXdvYaCOq+zZ4jjCSADU23ZccPf9Q/szXBoWNXciU1v1lXXr09RdDNU/dcBjQQ9U+y4
 /1D4RBm9Jz0v5XAhG0M4f43Txk6eDW2prEX3/Ap3UizLeZr+ysokDRgWS7P5s2BggjUb
 B/A1s1aecPa5qkgLIwYwdGAOu4abeNeq1jEmsS8nLV7orDL5W95FE9PWqObq7DJoB2qW
 owvg==
X-Forwarded-Encrypted: i=1;
 AJvYcCUTLj4rngLihDYXboXZQNLEJ7SUdCLQDbl+k7VK0U88wtQ77rA8x2oT1wx5rsUgxZHiGG0Aag==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxYU9SCaXqSn7k5TflFWq8jqaCjd9qPUliPkds6+RYfTsYdaqpU
 YkR+AeAXRxY64iAVahNMd8k7VvF3rlB1okRz+Bg4EVnvyj1Gtw3QYUxbd2BiNYHYk3JfcMY24WI
 MpI+rw5e+3wtU8reV7ZUh/BccCVdxxQ==
X-Gm-Gg: ASbGncuyJWJeZxlby6JRnYnyZyig4MylzrXrjzFYuVkBVhP4HhRsNempBDHPPP4hqlO
 +MVAhY+4K4UJp1wkewmBFAp3eB3xMnJLdQRGdh8ijvkg9t1NpLFKnQUTxRCmSDGxcLJht29w10z
 7tiEtZoaY80U1Ae+QUu0VIWEzy+6I=
X-Google-Smtp-Source: AGHT+IGN+4JJYKqzuDhPqkwmgubTFnGZRmVFj+GG8emY1PFO1U9j4kA+LTvbnoohCAVFNpNCDBKGDo0txsqVXBftLM4=
X-Received: by 2002:a17:90b:3b8d:b0:2ee:ab04:1037 with SMTP id
 98e67ed59e1d1-2ff497ac466mr6235639a91.17.1741182722624; Wed, 05 Mar 2025
 05:52:02 -0800 (PST)
MIME-Version: 1.0
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
In-Reply-To: <87y0xjehax.fsf@HIDDEN>
From: Dani Moncayo <dmoncayo@HIDDEN>
Date: Wed, 5 Mar 2025 14:51:50 +0100
X-Gm-Features: AQ5f1Jp_IUhHpvXPleHq944PXwhzAGoMTDp_p_K0W6UBOuRrBUoCeAdnrg7j_BM
Message-ID: <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16403
Cc: "Stefan Monnier via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>,
 16403 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 Stefan Monnier <monnier@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 (-)

On Wed, Mar 5, 2025 at 2:28=E2=80=AFPM Michael Heerdegen
<michael_heerdegen@HIDDEN> wrote:
>
> Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@HIDDEN> writes:
>
> > I can't think of any reason why we couldn't add a config var to disable
> > that thin vertical line.  I find it convenient (tho I agree that the
> > small motion is bar jarring), but that's a question of taste.
>
> It is a bit more than only convenient: for commands like
> `string-rectangle' or `rectangle-number-lines' it is an important guide
> visualizing what one will get.

FWIW: As I said, I dislike the current visual effect of shifting the
text.  And I would definitely prefer _not_ to see _any_ visual
indication of a zero-columns rectangle, if that indication entails
such a visual effect.  That's why I'm asking for a way to configure
the behavior I prefer.

--=20
Dani Moncayo




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

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


Received: (at submit) by debbugs.gnu.org; 5 Mar 2025 13:52:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 08:52:22 2025
Received: from localhost ([127.0.0.1]:36216 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tppAc-0005n8-74
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:52:22 -0500
Received: from lists.gnu.org ([2001:470:142::17]:59460)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>)
 id 1tppAX-0005ml-BK
 for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:52:18 -0500
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 <dmoncayo@HIDDEN>)
 id 1tppAR-00055e-KW
 for bug-gnu-emacs@HIDDEN; Wed, 05 Mar 2025 08:52:11 -0500
Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dmoncayo@HIDDEN>)
 id 1tppAL-0000Em-9c; Wed, 05 Mar 2025 08:52:11 -0500
Received: by mail-pj1-x1033.google.com with SMTP id
 98e67ed59e1d1-2fea78afde5so9321507a91.2; 
 Wed, 05 Mar 2025 05:52:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741182723; x=1741787523; darn=gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=YZacGWEOZnL+ebYgwkMW/cynX4qNbVNKlz+CIKvvPWg=;
 b=CaCeRTjpV1eOJvK31KHEWd4dAlufszlntiw5YcOB1KvSnxi5EQ/OGdfzdZoJbSNHil
 u+7X2PbqsRkX1gE69It/rIfrrC1YAyAgDS0GZTc2wvXuwFYtKZGf3PFFS2zhZjQ9A1fX
 C/bHJ70Yu7WqYl6CzwZFT8ydZMpf7Ekl0F/NfoztHNVZbwMgAJp2lBZBQ+YEDwa9tEfA
 UUVqzi2xVvHVS8AuEk4k9fHqsLyHEFVM/LqebswFjdTYW6pAduS1ntQMo9xkL6YqOkVv
 LBJ2r0FrfemsFikq6nyB47KKYfgi7TBrV5cnHHXbmcEOcSAv3lX2U74ISL2mKfangBSQ
 u/SQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741182723; x=1741787523;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=YZacGWEOZnL+ebYgwkMW/cynX4qNbVNKlz+CIKvvPWg=;
 b=tf+O+7bFeJk30WwNvf9e5s8JNxS7KqTJ3UK5Ns9veuYlR6eMvcijWvNOSOYlWPJjyU
 iSOVhDHPJ45B6SU+15OTnUP4Ujt9lJacbTUXL5EB56UfscL10MH1PLrSBI8cjYuWSVvD
 wckXd/dmD6A1rgAU+fBh5XnbObdf9DhvcyunkbBZZ0ffEVkqjNfQ62EuhWqwLHW2Dkcg
 HJsNilkfGBJ67s8rlseDoVqgyPpP1dQNQsf/2UINgQSxie9YcPU3VTuhuBuBTA5uBh2r
 /Smw+5vSWLcJiCDTMnO6U3b8aj0T9dsyiN9Yg0/ijZwAQw4paOTxpZ8zGT9jvtcNjo1Z
 CpOA==
X-Forwarded-Encrypted: i=1;
 AJvYcCW+4Kqv2ilIJ3sQV4kRcSjwsqts9NnmZIB4zvi25GeuPneD8ZvRPe2pU/ISD8RqRJG5I8+n@HIDDEN
X-Gm-Message-State: AOJu0YxKzRjN/0UNLW+RsNqkTATB1f27twEHPpzyQkm3gxXGclhlWBgM
 FNYQLPxZW164+Nt6Qb9kVIR97MEPq8/gIvG3UjSgMSUcYmMeUdZqg/Y7tE19uYlHTNOLtcZh7MT
 qylEk0DAO1gTpVLfcvClq5QtTkSY=
X-Gm-Gg: ASbGncsJh4T4ybHN7lLNHvvT4mrAHYNLU3ovzjnZReZiVc2mUjVJaGENpczDkxHKPPK
 mOfoG+QOkkrgJiqwL5lEAlEBHOI5DaYKgn43pjIM+8BEaggt0G3VAozeOnTMzIm6N+go5XwQpF1
 zdVuEcO3wjkOWyIZvviKMk0vemQik=
X-Google-Smtp-Source: AGHT+IGN+4JJYKqzuDhPqkwmgubTFnGZRmVFj+GG8emY1PFO1U9j4kA+LTvbnoohCAVFNpNCDBKGDo0txsqVXBftLM4=
X-Received: by 2002:a17:90b:3b8d:b0:2ee:ab04:1037 with SMTP id
 98e67ed59e1d1-2ff497ac466mr6235639a91.17.1741182722624; Wed, 05 Mar 2025
 05:52:02 -0800 (PST)
MIME-Version: 1.0
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
 <87y0xjehax.fsf@HIDDEN>
In-Reply-To: <87y0xjehax.fsf@HIDDEN>
From: Dani Moncayo <dmoncayo@HIDDEN>
Date: Wed, 5 Mar 2025 14:51:50 +0100
X-Gm-Features: AQ5f1Jp_IUhHpvXPleHq944PXwhzAGoMTDp_p_K0W6UBOuRrBUoCeAdnrg7j_BM
Message-ID: <CAH8Pv0g9=db8uegav1+ckuCu=kUHAfN4nqW_jbMzkTnR5VWwSQ@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::1033;
 envelope-from=dmoncayo@HIDDEN; helo=mail-pj1-x1033.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: "Stefan Monnier via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>,
 16403 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 Stefan Monnier <monnier@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: -0.0 (/)

On Wed, Mar 5, 2025 at 2:28=E2=80=AFPM Michael Heerdegen
<michael_heerdegen@HIDDEN> wrote:
>
> Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@HIDDEN> writes:
>
> > I can't think of any reason why we couldn't add a config var to disable
> > that thin vertical line.  I find it convenient (tho I agree that the
> > small motion is bar jarring), but that's a question of taste.
>
> It is a bit more than only convenient: for commands like
> `string-rectangle' or `rectangle-number-lines' it is an important guide
> visualizing what one will get.

FWIW: As I said, I dislike the current visual effect of shifting the
text.  And I would definitely prefer _not_ to see _any_ visual
indication of a zero-columns rectangle, if that indication entails
such a visual effect.  That's why I'm asking for a way to configure
the behavior I prefer.

--=20
Dani Moncayo




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

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


Received: (at 16403) by debbugs.gnu.org; 5 Mar 2025 13:29:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 08:29:05 2025
Received: from localhost ([127.0.0.1]:36132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpoo4-0001bF-W8
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:29:05 -0500
Received: from mout.web.de ([212.227.15.14]:53795)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1tpoo3-0001aE-7u
 for 16403 <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:29:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
 s=s29768273; t=1741181331; x=1741786131;
 i=michael_heerdegen@HIDDEN;
 bh=vU5lDfkrVHqYp1l0JLr5eMhAHP1HS8IpnyJo+pIAHvs=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=XY4MS/po1ZSHPZMHiY14wnbI0qResNSUmaoWj7uhqrpl2k09v0Wlqc+90VXpkMh7
 20nuSmgrv6YArXRdoYqwZsj+1aTyq9fASVPdWDoTsVw7SW8i1gQGZvgHmNqO3cIB5
 PLbcs/S8aQavCa0NMQoMn5VQ+98J89ZD8KfhVHDfESzUQHTaCJfGwUWYyDwJw7q5T
 9uQN8XgGYP5C5fihNdURNEvCnwphlGQGL/ZpKA1vQO2tv/PleWhmSOrP1BMHwzlLl
 SAbH4ZpWFe4SyKb2EM4UpZ2ODCjkRIZ9zi3gK6cu9wvG6+pnzhA7dXVHXQBYrmINj
 GMp/Z7CwPPDC8vg1jg==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([84.59.210.100]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M2ggd-1tpYce2Uhz-0091Uj; Wed, 05
 Mar 2025 14:28:51 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
Date: Wed, 05 Mar 2025 14:30:14 +0100
Message-ID: <87y0xjehax.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:5vGVy4F2Txu8qaT0HyVOI2gJsS/N6UbHIA8QofPgorXsbtyau6a
 /VwPeIkFRNBw6UapZrYCJTB8ius2E9j0t11qF46YfKRJBUVQgT3vz3BUicBYuZdtvH58NfW
 ui4etgcZ0lGDXDzfWfOwHrwC4iHtnRQuJefw+3Am2gQr1AKNuWFYAwUaHKPfiAzJpzWanMH
 fAliFz1AkRnY76H9Lb5sg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:PqUgyRqwdTk=;uhMfJaUsCMcZ3QjBoU5IwBmzDXZ
 f+ZVYO3BIwDRAZuDGqS6LUadsvt4YtJKhZQuzYlqkxdQ9ACTeut/b6VzWaB+oXFVd3oJSKa/z
 eepttt2hSZXNIpRW3fh0HVaHxOrqVeApm2MHKq7kPSbtlRGZlOlZrsPgjhm2u4jv4mCrxh1lx
 +46LD//s0bu++a90aCi6qBdwdSWIjX/AIz81l7MYZICHAY4tepmhwcAgkZ+1nROncb5iYFy7e
 BRRkJBoKPj5Gejm1bxuHbhrPvcOUOPAcEIlvQyfPSefG8TE8dJFm2vIHkdgaudbJhu+NdBW6p
 9TO1Ke1xxDcVxJ9g+BUzy889rjeIel536+/LAsMJSHi7nh+FDZEereFFxWrUiRJu71VhRUl0E
 g1VlKfCkYEl9Q+P7bhA4lzzNXi2jlorLoMypo4fe3ZjV63fxFO5mvV5PUBAcNhkJiC4jSOIvG
 cj0lCoXivtBh208amZ2iYjDki0s3M0stWZvlQPXVdAy4SnPby0J2kYgVso2lKV9AhHTjpAqsV
 lcbkY8y7PRGXEzVLt3CmlkI+I/DYEoy/RsjoXJFQ4tu6psv0DzhE0XpPumd1Sxz2IFWimoDEW
 /MO+iFP53MKkoL3mTBDT4C2hkBwApsG8L0XYfk67PGVClYWKC7nw8FsIgbjsSqA162BD3g2KW
 h6jANAvnRSjzUwGRqkgCAqMHXzE4lzzT1+CIjhkMDl4B0pG6JMqYt5NS7fRXAojsHM2mH1oCd
 Zd/JBwPAcRYlXCJWENooke1+DKJENURPqdtFEgjm4Jc9zxasyzjD3DeYMJSLrbwqmyZTEYVzb
 bFciyQLqNH8hhnwd9ixnLrw5kkkilTQtWHg3f9FsU0KTrLEAnDpWGaeu23xlpDrbBcZa0HIpo
 hbG5EUGVJ0rmv5h/4RnTIWES52iJZhh/nyoBeW3lr6pe6MGxY5yG+uCo3LW53S4as0lE74osU
 Pqg/al9m/ujTZ3wc0V7E/Cx++9c3ngz2vwxK83fPEO5Z3LtiJ+XYSegOQJGL6OXVo5BIScmzU
 QD/l5giCRaPCeA2PEzACvnpNC05tRekZY5sGC9SU0KZsRBJHQyH9jh8pNlTSXIG8cMu83I+2o
 nkDwc+VKC2llyVzVwrCwevZt0pytig6jJa6yq9nb2VQv46GneRPGFAk2zxbsX6Kl9DOcKVwz+
 emytAhGfShL0x8ICyVzlKsoJ08mDjipYxV4UJEaGSfcd0aKWmuXHA/TZ0a1CNZ5zHjCtytnqU
 KkIPG0JZzumQs0zv3PtwOMaT+iaTcd5V0etzz9P+ABTsbv816GxmulQ8SQxpD1YoBiqavfOgz
 O9yDNs3tETqtDm2F8eDGh7nDvL1cuvd9kDHIF5kuQYLtCuMJ9QzTlEBfFfDo+Fbc6+lMjUilh
 kdHcdV2GWffSWVLIj1AJhRfF7Xlj97LRlcsrwF71oLDvug9e5/wmBCb5Wu
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: Eli Zaretskii <eliz@HIDDEN>, Dani Moncayo <dmoncayo@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 16403 <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: -1.7 (-)

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@HIDDEN> writes:

> I can't think of any reason why we couldn't add a config var to disable
> that thin vertical line.  I find it convenient (tho I agree that the
> small motion is bar jarring), but that's a question of taste.

It is a bit more than only convenient: for commands like
`string-rectangle' or `rectangle-number-lines' it is an important guide
visualizing what one will get.


Michael.




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

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


Received: (at submit) by debbugs.gnu.org; 5 Mar 2025 13:29:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 05 08:29:35 2025
Received: from localhost ([127.0.0.1]:36140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpooZ-0001cD-10
	for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:29:35 -0500
Received: from lists.gnu.org ([2001:470:142::17]:37038)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1tpooX-0001bv-CI
 for submit <at> debbugs.gnu.org; Wed, 05 Mar 2025 08:29:33 -0500
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 <michael_heerdegen@HIDDEN>)
 id 1tpooC-00081s-8M
 for bug-gnu-emacs@HIDDEN; Wed, 05 Mar 2025 08:29:16 -0500
Received: from mout.web.de ([212.227.15.14])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1tpooA-0004Gk-K7; Wed, 05 Mar 2025 08:29:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
 s=s29768273; t=1741181331; x=1741786131;
 i=michael_heerdegen@HIDDEN;
 bh=vU5lDfkrVHqYp1l0JLr5eMhAHP1HS8IpnyJo+pIAHvs=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=XY4MS/po1ZSHPZMHiY14wnbI0qResNSUmaoWj7uhqrpl2k09v0Wlqc+90VXpkMh7
 20nuSmgrv6YArXRdoYqwZsj+1aTyq9fASVPdWDoTsVw7SW8i1gQGZvgHmNqO3cIB5
 PLbcs/S8aQavCa0NMQoMn5VQ+98J89ZD8KfhVHDfESzUQHTaCJfGwUWYyDwJw7q5T
 9uQN8XgGYP5C5fihNdURNEvCnwphlGQGL/ZpKA1vQO2tv/PleWhmSOrP1BMHwzlLl
 SAbH4ZpWFe4SyKb2EM4UpZ2ODCjkRIZ9zi3gK6cu9wvG6+pnzhA7dXVHXQBYrmINj
 GMp/Z7CwPPDC8vg1jg==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([84.59.210.100]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M2ggd-1tpYce2Uhz-0091Uj; Wed, 05
 Mar 2025 14:28:51 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN> <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
Date: Wed, 05 Mar 2025 14:30:14 +0100
Message-ID: <87y0xjehax.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:5vGVy4F2Txu8qaT0HyVOI2gJsS/N6UbHIA8QofPgorXsbtyau6a
 /VwPeIkFRNBw6UapZrYCJTB8ius2E9j0t11qF46YfKRJBUVQgT3vz3BUicBYuZdtvH58NfW
 ui4etgcZ0lGDXDzfWfOwHrwC4iHtnRQuJefw+3Am2gQr1AKNuWFYAwUaHKPfiAzJpzWanMH
 fAliFz1AkRnY76H9Lb5sg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:PqUgyRqwdTk=;uhMfJaUsCMcZ3QjBoU5IwBmzDXZ
 f+ZVYO3BIwDRAZuDGqS6LUadsvt4YtJKhZQuzYlqkxdQ9ACTeut/b6VzWaB+oXFVd3oJSKa/z
 eepttt2hSZXNIpRW3fh0HVaHxOrqVeApm2MHKq7kPSbtlRGZlOlZrsPgjhm2u4jv4mCrxh1lx
 +46LD//s0bu++a90aCi6qBdwdSWIjX/AIz81l7MYZICHAY4tepmhwcAgkZ+1nROncb5iYFy7e
 BRRkJBoKPj5Gejm1bxuHbhrPvcOUOPAcEIlvQyfPSefG8TE8dJFm2vIHkdgaudbJhu+NdBW6p
 9TO1Ke1xxDcVxJ9g+BUzy889rjeIel536+/LAsMJSHi7nh+FDZEereFFxWrUiRJu71VhRUl0E
 g1VlKfCkYEl9Q+P7bhA4lzzNXi2jlorLoMypo4fe3ZjV63fxFO5mvV5PUBAcNhkJiC4jSOIvG
 cj0lCoXivtBh208amZ2iYjDki0s3M0stWZvlQPXVdAy4SnPby0J2kYgVso2lKV9AhHTjpAqsV
 lcbkY8y7PRGXEzVLt3CmlkI+I/DYEoy/RsjoXJFQ4tu6psv0DzhE0XpPumd1Sxz2IFWimoDEW
 /MO+iFP53MKkoL3mTBDT4C2hkBwApsG8L0XYfk67PGVClYWKC7nw8FsIgbjsSqA162BD3g2KW
 h6jANAvnRSjzUwGRqkgCAqMHXzE4lzzT1+CIjhkMDl4B0pG6JMqYt5NS7fRXAojsHM2mH1oCd
 Zd/JBwPAcRYlXCJWENooke1+DKJENURPqdtFEgjm4Jc9zxasyzjD3DeYMJSLrbwqmyZTEYVzb
 bFciyQLqNH8hhnwd9ixnLrw5kkkilTQtWHg3f9FsU0KTrLEAnDpWGaeu23xlpDrbBcZa0HIpo
 hbG5EUGVJ0rmv5h/4RnTIWES52iJZhh/nyoBeW3lr6pe6MGxY5yG+uCo3LW53S4as0lE74osU
 Pqg/al9m/ujTZ3wc0V7E/Cx++9c3ngz2vwxK83fPEO5Z3LtiJ+XYSegOQJGL6OXVo5BIScmzU
 QD/l5giCRaPCeA2PEzACvnpNC05tRekZY5sGC9SU0KZsRBJHQyH9jh8pNlTSXIG8cMu83I+2o
 nkDwc+VKC2llyVzVwrCwevZt0pytig6jJa6yq9nb2VQv46GneRPGFAk2zxbsX6Kl9DOcKVwz+
 emytAhGfShL0x8ICyVzlKsoJ08mDjipYxV4UJEaGSfcd0aKWmuXHA/TZ0a1CNZ5zHjCtytnqU
 KkIPG0JZzumQs0zv3PtwOMaT+iaTcd5V0etzz9P+ABTsbv816GxmulQ8SQxpD1YoBiqavfOgz
 O9yDNs3tETqtDm2F8eDGh7nDvL1cuvd9kDHIF5kuQYLtCuMJ9QzTlEBfFfDo+Fbc6+lMjUilh
 kdHcdV2GWffSWVLIj1AJhRfF7Xlj97LRlcsrwF71oLDvug9e5/wmBCb5Wu
Received-SPF: pass client-ip=212.227.15.14;
 envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Eli Zaretskii <eliz@HIDDEN>, Dani Moncayo <dmoncayo@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 16403 <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: -1.0 (-)

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@HIDDEN> writes:

> I can't think of any reason why we couldn't add a config var to disable
> that thin vertical line.  I find it convenient (tho I agree that the
> small motion is bar jarring), but that's a question of taste.

It is a bit more than only convenient: for commands like
`string-rectangle' or `rectangle-number-lines' it is an important guide
visualizing what one will get.


Michael.




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

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


Received: (at 16403) by debbugs.gnu.org; 2 Mar 2025 16:55:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 11:55:31 2025
Received: from localhost ([127.0.0.1]:33973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tombC-0006lP-LC
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:55:31 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23340)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tomb9-0006kV-Vt
 for 16403 <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:55:28 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6BF0C100154;
 Sun,  2 Mar 2025 11:55:22 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1740934521;
 bh=C/kISYoNTa+H1rhm8vSbAfPS8aQJEfv0+cvkvR4Mrxk=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=oOPIOMIpvchT36J4RL20VEidmVro0tHEZBxhrYKXw9T3T77YwJBDJq1umdc0RvOPB
 KCZsdD83WENyujPq9LicmAMlrMeH1ASB0rv1/yVLG/r1m5tpDJhvB3xSBhc8Kny4mi
 L2rc5PubnXXPrYlIXv0UMBum9NluaFMrSdin+I2Xgbv5a5GYcetbGGu6IYdSMGOBmm
 b6NSojLNtqpOtxqKJOjwgAsp1dD4Rs/tWgy26fljweAj6eGSz+s6r9rNqHy1ynMimf
 m3f9HOdHIpZSt24xKMbhbMxeTwEF0WWeFHdFwBrAJKQ9RLsTrvCR7UaGptqgpowlgU
 XwgfgS33HNu1Q==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id BDDFF100035;
 Sun,  2 Mar 2025 11:55:21 -0500 (EST)
Received: from alfajor (unknown [104.247.242.5])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8ADCE12020E;
 Sun,  2 Mar 2025 11:55:21 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16403: Rectangular selection visually disturbing
In-Reply-To: <86tt8bmlgy.fsf@HIDDEN>
Message-ID: <jwveczf5q8n.fsf-monnier+emacs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 <86tt8bmlgy.fsf@HIDDEN>
Date: Sun, 02 Mar 2025 11:55:20 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.225 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 16403
Cc: 16403 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo@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: -3.3 (---)

>> If that is too complicated, I'd like to have a way to configure Emacs
>> _not_ to show that "thin vertical line" at all (i.e. to have the same
>> behavior on GUI frames as on TTY frames).
>> 
>> (after all, if I want to know the current limits of such a zero-width
>> rectangular region, I can type "C-x C-x" twice, or "C-f C-b")
>
> I believe that line was meant to be an indication that the region is
> active and you have a rectangle, even an empty one.  But I'm CC'ing
> Stefan in case I misremember.

I can't think of any reason why we couldn't add a config var to disable
that thin vertical line.  I find it convenient (tho I agree that the
small motion is bar jarring), but that's a question of taste.


        Stefan





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

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


Received: (at 16403) by debbugs.gnu.org; 2 Mar 2025 16:44:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 11:44:09 2025
Received: from localhost ([127.0.0.1]:33858 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tomQC-0002YG-SV
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:44:09 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43994)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tomQ9-0002X7-Aq
 for 16403 <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:44:06 -0500
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 <eliz@HIDDEN>)
 id 1tomQ3-0006VP-T7; Sun, 02 Mar 2025 11:43:59 -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=qPhMYcS+s78zJs0OspN8/7AAivEaoIgTSYfTEBm+Jmg=; b=k+l3QE/koroq
 1Xs5uRC/flLezR9Fo282Yy+7Qd8yTNsrgThYH5Ky5a6TOUzzxuuncGzZCIRrhMaBUsXl3P+GzPkjJ
 mpvpI8qCs3UCqRgE29YDK7BJov1wODieVsoIzgrJcj6VpDYTWYWZ5sngxG5vpNYdN54Ibd3BgRJfK
 lLBkdfc75v1ai7NFkTfwY3GYoxe7aR0lbI6IaKV6KLp1HRFkvLnBCG1ljknzLzU/WlrZxy2+MRlLS
 pPJ8YH9B88qNUADJsgp9ssApoSpyODHc2ApaojWWgrM7RLuVCA7tVh18OTQ6NcLmbYT4fEUArL9Vl
 0LsooXGYq6lnHkV9vwJvBQ==;
Date: Sun, 02 Mar 2025 18:43:57 +0200
Message-Id: <86tt8bmlgy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Dani Moncayo <dmoncayo@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
 (message from Dani Moncayo on Sun, 2 Mar 2025 17:31:34 +0100)
Subject: Re: bug#16403: Rectangular selection visually disturbing
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 16403
Cc: 16403 <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: Dani Moncayo <dmoncayo@HIDDEN>
> Date: Sun, 2 Mar 2025 17:31:34 +0100
> 
> I've been looking for a way to avoid the ugly visual effect of
> "micro-shifting" text while making a zero-width rectangular region (on
> a GUI Emacs frame).

That's by design.

> I think it would be nice to display that "thin vertical line" _over_
> the actual text; i.e. as an overlay, without any offsetting of the
> current text.

Emacs doesn't have such capabilities.

> If that is too complicated, I'd like to have a way to configure Emacs
> _not_ to show that "thin vertical line" at all (i.e. to have the same
> behavior on GUI frames as on TTY frames).
> 
> (after all, if I want to know the current limits of such a zero-width
> rectangular region, I can type "C-x C-x" twice, or "C-f C-b")

I believe that line was meant to be an indication that the region is
active and you have a rectangle, even an empty one.  But I'm CC'ing
Stefan in case I misremember.




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

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


Received: (at 16403) by debbugs.gnu.org; 2 Mar 2025 16:31:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 11:31:56 2025
Received: from localhost ([127.0.0.1]:33727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tomEN-0001NH-D4
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:31:56 -0500
Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:43094)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>)
 id 1tomEJ-0001Gj-O2
 for 16403 <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:31:52 -0500
Received: by mail-pj1-x102e.google.com with SMTP id
 98e67ed59e1d1-2fe96dd93b4so6807976a91.0
 for <16403 <at> debbugs.gnu.org>; Sun, 02 Mar 2025 08:31:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740933105; x=1741537905; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=+mpk4CAk5VkqUpcXiBK0gEir+6qJ2AumG5gTL3QpUGI=;
 b=cRaWFViRgJnC0CRh/fGCT6sqLrF4iQB2sDkbxkpAoVbSKe/XpqrdMRf5Yo5njR5Y5R
 4BWBfuF1wpkp+rg7y3KMHtPYUA6+r53HN2A2yHyHvaTyCi4RxA8nrlOu2SuvdHjIhDy9
 2rb8GmXKDBBIuF5RijieMmtQ6IAGQ/WbcwZ0+z4LZ290QyYoCkgAOPG8Fqn2UZyKv4Vr
 /E2cX2thlUz1ccnhv4zDWSbwSRb1mhtFOn+h3HptTUgEj49Uq6UNel5x76QDclWg8Qu4
 1TiIdYC3tIP8s86FURRipkfkaqDr3SyKEUwx07bezdg8qKHiG5MXjn9TC2Jj4P8bIkH2
 Yv/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740933105; x=1741537905;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=+mpk4CAk5VkqUpcXiBK0gEir+6qJ2AumG5gTL3QpUGI=;
 b=vyjc6+f3o0zNrZKc3XaLeZ6YphZteCa2At5+lacYdbhw19TJ+iwRW4FrSUfVKun44C
 E2yzHrr0+wDWV2T/v40jOxgTJmzcp5LWSndeJaXDLnwYjQ2aVemwz356OoKJm06s9SUU
 pbdWKK+5QlKdkULuA5SsaP5bP02tOxp5J80YKzESHJuyKHld74fbrC3QM1n78Y8hd8Of
 oCu2KpTKQR5oZ+dwecgY/sB6aNtIvIq9cvdzvJFELszG07R8tsrfbN6EHByjJi9I0Slw
 pKUNmWm74TN8GL5bAbRAQAkXBJurIu5DqZP1K7nWZdeLqThzoCMaTBQG9h74CCvE0g9J
 3+xA==
X-Gm-Message-State: AOJu0Yxx87xjao7zjiaTZcDKp2/N6RzhWY1C0aPwH05zHJvnPmH35kjU
 fS0gHL1iwjzgcL3VY3tevtEgCnae06V1OM1PehT1v+k9Y14bSyLSNY7RG28L5sYjzXyJVr37273
 8Hhevz1PB9xNt9mju5vRKCz9cIMWQS6PT
X-Gm-Gg: ASbGncuVA4WhsMPpjiYEuim2MGIUfJiTkAOquOYHH7pokPOQsjd8VOko2ClIpS1fqSu
 sCyr1cqESsX+3f+m1HEAjjYkrQzKKoLz8cSEwAaCcGgenhAu+lezD9ZxQdZBcSMX0rgguEamUi5
 0Np7x2R4MlPh6ffho5uNJX1VGGtQ==
X-Google-Smtp-Source: AGHT+IGqnWxOG2gCP/pwbK7A6OlGgBwbgwNdWljsKW+oYB7j8oL7aOeoW3emMYLCOkFxmTZxN5lBvFuLZReYceTMN04=
X-Received: by 2002:a17:90b:3809:b0:2fa:3b6b:3370 with SMTP id
 98e67ed59e1d1-2fea1364c1emr22022581a91.16.1740933105360; Sun, 02 Mar 2025
 08:31:45 -0800 (PST)
MIME-Version: 1.0
From: Dani Moncayo <dmoncayo@HIDDEN>
Date: Sun, 2 Mar 2025 17:31:34 +0100
X-Gm-Features: AQ5f1JpDMMDamLCDSwVM-_so2vlm4YwOuRkHUGhSJ3zh_lon15JfNTMvOcF_4rk
Message-ID: <CAH8Pv0hsvzYJgr5Xn8V3uzkaPR=kTSEc7JRf+=8k_zSRr47reQ@HIDDEN>
Subject: Rectangular selection visually disturbing
To: 16403 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16403
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 (-)

Hi.

I've been looking for a way to avoid the ugly visual effect of
"micro-shifting" text while making a zero-width rectangular region (on
a GUI Emacs frame).

(see the illustration reported time ago in this ticket:
http://i.stack.imgur.com/KIfjc.gif)

It seems that the problem was fixed for TTYs frames, but not for GUI
frames, IMO.

I think it would be nice to display that "thin vertical line" _over_
the actual text; i.e. as an overlay, without any offsetting of the
current text.

If that is too complicated, I'd like to have a way to configure Emacs
_not_ to show that "thin vertical line" at all (i.e. to have the same
behavior on GUI frames as on TTY frames).

(after all, if I want to know the current limits of such a zero-width
rectangular region, I can type "C-x C-x" twice, or "C-f C-b")

-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16403; Package emacs. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
bug unarchived. Request was from Dani Moncayo <dmoncayo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug archived. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
bug closed, send any further explanations to 16403 <at> debbugs.gnu.org and Ivan Kalyaev <ivan.kalyaev@HIDDEN> Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 16403) by debbugs.gnu.org; 2 Sep 2016 03:08:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 01 23:08:57 2016
Received: from localhost ([127.0.0.1]:46820 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bfeqf-0002dp-H6
	for submit <at> debbugs.gnu.org; Thu, 01 Sep 2016 23:08:57 -0400
Received: from mail-it0-f49.google.com ([209.85.214.49]:36305)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1bfeqd-0002dO-2R; Thu, 01 Sep 2016 23:08:55 -0400
Received: by mail-it0-f49.google.com with SMTP id i184so15553758itf.1;
 Thu, 01 Sep 2016 20:08:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=OtHQk0M5D7cuVnvudsNp03s1A72tTsyJRNPFCH93ELc=;
 b=dMytC1uixGXBNtP9RjFiy+T3pLYCRPkK/KxhbCGDflJRf6VxTVtwwxyiAkGiYbD01W
 rM6O71HAgnsPrNHmYsYvdCay7Exg6OdFYjAtby4rRFcNM1vWStUYYoe1hjFhdGWZiZM+
 OkvHK/newblx4dkdY6vuieVZLN/VVbuO58HkUmBBsxELD7QBt10zzvTXLHHrVf2uobdr
 Jw9suB98Fr7tbSvf5l+zSdRMNW8AJKaDJTr3sO2PlKRE+XoVJjzDf98T6UP6ubDzXjKo
 QfbkCqvOkvYjoxu8jMGlyQs2PEE9UzkpXiQl3FfVyHH/xdSRCsiZb/PabI04oWuJudZ9
 +vHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=OtHQk0M5D7cuVnvudsNp03s1A72tTsyJRNPFCH93ELc=;
 b=krEV6BHV0X2jUdo+NReIeqfUce9NXQZ8KNCtZ9LaHCG82zphjbM8zNagNo8vq6xKUs
 cJ1hGgl34kNUyitCrczpqq3Q4FRMdscEyiQodFqT/G8Uf6wuuFERl052DZAiqKkJ7tED
 +uB6CUu8k75sYW4qs6ifkUZ6LBQhRinsPneYeU7Wa9UE9GolqzBVG5nok61qfsCt7mMQ
 +JkM7sQbBw2a0fCBx6sEiXktKbb1MtWFbsz7tsW4N1DrxN79BJhNJMe1NcaPtpWuDgZi
 qHSpdLpm2V2EKrTLdX1F9pWj/z3nIji9SKPa/8Qza+WMDTf324w3XEqlGskyp0yAh/Uo
 2Cqw==
X-Gm-Message-State: AE9vXwMhCHp69LvzIC14IgRHSf8sjrWgaoZCaH1KYj1FKe4jE/9MSvd2JRdUNJY/yhu31Q==
X-Received: by 10.36.188.65 with SMTP id n62mr1758607ite.61.1472785729628;
 Thu, 01 Sep 2016 20:08:49 -0700 (PDT)
Received: from zony ([45.2.7.130])
 by smtp.googlemail.com with ESMTPSA id z125sm4416402itc.0.2016.09.01.20.08.48
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 01 Sep 2016 20:08:49 -0700 (PDT)
From: npostavs@HIDDEN
To: 16403 <at> debbugs.gnu.org
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN> <87eh4erg32.fsf@HIDDEN>
 <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN> <87y52ku999.fsf@HIDDEN>
 <87iotom9nw.fsf@HIDDEN> <87r39yn2a8.fsf@HIDDEN>
Date: Thu, 01 Sep 2016 23:09:09 -0400
In-Reply-To: <87r39yn2a8.fsf@HIDDEN>
 (npostavs@HIDDEN's message of "Mon, 08 Aug 2016 21:45:19
 -0400")
Message-ID: <87y43bngkq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, Stefan Monnier <monnier@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: 0.3 (/)

close 16403 
quit

npostavs@HIDDEN writes:

> Bastien <bzg@HIDDEN> writes:
>
>> Bastien <bzg@HIDDEN> writes:
>>
>>>> The intention is not just to warn the user that we're in rectangle mode,
>>>> but to actually show the boundaries of the 0-width rectangle.
>>>
>>> I will commit the change about the warning independently of the way
>>> rectangle boundaries are shown.
>>
>> Done in r116008.
>
> I can't tell if this bug is considered fixed, or...?

I will assume yes.




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

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


Received: (at 16403) by debbugs.gnu.org; 9 Aug 2016 01:45:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 08 21:45:20 2016
Received: from localhost ([127.0.0.1]:60520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bWw6a-00054r-0c
	for submit <at> debbugs.gnu.org; Mon, 08 Aug 2016 21:45:20 -0400
Received: from mail-io0-f171.google.com ([209.85.223.171]:35010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1bWw6X-0004w4-JZ
 for 16403 <at> debbugs.gnu.org; Mon, 08 Aug 2016 21:45:18 -0400
Received: by mail-io0-f171.google.com with SMTP id m101so374085838ioi.2
 for <16403 <at> debbugs.gnu.org>; Mon, 08 Aug 2016 18:45:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=qZluMM6plMtcAp6wJXetkpX4cNUZwt/fa9nXLkXlqZQ=;
 b=yklbSvhjeKRQsqiUHoTZLGqviuDgPm5InOdMPJ9lSQtxB9RzcIadDA3mrHRBEdxJv9
 kPZhCvMW3egd7pjX6ijUyWfAfwhLe/wFkdvnBOUvqnZTXIyz6Oo/HZprwiqYHJBUdQyY
 0cocEZwYU5XaBb5qiUqR6SoEijqnMRgXnW3B9b5kV+jUu7wCF1Pzv+mJih6B06Z4+yTz
 2CT05Z0F0cKYf60BRezREQppkRFzONqk5yMxIDMztyOCVjel0HwzuxVY5seWBAKK4G2R
 qTSVmiLkVVJPzzegLBYotzsz/adcIzNR4wnEKsl3zhw4D3/0EIAyMOu1zAbUl6Y45cuM
 trOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=qZluMM6plMtcAp6wJXetkpX4cNUZwt/fa9nXLkXlqZQ=;
 b=ETQcH9URBW10J1u+nb4rIs1zmkajaqvFDIOWIFUTQ/C/D0nZwgcUeCDyhAqKyjd7ZD
 2pbedJgcQl5VgULHidTGywlsrZz6lr8RSEIroWibs9bF4uiTuZLuW5xgRUQF/4EXkwg5
 hybPHWxkIxnMC81PfhFOeWPaXC9p6IvrFx7O8djSC3v8stsTKu1riU/izFQdEuox0bZU
 NOV28tdIxEmB5WGV/Ds2vAA+rv4ychKpJ8nr/t4BYrNCHGtj19OZTgeFpd1auqHUClf+
 Ls9y0othY26dHHsc5rcjIwkJHzSWxPxDzMg78opc62lOFcN5Iol9C2RQm0a3xT6Xsm1h
 aWWg==
X-Gm-Message-State: AEkoouvLbEijBx9PhCTMNOlxnmdL5Is/RudZ4yvTPsKirVVgf/PrjUor18DOAGlHI/aEOA==
X-Received: by 10.107.205.72 with SMTP id d69mr22520715iog.23.1470707112213;
 Mon, 08 Aug 2016 18:45:12 -0700 (PDT)
Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44])
 by smtp.googlemail.com with ESMTPSA id d67sm15612271ioe.5.2016.08.08.18.45.11
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 08 Aug 2016 18:45:11 -0700 (PDT)
From: npostavs@HIDDEN
To: Bastien <bzg@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN> <87eh4erg32.fsf@HIDDEN>
 <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN> <87y52ku999.fsf@HIDDEN>
 <87iotom9nw.fsf@HIDDEN>
Date: Mon, 08 Aug 2016 21:45:19 -0400
In-Reply-To: <87iotom9nw.fsf@HIDDEN> (Bastien's message of "Mon, 13 Jan
 2014 11:57:23 +0100")
Message-ID: <87r39yn2a8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, Stefan Monnier <monnier@HIDDEN>,
 16403 <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: -0.7 (/)

Bastien <bzg@HIDDEN> writes:

> Bastien <bzg@HIDDEN> writes:
>
>>> The intention is not just to warn the user that we're in rectangle mode,
>>> but to actually show the boundaries of the 0-width rectangle.
>>
>> I will commit the change about the warning independently of the way
>> rectangle boundaries are shown.
>
> Done in r116008.

I can't tell if this bug is considered fixed, or...?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16403; Package emacs. Full text available.
Severity set to 'normal' from 'important' Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 16403) by debbugs.gnu.org; 13 Jan 2014 10:57:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 13 05:57:32 2014
Received: from localhost ([127.0.0.1]:48434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W2fD1-0005W6-5G
	for submit <at> debbugs.gnu.org; Mon, 13 Jan 2014 05:57:31 -0500
Received: from mail-wi0-f173.google.com ([209.85.212.173]:59635)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bastienguerry@HIDDEN>) id 1W2fCx-0005Vx-M0
 for 16403 <at> debbugs.gnu.org; Mon, 13 Jan 2014 05:57:28 -0500
Received: by mail-wi0-f173.google.com with SMTP id d13so543075wiw.0
 for <16403 <at> debbugs.gnu.org>; Mon, 13 Jan 2014 02:57:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-type;
 bh=7ekcr9foCkSv6JXcuC0VhPlBlo4sDLX90khloE3pzF8=;
 b=vjgnnF0gK2z9BlPCEJBejBEf4t1yIyAFTDpknWDCrvQGbd+qzg2tQtYZ78slExxsrX
 mOh8jnnIiqEvpnKzXLAk/W4157FbyOctGQ/MZcDG9IY+e2zqsRD8kGvJSU7a/nd+HygF
 NPBn8sWYIhCMyWUvovg6AA+m7XaFo85D032Mjpc82vpApEyzHadaLc2U1KXTZX2s1E8Z
 AQNlBrrKshFAerqNiF+OmBVQFcBo1tA3B1/3rYD2VF+f5hXGZKC6ODspzzP985W9yist
 oVsDLlBDxbCiHeuxj0NZa0vPP72ALdVyoyjCItf9GSEfBifwvgAKXONTGD9U3+wBVcKN
 LAYQ==
X-Received: by 10.194.92.164 with SMTP id cn4mr425437wjb.74.1389610646772;
 Mon, 13 Jan 2014 02:57:26 -0800 (PST)
Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net.
 [81.56.68.112])
 by mx.google.com with ESMTPSA id jw4sm11112085wjc.20.2014.01.13.02.57.24
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 13 Jan 2014 02:57:25 -0800 (PST)
Received: by bzg.localdomain (Postfix, from userid 1000)
 id C58D31C20860; Mon, 13 Jan 2014 11:57:23 +0100 (CET)
From: Bastien <bzg@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-Reply-To: <87y52ku999.fsf@HIDDEN> (Bastien's message of "Sun, 12 Jan
 2014 23:26:42 +0100")
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
 <87eh4erg32.fsf@HIDDEN>
 <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN>
 <87y52ku999.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Date: Mon, 13 Jan 2014 11:57:23 +0100
Message-ID: <87iotom9nw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

Bastien <bzg@HIDDEN> writes:

>> The intention is not just to warn the user that we're in rectangle mode,
>> but to actually show the boundaries of the 0-width rectangle.
>
> I will commit the change about the warning independently of the way
> rectangle boundaries are shown.

Done in r116008.

-- 
 Bastien




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

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


Received: (at 16403) by debbugs.gnu.org; 13 Jan 2014 04:00:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 23:00:29 2014
Received: from localhost ([127.0.0.1]:48204 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W2YhR-00023M-48
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2014 23:00:29 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36451)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1W2YhN-00023C-En
 for 16403 <at> debbugs.gnu.org; Sun, 12 Jan 2014 23:00:26 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: At8KABK/CFFMCoyj/2dsb2JhbABEuzWCWAQCexdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IPAS-Result: At8KABK/CFFMCoyj/2dsb2JhbABEuzWCWAQCexdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44802632"
Received: from 76-10-140-163.dsl.teksavvy.com (HELO pastel.home)
 ([76.10.140.163])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 12 Jan 2014 23:00:24 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 4168060FB9; Sun, 12 Jan 2014 23:00:24 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Bastien <bzg@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
Message-ID: <jwvk3e4wn2s.fsf-monnier+emacsbugs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
 <87eh4erg32.fsf@HIDDEN>
 <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN>
 <87y52ku999.fsf@HIDDEN>
Date: Sun, 12 Jan 2014 23:00:24 -0500
In-Reply-To: <87y52ku999.fsf@HIDDEN> (Bastien's message of "Sun, 12 Jan
 2014 23:26:42 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.3 (/)

> I cannot think of situations where the user would want an empty
> rectangle, but at the same time not allowing them would not be
> consistent with Emacs behavior.

Emacs uses empty rectangles so as to provide the `insert-rectangle'
functionality using the `string-rectangle' command, so we save
a key-binding.
So, empty rectangles are fairly important.


        Stefan




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

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


Received: (at 16403) by debbugs.gnu.org; 12 Jan 2014 22:26:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 17:26:52 2014
Received: from localhost ([127.0.0.1]:48147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W2TUZ-0001Oz-IE
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2014 17:26:51 -0500
Received: from mail-wg0-f51.google.com ([74.125.82.51]:57260)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bastienguerry@HIDDEN>) id 1W2TUX-0001Op-IK
 for 16403 <at> debbugs.gnu.org; Sun, 12 Jan 2014 17:26:50 -0500
Received: by mail-wg0-f51.google.com with SMTP id z12so5671117wgg.6
 for <16403 <at> debbugs.gnu.org>; Sun, 12 Jan 2014 14:26:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-type;
 bh=0LwaJ5z7lqXdq+AfYt7J0UkeaAmPP3m7dRf+QF8xmag=;
 b=jjxE5xNsorAc5fIkkipXxaze4p+yPXLe9gVGiuVzd7z77tQYa0Uf6QZKiEsHDDZEHV
 HVOCLazKb65ebQm1zka1S/pSxo1zFJdn9vhC9L4PU3R0L2EuxzGEdvcrb619eoYKbIIi
 gtKr/ufdEGU0eKRxB4qrnVgX7dHhzgmgjz3exjSZXwAlYEhY7Y2efgai6qTDN1u1ZLat
 52/DH7/FSpzZWwTuAGY7dU1/HWoZBBtSvLAlu4DbQ0w4R53MXHUx2at6CO0yZbn86+69
 KU+rpL520R9yVFFEEay/tmD0TkZubPgtbdInvnAAu+6ZT/jC5C+b7b2z7cjYobcdI+mS
 xF7A==
X-Received: by 10.180.38.11 with SMTP id c11mr12221235wik.60.1389565608269;
 Sun, 12 Jan 2014 14:26:48 -0800 (PST)
Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net.
 [81.56.68.112])
 by mx.google.com with ESMTPSA id po3sm9923015wjc.3.2014.01.12.14.26.45
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 12 Jan 2014 14:26:47 -0800 (PST)
Received: by bzg.localdomain (Postfix, from userid 1000)
 id 3D3ED1C20828; Sun, 12 Jan 2014 23:26:42 +0100 (CET)
From: Bastien <bzg@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-Reply-To: <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Sun, 12 Jan 2014 15:03:11 -0500")
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
 <87eh4erg32.fsf@HIDDEN>
 <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Date: Sun, 12 Jan 2014 23:26:42 +0100
Message-ID: <87y52ku999.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>>>> I'll will wait for other maintainers to give feedback and apply
>>>> this on monday if it's good.
>>> It's probably fine for ttys, indeed, but it doesn't solve the problem
>>> for GUI frames.
>> I thought the behavior in GUI frames was acceptable,
>
> This OP's use-case is a GUI frame.  Daniel pointed out that it's even
> worse under ttys.

Okay.

>> Maybe in GUI the visual hint could be a change in the cursor
>> shape?  E.g. from box to vbar.
>
> The intention is not just to warn the user that we're in rectangle mode,
> but to actually show the boundaries of the 0-width rectangle.

I will commit the change about the warning independently of the way
rectangle boundaries are shown.

Two ideas:

1) using a vbar cursor, which not only warn the user, but also
   visually represent an empty rectangle.

2) reduce the width of the line inserted to reduce the glitch.

(Both are compatible, of course.)

Note that vim does not allow empty rectangle selection:
C-v y p will copy and paste the character at point.

I cannot think of situations where the user would want an empty
rectangle, but at the same time not allowing them would not be
consistent with Emacs behavior.

-- 
 Bastien




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

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


Received: (at 16403) by debbugs.gnu.org; 12 Jan 2014 20:03:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 15:03:15 2014
Received: from localhost ([127.0.0.1]:48076 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W2RFa-0005uk-Ri
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2014 15:03:15 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:24184)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1W2RFY-0005uc-Ib
 for 16403 <at> debbugs.gnu.org; Sun, 12 Jan 2014 15:03:13 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFFMCoyj/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IPAS-Result: Av8EABK/CFFMCoyj/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44782255"
Received: from 76-10-140-163.dsl.teksavvy.com (HELO pastel.home)
 ([76.10.140.163])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 12 Jan 2014 15:03:11 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 4ADD160281; Sun, 12 Jan 2014 15:03:11 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Bastien <bzg@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
Message-ID: <jwvha99yo6p.fsf-monnier+emacsbugs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
 <87eh4erg32.fsf@HIDDEN>
Date: Sun, 12 Jan 2014 15:03:11 -0500
In-Reply-To: <87eh4erg32.fsf@HIDDEN> (Bastien's message of "Sat, 11 Jan
 2014 11:02:57 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.3 (/)

>>> I'll will wait for other maintainers to give feedback and apply
>>> this on monday if it's good.
>> It's probably fine for ttys, indeed, but it doesn't solve the problem
>> for GUI frames.
> I thought the behavior in GUI frames was acceptable,

This OP's use-case is a GUI frame.  Daniel pointed out that it's even
worse under ttys.

> Maybe in GUI the visual hint could be a change in the cursor
> shape?  E.g. from box to vbar.

The intention is not just to warn the user that we're in rectangle mode,
but to actually show the boundaries of the 0-width rectangle.


        Stefan




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

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


Received: (at 16403) by debbugs.gnu.org; 11 Jan 2014 10:03:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 05:03:06 2014
Received: from localhost ([127.0.0.1]:46008 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1vPF-0003GC-T4
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2014 05:03:06 -0500
Received: from mail-ee0-f49.google.com ([74.125.83.49]:48918)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bastienguerry@HIDDEN>) id 1W1vPC-0003Fh-9z
 for 16403 <at> debbugs.gnu.org; Sat, 11 Jan 2014 05:03:03 -0500
Received: by mail-ee0-f49.google.com with SMTP id c41so2281163eek.36
 for <16403 <at> debbugs.gnu.org>; Sat, 11 Jan 2014 02:03:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-type;
 bh=d/UeOuUcpwaadr2zRhMgEuJ4OMluE/4+WOWf8TtCtr4=;
 b=j9G8wMLHyII+YP19bP1lGNMrhKOTzEKiIUrQY8qvhX5qWtdgDOWkiU5wc3NyxZ/Hp7
 WPV4WTtGPjas3Qmxywoecr2eLt9z3DIscP+cqphc1n0b6rj/7PXgIoua6Du2kcNDmmhr
 VJx5Pe32eyG2VWLbAd/+2KyFpxH6DYTV2pBjQbQyh/rBVontleG1Ts8xnGfu0S+VaNUB
 6wwIMWJ3UIaxYNK+gkoGUebhW8M+8Rp6kUTz4pfUEeBZxHGkEPMhR8cHX4EYJPF72ziP
 t62upOZ8GLObqw+btsv+niBAk+vQqsDrCTJbBTFNR8UQ7LuKdTrog8aVa8lz6x12qX/K
 znWA==
X-Received: by 10.15.83.8 with SMTP id b8mr15037967eez.6.1389434581006;
 Sat, 11 Jan 2014 02:03:01 -0800 (PST)
Received: from bzg.localdomain ([213.190.18.11])
 by mx.google.com with ESMTPSA id b41sm21496519eef.16.2014.01.11.02.02.58
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 11 Jan 2014 02:02:59 -0800 (PST)
Received: by bzg.localdomain (Postfix, from userid 1000)
 id 16D0E1C20757; Sat, 11 Jan 2014 11:02:57 +0100 (CET)
From: Bastien <bzg@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-Reply-To: <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Fri, 10 Jan 2014 18:57:06 -0500")
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
 <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Date: Sat, 11 Jan 2014 11:02:57 +0100
Message-ID: <87eh4erg32.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> I'll will wait for other maintainers to give feedback and apply
>> this on monday if it's good.
>
> It's probably fine for ttys, indeed, but it doesn't solve the problem
> for GUI frames.

I thought the behavior in GUI frames was acceptable,
and the "glitch" a way to warn the user.

Maybe in GUI the visual hint could be a change in the cursor
shape?  E.g. from box to vbar.

-- 
 Bastien




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

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


Received: (at 16403) by debbugs.gnu.org; 10 Jan 2014 23:57:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 18:57:11 2014
Received: from localhost ([127.0.0.1]:45715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1lws-0002oO-LG
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2014 18:57:11 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10663)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1W1lwp-0002oB-Qn
 for 16403 <at> debbugs.gnu.org; Fri, 10 Jan 2014 18:57:08 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxKG9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IPAS-Result: Av8EABK/CFFFxKG9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44692693"
Received: from 69-196-161-189.dsl.teksavvy.com (HELO pastel.home)
 ([69.196.161.189])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 10 Jan 2014 18:57:07 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id DE1E66045A; Fri, 10 Jan 2014 18:57:06 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Bastien <bzg@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
Message-ID: <jwv61pr5r2v.fsf-monnier+emacsbugs@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN> <871u0feght.fsf@HIDDEN>
Date: Fri, 10 Jan 2014 18:57:06 -0500
In-Reply-To: <871u0feght.fsf@HIDDEN> (Bastien's message of "Fri, 10 Jan
 2014 21:20:14 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 16403
Cc: Eli Zaretskii <eliz@HIDDEN>, ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.3 (/)

> I'll will wait for other maintainers to give feedback and apply
> this on monday if it's good.

It's probably fine for ttys, indeed, but it doesn't solve the problem
for GUI frames.


        Stefan




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

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


Received: (at 16403) by debbugs.gnu.org; 10 Jan 2014 20:20:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 15:20:26 2014
Received: from localhost ([127.0.0.1]:45580 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1iZ8-0005IC-B7
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2014 15:20:26 -0500
Received: from mail-we0-f181.google.com ([74.125.82.181]:60818)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bastienguerry@HIDDEN>) id 1W1iZ5-0005Hv-Cm
 for 16403 <at> debbugs.gnu.org; Fri, 10 Jan 2014 15:20:23 -0500
Received: by mail-we0-f181.google.com with SMTP id u56so2178801wes.26
 for <16403 <at> debbugs.gnu.org>; Fri, 10 Jan 2014 12:20:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-type;
 bh=92pnfMI7b3UgWMDePlZkGvlXPS7E0vdatN3+YOdwtAI=;
 b=o3pF8/yNh7OPjxlSuumt8KJNcNTLgA3L9yKHqKPLncmi2JOYOPzG0tpPmhRWqw5kjO
 671qofbgEuvqDe/+s84RELpBS30WcBv4r9HY39a05OIcnr84Dcf93n0l0y+h4QB6gQsA
 eLGksFP0vawAuOqHp/M54i18S5ul01KS6fmjlqeuU1FgLH2rVTOGXbHfw5hkSi8IveSI
 xwNCYHIlVS75uPzWjt4EctyhTtOXdW1/bUeu39G3A0ELrSyDO7dHZKShU34w1gWpNx4b
 yEhY2miJ+dh8LpJNmHRElhI71yTlj2JW8Fay9LdHyGAZmv6JYd0GXXRLe2XXbS47ojey
 V9XA==
X-Received: by 10.194.185.113 with SMTP id fb17mr10356428wjc.29.1389385222598; 
 Fri, 10 Jan 2014 12:20:22 -0800 (PST)
Received: from bzg.localdomain ([90.161.105.124])
 by mx.google.com with ESMTPSA id ay6sm3709128wjb.23.2014.01.10.12.20.20
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 10 Jan 2014 12:20:21 -0800 (PST)
Received: by bzg.localdomain (Postfix, from userid 1000)
 id CF2D01C20757; Fri, 10 Jan 2014 21:20:14 +0100 (CET)
From: Bastien <bzg@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-Reply-To: <83eh4fbnil.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 10 Jan
 2014 22:16:50 +0200")
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
 <83eh4fbnil.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Date: Fri, 10 Jan 2014 21:20:14 +0100
Message-ID: <871u0feght.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Bastien <bzg@HIDDEN>
>> Date: Fri, 10 Jan 2014 20:58:33 +0100
>> Cc: Ivan Kalyaev <ivan.kalyaev@HIDDEN>, 16403 <at> debbugs.gnu.org
>> 
>> -              (when (= leftcol rightcol)
>> +              (when (and (= leftcol rightcol) (window-system))
>
> Please don't use window-system as a predicate.  Use display-graphic-p
> instead (in this case; there are other display-*-p predicates that
> target other situations).

Thanks for the advice.

I'll will wait for other maintainers to give feedback and apply
this on monday if it's good.

-- 
 Bastien




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

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


Received: (at 16403) by debbugs.gnu.org; 10 Jan 2014 20:17:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 15:17:03 2014
Received: from localhost ([127.0.0.1]:45572 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1iVq-0005C6-Nx
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2014 15:17:03 -0500
Received: from mtaout22.012.net.il ([80.179.55.172]:51493)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1W1iVo-0005BZ-00
 for 16403 <at> debbugs.gnu.org; Fri, 10 Jan 2014 15:17:01 -0500
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MZ700200BX4Q300@HIDDEN> for 16403 <at> debbugs.gnu.org;
 Fri, 10 Jan 2014 22:16:58 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MZ7002IZCC9J940@HIDDEN>;
 Fri, 10 Jan 2014 22:16:58 +0200 (IST)
Date: Fri, 10 Jan 2014 22:16:50 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-reply-to: <87sisvehhy.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Bastien <bzg@HIDDEN>
Message-id: <83eh4fbnil.fsf@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN> <87sisvehhy.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 16403
Cc: dancol@HIDDEN, ivan.kalyaev@HIDDEN, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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 (+)

> From: Bastien <bzg@HIDDEN>
> Date: Fri, 10 Jan 2014 20:58:33 +0100
> Cc: Ivan Kalyaev <ivan.kalyaev@HIDDEN>, 16403 <at> debbugs.gnu.org
> 
> -              (when (= leftcol rightcol)
> +              (when (and (= leftcol rightcol) (window-system))

Please don't use window-system as a predicate.  Use display-graphic-p
instead (in this case; there are other display-*-p predicates that
target other situations).




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

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


Received: (at 16403) by debbugs.gnu.org; 10 Jan 2014 19:58:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 14:58:45 2014
Received: from localhost ([127.0.0.1]:45550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1iE9-0004eW-HW
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2014 14:58:45 -0500
Received: from mail-we0-f171.google.com ([74.125.82.171]:58870)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bastienguerry@HIDDEN>) id 1W1iE7-0004eF-0U
 for 16403 <at> debbugs.gnu.org; Fri, 10 Jan 2014 14:58:43 -0500
Received: by mail-we0-f171.google.com with SMTP id w61so929321wes.30
 for <16403 <at> debbugs.gnu.org>; Fri, 10 Jan 2014 11:58:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-type;
 bh=Pzx1rj2x4bNOtpUVeUkJnZiAEqEoBw1CYTBPD3W82Hg=;
 b=jF/bMCpw4+9pwY1WydIJy08EXTpZvSRlTVdWIqTPR1Q7ZzFN9SxBosEthZzBSKIyFA
 4hK+3xyideBtIlnj6iLzLq4w51tQtMYx1+/Kk4MRdM8nLeKB3nzlTVqNHz3JXLgrJPSB
 UFngBgp0SFUbWG+aQ/OydUmjSiK9nsE0PlAeLRNC6VP4w8KdAN6/UywxDufvtrGtY/6W
 J45n9mKbZX1I+253iFNDmv3dq3lFhXqnMJU+SIM2KRiQ0DHh4Ia5iuysolinWihiE6or
 lqocJCIi5FMrcCsbJ2fu7Jgu7fNzTVuoAPyklYw8GNpjTLtkoI9GYBSEYRwbDuuk/Z//
 zLSQ==
X-Received: by 10.180.211.141 with SMTP id nc13mr4302783wic.47.1389383921828; 
 Fri, 10 Jan 2014 11:58:41 -0800 (PST)
Received: from bzg.localdomain ([90.161.105.124])
 by mx.google.com with ESMTPSA id cy10sm4989280wjb.6.2014.01.10.11.58.39
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 10 Jan 2014 11:58:40 -0800 (PST)
Received: by bzg.localdomain (Postfix, from userid 1000)
 id D7C3C1C20757; Fri, 10 Jan 2014 20:58:33 +0100 (CET)
From: Bastien <bzg@HIDDEN>
To: Daniel Colascione <dancol@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
In-Reply-To: <52CF105B.5090005@HIDDEN> (Daniel Colascione's message of
 "Thu, 09 Jan 2014 13:10:51 -0800")
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Date: Fri, 10 Jan 2014 20:58:33 +0100
Message-ID: <87sisvehhy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: Ivan Kalyaev <ivan.kalyaev@HIDDEN>, 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

--=-=-=
Content-Type: text/plain

Daniel Colascione <dancol@HIDDEN> writes:

> On 01/09/2014 02:15 AM, Ivan Kalyaev wrote:
>> When I press <C-x SPS> to start vertical selection lines of text shift to the
>> right because empty selection is represented with a line symbol.
>>
>> It looked like font rendering glitch at first. The jerky motion is disturbing.
>>
>> How do you think the visual experience could be made better?
>>
>> For comparison, vim selects the starting character right away.
>
> I usually use Emacs in a window system. In a tty, yes, this behavior
> looks bad. We should do something about it.

I suggest these fixes (see patch attached):

- don't display an after-string overlay in tty;

- Let C-x SPC sends this message to the user:
  "Mark active (rectangle mode)"
  instead of just "Mark active"

Let me know what you think.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=rect.el.patch

diff --git a/lisp/rect.el b/lisp/rect.el
index f1f0b8d..3d890b5 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -444,7 +444,8 @@ Activates the region if needed.  Only lasts until the region is deactivated."
               (lambda () (rectangle-mark-mode -1)))
     (unless (region-active-p)
       (push-mark)
-      (activate-mark))))
+      (activate-mark)
+      (message "Mark set (rectangle mode)"))))
 
 (defun rectangle--extract-region (orig &optional delete)
   (if (not rectangle-mark-mode)
@@ -553,10 +554,10 @@ Activates the region if needed.  Only lasts until the region is deactivated."
                     (overlay-put ol 'after-string str))))
                ((overlay-get ol 'after-string)
                 (overlay-put ol 'after-string nil)))
-              (when (= leftcol rightcol)
+              (when (and (= leftcol rightcol) (window-system))
                 ;; Make zero-width rectangles visible!
-                (overlay-put ol 'after-string
-                             (concat (propertize " "
+		(overlay-put ol 'after-string
+			     (concat (propertize " "
                                                  'face '(region (:height 0.2)))
                                      (overlay-get ol 'after-string))))
               (push ol nrol)

--=-=-=
Content-Type: text/plain


-- 
 Bastien

--=-=-=--




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

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


Received: (at 16403) by debbugs.gnu.org; 10 Jan 2014 11:28:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 06:28:42 2014
Received: from localhost ([127.0.0.1]:44776 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1aGX-0003U2-PH
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2014 06:28:42 -0500
Received: from mail-pb0-f44.google.com ([209.85.160.44]:52906)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1aGV-0003Tq-F0
 for 16403 <at> debbugs.gnu.org; Fri, 10 Jan 2014 06:28:40 -0500
Received: by mail-pb0-f44.google.com with SMTP id rq2so4368367pbb.3
 for <16403 <at> debbugs.gnu.org>; Fri, 10 Jan 2014 03:28:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type:content-transfer-encoding;
 bh=wpSHwpSFT4/P2bRj7lsimYqFBbZ05xpQKu1puUIxkag=;
 b=Yp8yJpltyIK584ItGuRsYNU66wMxmobM/pKkYnfdcDFmrkQ18V+7QLX6j4xKVeZH3x
 M0CzjCOHagL2aTN0MIOhhMFemFarIqXLt1wTXLMtCWriY0zoaFAfUYfGY3CAGxups2YH
 YTS9Uj5mM7jTnvhTHPIReLW8+ZMD7cWten4aiTjUflHvS/B2htCCrETXX/86zAE05QLG
 GDvyzSstIuCA5JklfcF/RCHUsAC6IyIfD4o2wN2UdKxMtGAfXdytVDKSRUNmQP4qqcqd
 6/hzdyK2HE9Fypr/UGMr1b6ffyzJX4GPsnwdlX7QtnyzI4qgx1wX5r6+SnkWvTGKTQHM
 HvNQ==
X-Received: by 10.68.204.161 with SMTP id kz1mr10721547pbc.156.1389353318535; 
 Fri, 10 Jan 2014 03:28:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.70.61.5 with HTTP; Fri, 10 Jan 2014 03:28:18 -0800 (PST)
In-Reply-To: <52CF105B.5090005@HIDDEN>
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
 <52CF105B.5090005@HIDDEN>
From: Ivan Kalyaev <ivan.kalyaev@HIDDEN>
Date: Fri, 10 Jan 2014 15:28:18 +0400
Message-ID: <CAJ4zm2A7_jZzKScR5Ura+Vmz2+km5=OMeiBJvEzSLWdAXfUHzQ@HIDDEN>
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
To: Daniel Colascione <dancol@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 16403
Cc: 16403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.7 (/)

Daniel,

> I usually use Emacs in a window system. In a tty, yes, this behavior look=
s bad.

Actually, I can see this behavior in the GUI version as well (only the
line symbol is not in full-width).

Please see this screencast for illustration: http://i.stack.imgur.com/KIfjc=
.gif

On Fri, Jan 10, 2014 at 1:10 AM, Daniel Colascione <dancol@HIDDEN> wrot=
e:
> On 01/09/2014 02:15 AM, Ivan Kalyaev wrote:
>>
>> When I press <C-x SPS> to start vertical selection lines of text shift t=
o
>> the
>> right because empty selection is represented with a line symbol.
>>
>> It looked like font rendering glitch at first. The jerky motion is
>> disturbing.
>>
>> How do you think the visual experience could be made better?
>>
>> For comparison, vim selects the starting character right away.
>
>
> I usually use Emacs in a window system. In a tty, yes, this behavior look=
s
> bad. We should do something about it.



--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=98=D0=B2=
=D0=B0=D0=BD




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

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


Received: (at 16403) by debbugs.gnu.org; 9 Jan 2014 21:11:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 16:11:01 2014
Received: from localhost ([127.0.0.1]:44350 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1MsW-00023b-WD
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2014 16:11:01 -0500
Received: from dancol.org ([96.126.100.184]:54724)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dancol@HIDDEN>) id 1W1MsV-00023U-Io
 for 16403 <at> debbugs.gnu.org; Thu, 09 Jan 2014 16:11:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org;
 s=x; 
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID;
 bh=WC12JUbmRs8vVM3PLrC56Tx+ReQLgmeNEJjRXOT7+oc=; 
 b=beM3drV0mEdXv/s5ZKjHtS5lUeWojYZtLkFqje6KXiORAj+LrMR47FJMsbAmWgVv+0AnjgvjUXhvs7++gTIb97OwV0HyoNOl3Au8CXw5qYOeD/pZDqr/gnphl1hfzwH7HegkKNNvxJCWTDg52EJUWxO+cUZBLrJ4pxTqMAWmYVEAKbxwZgnYJdEsqq32/bDYrQ6h5zJwQpyzjfb1lvSR1MIJz+jjk296fCV3VHKWKXDJZ7tDxYoHQT9pQI5fQc07fcaRdj5V4VmEV5/RYsgYOfTavnZH9umMercB3uDR20n6BmlQwwjy4Ar3Me8c8BIcd5f6gY4UNMlMxMsdzh7t0A==;
Received: from [2620:0:1cfe:2d:2b5:6dff:fe02:e7be]
 by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256)
 (Exim 4.80) (envelope-from <dancol@HIDDEN>)
 id 1W1MsU-0007Y3-4f; Thu, 09 Jan 2014 13:10:58 -0800
Message-ID: <52CF105B.5090005@HIDDEN>
Date: Thu, 09 Jan 2014 13:10:51 -0800
From: Daniel Colascione <dancol@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Ivan Kalyaev <ivan.kalyaev@HIDDEN>, 16403 <at> debbugs.gnu.org
Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing
References: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
In-Reply-To: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16403
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.0 (/)

On 01/09/2014 02:15 AM, Ivan Kalyaev wrote:
> When I press <C-x SPS> to start vertical selection lines of text shift to the
> right because empty selection is represented with a line symbol.
>
> It looked like font rendering glitch at first. The jerky motion is disturbing.
>
> How do you think the visual experience could be made better?
>
> For comparison, vim selects the starting character right away.

I usually use Emacs in a window system. In a tty, yes, this behavior 
looks bad. We should do something about it.




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

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


Received: (at submit) by debbugs.gnu.org; 9 Jan 2014 10:15:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 05:15:33 2014
Received: from localhost ([127.0.0.1]:43618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W1CeC-0005fY-Qk
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2014 05:15:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59724)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1CeA-0005fO-8b
 for submit <at> debbugs.gnu.org; Thu, 09 Jan 2014 05:15:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1Ce8-0001AL-WC
 for submit <at> debbugs.gnu.org; Thu, 09 Jan 2014 05:15:30 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36709)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1Ce8-0001AH-UO
 for submit <at> debbugs.gnu.org; Thu, 09 Jan 2014 05:15:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33213)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1Ce7-0001A3-Oz
 for bug-gnu-emacs@HIDDEN; Thu, 09 Jan 2014 05:15:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1Ce5-000198-WB
 for bug-gnu-emacs@HIDDEN; Thu, 09 Jan 2014 05:15:27 -0500
Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:49748)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ivan.kalyaev@HIDDEN>) id 1W1Ce5-00018m-P3
 for bug-gnu-emacs@HIDDEN; Thu, 09 Jan 2014 05:15:25 -0500
Received: by mail-pb0-f46.google.com with SMTP id md12so2811413pbc.5
 for <bug-gnu-emacs@HIDDEN>; Thu, 09 Jan 2014 02:15:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=9joEvZhogsarCh0xccTZKItBAcbyUQZWV4o4dgQE1Ck=;
 b=sOo2Z3p4+fIMHW+jkkCcC+yWxSmT4py5OT0jqAVb5uy6u8234BIbQC1xj1QPvxwIDd
 vkYZJ+gS+y36XqAYIt6zxSAmSIu7F3CWkqcXl9R7cdGTK93rXRDsDFMBjSkW4RV1LFO2
 AcVvVg7vevbLPM8jJ7wIl6M2pMX9QAP6bsWwaUPkbKw1Z5fA2VJfQpWRumOIhblZsCwD
 qGqPrPhSbIut4BYOFt9uh+KtXN+lqS/rnCcF9imrXfd/hYGJhzGJsSvplgijp4dEny3u
 FBfq1Ra0ah/InTLcicXUMctr55OD7h1WvQtQfKbLOSaH5b5804qt06W5DFQLRCARcj9x
 0Q1A==
X-Received: by 10.68.134.130 with SMTP id pk2mr2580753pbb.167.1389262524413;
 Thu, 09 Jan 2014 02:15:24 -0800 (PST)
MIME-Version: 1.0
Received: by 10.70.61.5 with HTTP; Thu, 9 Jan 2014 02:15:04 -0800 (PST)
From: Ivan Kalyaev <ivan.kalyaev@HIDDEN>
Date: Thu, 9 Jan 2014 14:15:04 +0400
Message-ID: <CAJ4zm2DRsHrJxj0hu1V=bUxWBBNDmmZMi33=gBDjQn1cRVXLiA@HIDDEN>
Subject: 24.3.50; Rectangular selection visually disturbing
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -4.0 (----)

Hi,

When I press <C-x SPS> to start vertical selection lines of text shift to the
right because empty selection is represented with a line symbol.

It looked like font rendering glitch at first. The jerky motion is disturbing.

How do you think the visual experience could be made better?

For comparison, vim selects the starting character right away.


--
With respect, Ivan




Acknowledgement sent to Ivan Kalyaev <ivan.kalyaev@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#16403; 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: Sun, 9 Mar 2025 10:15:02 UTC

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