GNU logs - #40857, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40857: Invisibility specs do not apply to specified spaces
Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Apr 2020 23:19:02 +0000
Resent-Message-ID: <handler.40857.B.15878567418711 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 40857
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 40857 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.15878567418711
          (code B ref -1); Sat, 25 Apr 2020 23:19:02 +0000
Received: (at submit) by debbugs.gnu.org; 25 Apr 2020 23:19:01 +0000
Received: from localhost ([127.0.0.1]:60542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSU4a-0002GR-Rj
	for submit <at> debbugs.gnu.org; Sat, 25 Apr 2020 19:19:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:36024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1jSU4Z-0002GK-75
 for submit <at> debbugs.gnu.org; Sat, 25 Apr 2020 19:18:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44738)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <cpitclaudel@HIDDEN>) id 1jSU4Y-0007ui-Pd
 for bug-gnu-emacs@HIDDEN; Sat, 25 Apr 2020 19:18:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=unavailable autolearn_force=no
 version=3.4.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1)
 (envelope-from <cpitclaudel@HIDDEN>) id 1jSU4Y-0000p4-Bc
 for bug-gnu-emacs@HIDDEN; Sat, 25 Apr 2020 19:18:58 -0400
Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:38192)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <cpitclaudel@HIDDEN>)
 id 1jSU4X-0000oq-W8
 for bug-gnu-emacs@HIDDEN; Sat, 25 Apr 2020 19:18:58 -0400
Received: by mail-qt1-x836.google.com with SMTP id i68so11248008qtb.5
 for <bug-gnu-emacs@HIDDEN>; Sat, 25 Apr 2020 16:18:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=O/dTdpWKc3tkb3NwJsO9Jd3/E/flrhu5DiuTpzAcMwk=;
 b=om+dug6X8NRvtKleQ86ESIJDzIoLxM3RqdWzOkjat/MjrM6wYn/NMeYHw+nruSWlEv
 K8CeJWTfy9ThbTFyUDlphHiRAJxJzSCmkHuJC5YMpH62Bjv0yfA0gWQUmx8qGSuBvDpk
 P/bzm8sTUyuQtriVusquRyz3MS37hpdY8VmVZ7VyxLdd9igXtdjROa8Ppp58pTK4wvfa
 +yKBD+tYkoq2Y/hbvLhOGZ/biubGEZEAJ180GCl90Ejt5YHi3N2Gc96gs8dB97gVYPCF
 7dzRLxziFrnOFp0NWJt3GKhVeAuWCImaHRlLrf4vyIivn0CW+np9hERHuW8EJsgcQ2Uj
 VTbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=O/dTdpWKc3tkb3NwJsO9Jd3/E/flrhu5DiuTpzAcMwk=;
 b=ZYKLiMgdSBW43QP4BCuINeet9dGzSdjPo5xAnXQ3qOL0vHDY9gkl2ZzK8Dt/tR+pTk
 7DBGlsVnuPY/QhIbwiR28ppZMeR/Gp7kNyFyz7okRkLul/6OdhEP7/mOZyKDSlyxlotu
 omFNWwC8T0CD18S0nOoPv5dyF4Hlw8u7d1IUHlsi81kzqyoiyHwUSfnP/NK59mwpBrqr
 wZ6oYessvAWIsox6mZJcryQf2AvdHjmksiCQDsGbnjpmFC6xwuH0krDnNY021VHeWH+3
 FxswUyaFH6mHG6WlJY+CtB1ZLyXLuNA7ThryNS3GqAg0wHN2/6Lh2iTDyioYj3/98tor
 jzAw==
X-Gm-Message-State: AGi0PuZKfZKa5ueXD8cwHG6Nd9BkK8b06mBzJKGCeKaecipwEvigVX5x
 /gRTMLO54b6XK0rO6HQ7YyF5tpaw5Vs=
X-Google-Smtp-Source: APiQypKpVSlJigBUpEkmd2U6n2oEDekm+SIPVnzs4HGLv1E9U/vbH/ZHmPGdVeZC5cXfLc5kTamhDw==
X-Received: by 2002:ac8:1a4d:: with SMTP id q13mr16624880qtk.137.1587856736920; 
 Sat, 25 Apr 2020 16:18:56 -0700 (PDT)
Received: from ?IPv6:2601:184:4180:66e7:54d6:bfeb:aa49:9d3b?
 ([2601:184:4180:66e7:54d6:bfeb:aa49:9d3b])
 by smtp.googlemail.com with ESMTPSA id g25sm6503398qkl.50.2020.04.25.16.18.56
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 25 Apr 2020 16:18:56 -0700 (PDT)
From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Message-ID: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
Date: Sat, 25 Apr 2020 19:18:55 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::836;
 envelope-from=cpitclaudel@HIDDEN; helo=mail-qt1-x836.google.com
X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT :
 Malformed IPv6 address (bad octet value).
 Location : parse_addr6(), p0f-client.c:67
X-Received-From: 2607:f8b0:4864:20::836
X-Spam-Score: 0.7 (/)
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: -2.3 (--)

Consider the following program:

(with-current-buffer (get-buffer-create "*spaces*")
  (erase-buffer)
  (let ((indent (propertize " " 'display '(space :width 3))))
    (put-text-property (point) (progn (insert indent "r1\n") (point)) 'invisible 'a)
    (put-text-property (point) (progn (insert indent "r2\n") (point)) 'invisible 'b))
  (add-to-invisibility-spec 'a)
  (pop-to-buffer (current-buffer)))

The first record (r1) is hidden, but not the indentation that precedes it; so, instead of looking like this:

   r2

The buffer looks like this:

      r2

(This is because the invisible property doesn't apply to the display spec.)
It's easy to fix when the replacing display spec is a string (by putting the same invisibility spec on the string), but there doesn't seem to be a way to add an 'invisible property to the specified space.

Clément




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Subject: bug#40857: Acknowledgement (Invisibility specs do not apply to
 specified spaces)
Message-ID: <handler.40857.B.15878567418711.ack <at> debbugs.gnu.org>
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
X-Gnu-PR-Message: ack 40857
X-Gnu-PR-Package: emacs
Reply-To: 40857 <at> debbugs.gnu.org
Date: Sat, 25 Apr 2020 23:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 40857 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
40857: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40857
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40857: Invisibility specs do not apply to specified spaces
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 26 Apr 2020 15:22:01 +0000
Resent-Message-ID: <handler.40857.B40857.15879144818902 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40857
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Cc: 40857 <at> debbugs.gnu.org
Received: via spool by 40857-submit <at> debbugs.gnu.org id=B40857.15879144818902
          (code B ref 40857); Sun, 26 Apr 2020 15:22:01 +0000
Received: (at 40857) by debbugs.gnu.org; 26 Apr 2020 15:21:21 +0000
Received: from localhost ([127.0.0.1]:33923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSj5k-0002JK-6o
	for submit <at> debbugs.gnu.org; Sun, 26 Apr 2020 11:21:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jSj5h-0002J6-Pz
 for 40857 <at> debbugs.gnu.org; Sun, 26 Apr 2020 11:21:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44425)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1jSj5b-0002mz-Hj; Sun, 26 Apr 2020 11:21:03 -0400
Received: from [176.228.60.248] (port=4429 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jSj5a-0006XY-51; Sun, 26 Apr 2020 11:21:03 -0400
Date: Sun, 26 Apr 2020 18:20:55 +0300
Message-Id: <83tv165l48.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN> (message from
 =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sat, 25 Apr 2020 19:18:55 -0400)
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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: Clément Pit-Claudel <cpitclaudel@HIDDEN>
> Date: Sat, 25 Apr 2020 19:18:55 -0400
> 
> Consider the following program:
> 
> (with-current-buffer (get-buffer-create "*spaces*")
>   (erase-buffer)
>   (let ((indent (propertize " " 'display '(space :width 3))))
>     (put-text-property (point) (progn (insert indent "r1\n") (point)) 'invisible 'a)
>     (put-text-property (point) (progn (insert indent "r2\n") (point)) 'invisible 'b))
>   (add-to-invisibility-spec 'a)
>   (pop-to-buffer (current-buffer)))
> 
> The first record (r1) is hidden, but not the indentation that precedes it; so, instead of looking like this:
> 
>    r2
> 
> The buffer looks like this:
> 
>       r2

I don't think this is a bug.  A "replacing" display property in effect
forces the display engine to ignore the entire chunk of text "covered"
by that display property, so the fact that this chunk of text is in
this case invisible is never seen, nor acted upon.  Once the display
engine is done producing the stretch of white space for the display
property, it jumps to the end of the text "covered" by the property,
and continues from there.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40857: Invisibility specs do not apply to specified spaces
Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 26 Apr 2020 16:05:01 +0000
Resent-Message-ID: <handler.40857.B40857.158791709213134 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40857
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 40857 <at> debbugs.gnu.org
Received: via spool by 40857-submit <at> debbugs.gnu.org id=B40857.158791709213134
          (code B ref 40857); Sun, 26 Apr 2020 16:05:01 +0000
Received: (at 40857) by debbugs.gnu.org; 26 Apr 2020 16:04:52 +0000
Received: from localhost ([127.0.0.1]:33992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSjm0-0003Pm-2L
	for submit <at> debbugs.gnu.org; Sun, 26 Apr 2020 12:04:52 -0400
Received: from mail-qt1-f169.google.com ([209.85.160.169]:39835)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1jSjly-0003Pa-UU
 for 40857 <at> debbugs.gnu.org; Sun, 26 Apr 2020 12:04:51 -0400
Received: by mail-qt1-f169.google.com with SMTP id o10so12260777qtr.6
 for <40857 <at> debbugs.gnu.org>; Sun, 26 Apr 2020 09:04:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=dTp/6/UdMi6sddL8Nh/1+r/JYicfivs5AfxzkbQSOuI=;
 b=BxNE7JTlqJenfi9uTxqBOtttnIheEdzJ9jpFf1BWyNMC11VVsP1UkOn2TX/cK9KTv2
 O4z8vXKXR0JPODwoqb6mUShZGX1BiMcB7PWo4S8cShX8jkLaeYSGbbJvTx+eMgooUJ6f
 UXkt3Y+Eh0VyajOKvQBy2vJlWRF4yQhLAu2b/bBDbxCL7ZS5irBpp+pWoVBagX9W9gKw
 Q4jwBurVtsMqftSXqR85BC8Gg5on1uuEMOfr+gIBDTPrscDROPqon8upsWbD2QxGyEeh
 Qc5Kv7Sftffnprr/9BvY847p59Z6TK8wp9cLz5QnAgVAXWBo8t9xCIziFJtJ/vYFroDj
 PasQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=dTp/6/UdMi6sddL8Nh/1+r/JYicfivs5AfxzkbQSOuI=;
 b=DbbrAwwKyJ+Ebm6graVo7wAgypl4s8PX4ZQp2A1j3G+HUFW1dvkYxh2pVvPzffEAe4
 VTEsmE1I1cHfWgCjn4/WYYvfpNArG3w8el6n5Xu/bogIkAQSgtMX1HNmLhRmnBZwuVMn
 6otAqrala92bYowPzC2eT7wWiP/hA5C54NIIyF4/Xqz2dEsTzfu7+2MInUWr/vQudZrz
 dGCCdxPN8ryfrtY1nVdGZSCPdOp5YSDjFnBE6VZIfAEWPh6gSZiAjk9j2eVp6YNgSkWh
 1H4uLkfN2boU/8StSEqIOPw4XilDPckxXCsFQmuHf74Q1lQuXMgF09zBZf93dhCtgUC2
 KYfQ==
X-Gm-Message-State: AGi0PuYxUJSItCqOBJTMeEhS+Tu3pDdocLeCIDzhbLALasevdEEO5lmE
 gKqpQTWTAklfpV1DpR0VajcEg7Sw
X-Google-Smtp-Source: APiQypKp6z+B7RGqBdoU0QKfBLZCIinSETMxLh6rK9KHgQKeeeCfCT3qCshDru+2kPe0W7i1Gq2jgQ==
X-Received: by 2002:ac8:7183:: with SMTP id w3mr19119003qto.307.1587917085348; 
 Sun, 26 Apr 2020 09:04:45 -0700 (PDT)
Received: from ?IPv6:2601:184:4180:66e7:54d6:bfeb:aa49:9d3b?
 ([2601:184:4180:66e7:54d6:bfeb:aa49:9d3b])
 by smtp.googlemail.com with ESMTPSA id s14sm8352274qts.70.2020.04.26.09.04.44
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 26 Apr 2020 09:04:44 -0700 (PDT)
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
 <83tv165l48.fsf@HIDDEN>
From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Message-ID: <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN>
Date: Sun, 26 Apr 2020 12:04:43 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <83tv165l48.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
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 26/04/2020 11.20, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <cpitclaudel@HIDDEN>
>> Date: Sat, 25 Apr 2020 19:18:55 -0400
>>
>> Consider the following program:
>>
>> (with-current-buffer (get-buffer-create "*spaces*")
>>   (erase-buffer)
>>   (let ((indent (propertize " " 'display '(space :width 3))))
>>     (put-text-property (point) (progn (insert indent "r1\n") (point)) 'invisible 'a)
>>     (put-text-property (point) (progn (insert indent "r2\n") (point)) 'invisible 'b))
>>   (add-to-invisibility-spec 'a)
>>   (pop-to-buffer (current-buffer)))
>>
>> The first record (r1) is hidden, but not the indentation that precedes it; so, instead of looking like this:
>>
>>    r2
>>
>> The buffer looks like this:
>>
>>       r2
> 
> I don't think this is a bug.

Indeed not. As I said in the original method, and as you summarized: (This is because the invisible property doesn't apply to the display spec.)
The feature request is to have a way to add an invisible property to specified spaces.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40857: Invisibility specs do not apply to specified spaces
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 26 Apr 2020 17:16:01 +0000
Resent-Message-ID: <handler.40857.B40857.158792130323669 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40857
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Cc: 40857 <at> debbugs.gnu.org
Received: via spool by 40857-submit <at> debbugs.gnu.org id=B40857.158792130323669
          (code B ref 40857); Sun, 26 Apr 2020 17:16:01 +0000
Received: (at 40857) by debbugs.gnu.org; 26 Apr 2020 17:15:03 +0000
Received: from localhost ([127.0.0.1]:34809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSkrv-00069b-9d
	for submit <at> debbugs.gnu.org; Sun, 26 Apr 2020 13:15:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53026)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1jSkrt-00068W-Fd; Sun, 26 Apr 2020 13:15:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47349)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1jSkro-00024F-8I; Sun, 26 Apr 2020 13:14:56 -0400
Received: from [176.228.60.248] (port=2683 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jSkf1-0007OD-DR; Sun, 26 Apr 2020 13:01:44 -0400
Date: Sun, 26 Apr 2020 20:01:36 +0300
Message-Id: <83imhm5ggf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN> (message from
 =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sun, 26 Apr 2020 12:04:43 -0400)
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
 <83tv165l48.fsf@HIDDEN> <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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 (---)

severity 40857 wishlist
thanks

> Cc: 40857 <at> debbugs.gnu.org
> From: Clément Pit-Claudel <cpitclaudel@HIDDEN>
> Date: Sun, 26 Apr 2020 12:04:43 -0400
> 
> > I don't think this is a bug.
> 
> Indeed not. As I said in the original method, and as you summarized: (This is because the invisible property doesn't apply to the display spec.)

Not because it doesn't apply to the display spec, because it at all is
not considered when a display property is on the same text as
invisible property.

> The feature request is to have a way to add an invisible property to specified spaces.

Ah, okay.  Didn't realize this was a feature request.




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


Received: (at control) by debbugs.gnu.org; 26 Apr 2020 17:15:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 26 13:15:03 2020
Received: from localhost ([127.0.0.1]:34807 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSkrv-00069P-0z
	for submit <at> debbugs.gnu.org; Sun, 26 Apr 2020 13:15:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53026)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1jSkrt-00068W-Fd; Sun, 26 Apr 2020 13:15:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47349)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1jSkro-00024F-8I; Sun, 26 Apr 2020 13:14:56 -0400
Received: from [176.228.60.248] (port=2683 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jSkf1-0007OD-DR; Sun, 26 Apr 2020 13:01:44 -0400
Date: Sun, 26 Apr 2020 20:01:36 +0300
Message-Id: <83imhm5ggf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
In-Reply-To: <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN> (message from
 =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sun, 26 Apr 2020 12:04:43 -0400)
Subject: Re: bug#40857: Invisibility specs do not apply to specified spaces
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
 <83tv165l48.fsf@HIDDEN> <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
Cc: 40857 <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 (---)

severity 40857 wishlist
thanks

> Cc: 40857 <at> debbugs.gnu.org
> From: Clément Pit-Claudel <cpitclaudel@HIDDEN>
> Date: Sun, 26 Apr 2020 12:04:43 -0400
> 
> > I don't think this is a bug.
> 
> Indeed not. As I said in the original method, and as you summarized: (This is because the invisible property doesn't apply to the display spec.)

Not because it doesn't apply to the display spec, because it at all is
not considered when a display property is on the same text as
invisible property.

> The feature request is to have a way to add an invisible property to specified spaces.

Ah, okay.  Didn't realize this was a feature request.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#40857: Invisibility specs do not apply to specified spaces
Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 26 Apr 2020 17:26:02 +0000
Resent-Message-ID: <handler.40857.B40857.158792191824728 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 40857
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 40857 <at> debbugs.gnu.org
Received: via spool by 40857-submit <at> debbugs.gnu.org id=B40857.158792191824728
          (code B ref 40857); Sun, 26 Apr 2020 17:26:02 +0000
Received: (at 40857) by debbugs.gnu.org; 26 Apr 2020 17:25:18 +0000
Received: from localhost ([127.0.0.1]:34823 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSl1p-0006Ql-Vm
	for submit <at> debbugs.gnu.org; Sun, 26 Apr 2020 13:25:18 -0400
Received: from mail-qk1-f182.google.com ([209.85.222.182]:38854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1jSl1o-0006QY-9z
 for 40857 <at> debbugs.gnu.org; Sun, 26 Apr 2020 13:25:16 -0400
Received: by mail-qk1-f182.google.com with SMTP id o19so15782066qkk.5
 for <40857 <at> debbugs.gnu.org>; Sun, 26 Apr 2020 10:25:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=lr9kKWUhRuOpD5R4pBsCJ5Z9+cjNTLmEVCRbX5HQZxw=;
 b=X72gLhV1y4VGJf05BC/2n9unWe9ucD/i92hcOJ3ejfBjI2xcP4B5iYKIqTzdP/hw1R
 WezKogZryHMK2yKr4doyIx2V+XBFD0NmChnDehtrJrAvNo7M/vPIKqsCJJprUqd1aqON
 4VWepH/50bOYIklXxwVUeiiMarRPlqkme69/boubehNXTzRVU2C9/n9GPJ8WfDiC3HWz
 0v5GqwBixvPBfxSJo+JQTuqPqG+NzX00086TjQMJGr2FXd3D8lTjDdRYYjRPR0m+BNyv
 5xGpQfd4BqxRb/ldDnncjJxQhftfrjyefW54NrCtzx+OU2ky2j44fEvyAyeQXz7Aii0p
 R6FA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=lr9kKWUhRuOpD5R4pBsCJ5Z9+cjNTLmEVCRbX5HQZxw=;
 b=Kw266pVGty/ZoxQ8VD1ceyUw4JEiU+8fIiY+c6nK1GcZbDBxSZxUD7pn8ZLP19wwt6
 6AYsWZ2qgF/y7WevTy5eVuLv9zs9ADH8y4xrBP23TCul3MnGe5NQx2Bv9JlHjLrRa37W
 rHvJN+m/eLoHGJ+x9uCja08mj16tIXHcrbQwt1r51wK8g0AKDcEtqya+mxSZsbOL0i65
 FZXCZK+s/toNzeH0bCnnCCwGu6OxQXmj5RR4s6bxHa13UNRidrfC5cyLSWAeVC0MNUD5
 +9f0FgcoLTl6+wyFv2iDAjC+RdVH7oYhPHp/9LjIJL/g2mNZHmLXxC+EiiAMZIf0eijr
 06Qg==
X-Gm-Message-State: AGi0PuY23dqacEwnYmhkEBc/nJwBLPXHxLqcE7BTNBOWRPnEwE+kZZKv
 /yK8Cc5HUcq8yt7MpJzxhB31oS1NjTk=
X-Google-Smtp-Source: APiQypK5w02Zd+SuSES+yPcto1W+6mXJABYOwsUjYp4cTEUtF3o+j1EVLVcbLhBdawdHWOR4QMVPwQ==
X-Received: by 2002:a05:620a:5f7:: with SMTP id
 z23mr10749768qkg.76.1587921910754; 
 Sun, 26 Apr 2020 10:25:10 -0700 (PDT)
Received: from ?IPv6:2601:184:4180:66e7:54d6:bfeb:aa49:9d3b?
 ([2601:184:4180:66e7:54d6:bfeb:aa49:9d3b])
 by smtp.googlemail.com with ESMTPSA id h3sm7893125qkf.15.2020.04.26.10.25.09
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 26 Apr 2020 10:25:10 -0700 (PDT)
References: <1f66e993-8835-4777-7252-9b6de7331fc7@HIDDEN>
 <83tv165l48.fsf@HIDDEN> <8f5a6c90-6292-1ba1-ad14-020575d02d52@HIDDEN>
 <83imhm5ggf.fsf@HIDDEN>
From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Message-ID: <ed2aef86-f013-6bac-9c0c-dd124004f69f@HIDDEN>
Date: Sun, 26 Apr 2020 13:25:09 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <83imhm5ggf.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
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 26/04/2020 13.01, Eli Zaretskii wrote:
>> The feature request is to have a way to add an invisible property to specified spaces.
> 
> Ah, okay.  Didn't realize this was a feature request.

Sorry, it's because I wasn't clear.  Specified spaces are very convenient for displaying tabulated lists, and the buffer-invisibility-spec is supposed to be particularly useful for displaying database records, but in practice these two don't work together.  It would be great if they did.








Last modified: Sun, 26 Apr 2020 17:30:02 UTC

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