From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#42347: Feature request: Visual block attribute for overlays Date: Tue, 14 Jul 2020 07:38:38 +0000 Message-ID: References: <83k0z6n7w6.fsf@gnu.org> Reply-To: Gregory Heytings Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.21 (NEB 202 2017-01-01) To: 42347@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 14 09:39:09 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 1jvFWv-0003jc-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 09:39:09 +0200 Original-Received: from localhost ([::1]:60802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvFWu-0000Vs-4e for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 03:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvFWo-0000Vk-M3 for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2020 03:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvFWo-0002s2-Cz for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2020 03:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvFWo-0002Xl-AV for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2020 03:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jul 2020 07:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42347 X-GNU-PR-Package: emacs Original-Received: via spool by 42347-submit@debbugs.gnu.org id=B42347.15947123269753 (code B ref 42347); Tue, 14 Jul 2020 07:39:02 +0000 Original-Received: (at 42347) by debbugs.gnu.org; 14 Jul 2020 07:38:46 +0000 Original-Received: from localhost ([127.0.0.1]:50031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvFWY-0002XF-2k for submit@debbugs.gnu.org; Tue, 14 Jul 2020 03:38:46 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:57843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvFWV-0002X6-FS for 42347@debbugs.gnu.org; Tue, 14 Jul 2020 03:38:44 -0400 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 06E7cfYE002880 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 14 Jul 2020 07:38:41 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 06E7ceB0024975; Tue, 14 Jul 2020 07:38:40 GMT In-Reply-To: <83k0z6n7w6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182981 Archived-At: This should be merged with bug #42307. (It was sent earlier, and for some reason stayed in the mail queue during a week.) > >> 1. calculate the overlay it it would have been displayed by Emacs >> 21-26. >> >> 2. remove all pixel columns on the right *and on the left* of the >> overlay which have no "content" (that is, no characters on the right, >> and whitespace characters on the left). > > What would be the definition of "whitespace" for this purpose? > I think the regexp "[ \t\r\n]*" would be appropriate. Gregory