From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#42307: Feature request: Visual block attribute for overlays Date: Sun, 12 Jul 2020 02:50:12 +0300 Organization: LINKOV.NET Message-ID: <87d05139k3.fsf@mail.linkov.net> References: <21c81ecf-75d7-47d7-9b10-d2050769f6e3@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11554"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: ghe@sdf.org To: 42307@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 12 02:35:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1juPxc-0002s3-3D for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jul 2020 02:35:16 +0200 Original-Received: from localhost ([::1]:34088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juPxa-0003jt-Ig for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jul 2020 20:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juPxO-0003jU-Mm for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2020 20:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juPxO-0004co-E1 for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2020 20:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juPxO-0007ih-81 for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2020 20:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jul 2020 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42307 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Gregory Heytings via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Gregory Heytings , 42307@debbugs.gnu.org, Drew Adams Original-Received: via spool by 42307-submit@debbugs.gnu.org id=B42307.159451409929647 (code B ref 42307); Sun, 12 Jul 2020 00:35:02 +0000 Original-Received: (at 42307) by debbugs.gnu.org; 12 Jul 2020 00:34:59 +0000 Original-Received: from localhost ([127.0.0.1]:45071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juPxL-0007i5-AV for submit@debbugs.gnu.org; Sat, 11 Jul 2020 20:34:59 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:46567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juPxJ-0007hd-E5 for 42307@debbugs.gnu.org; Sat, 11 Jul 2020 20:34:57 -0400 X-Originating-IP: 91.129.103.18 Original-Received: from mail.gandi.net (m91-129-103-18.cust.tele2.ee [91.129.103.18]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id A838F1BF204; Sun, 12 Jul 2020 00:34:47 +0000 (UTC) In-Reply-To: (Gregory Heytings via's message of "Fri, 10 Jul 2020 16:02:52 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182930 Archived-At: >> What about a variant of your "visual block" that extends the overlay so >> that all lines, from the first line, which contains `overlay-start' to >> the last line, which contains `overlay-end', are covered through the same >> columns? Coverage (highlighting) would then always be a rectangle. In >> your example, it would the highlighting of the last line would be >> extended to the same column as that of the other lines. > > That's a possible variant, indeed. Let's name this one > "visualrectangle". But from a programmer's point of view it makes (IMHO) > less sense. How this highlighting is different from the rectangle selection mode activated by 'C-x SPC'?