From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible Date: Wed, 19 Jul 2023 09:51:31 -0400 Message-ID: References: <87fs5l3b3g.fsf@localhost> <83ilah79aq.fsf@gnu.org> <87jzux2zg8.fsf@localhost> <871qh4mgxo.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8546"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 64696@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 15:53:41 2023 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 1qM7ca-0001zw-I0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 15:53:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM7c0-0007zG-Kb; Wed, 19 Jul 2023 09:53:05 -0400 Original-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 ) id 1qM7bz-0007w6-2C for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:53:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qM7by-0002nY-Ms for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qM7by-0003NI-J8 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64696 X-GNU-PR-Package: emacs Original-Received: via spool by 64696-submit@debbugs.gnu.org id=B64696.168977474112903 (code B ref 64696); Wed, 19 Jul 2023 13:53:02 +0000 Original-Received: (at 64696) by debbugs.gnu.org; 19 Jul 2023 13:52:21 +0000 Original-Received: from localhost ([127.0.0.1]:55221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM7bJ-0003M3-Lf for submit@debbugs.gnu.org; Wed, 19 Jul 2023 09:52:21 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM7bF-0003Lk-Ns for 64696@debbugs.gnu.org; Wed, 19 Jul 2023 09:52:20 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D69B944085D; Wed, 19 Jul 2023 09:52:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DC72E4413C7; Wed, 19 Jul 2023 09:51:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689774693; bh=2pZev88R96DdkHctJvBwJjXFd935G4aHVIcPMdpxF0A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dTPPRa9BSgmHi3Q/x5juKnPYLhGHbszsHSw7V3rSOt8wUnIdHrgz99wk94iExc7nd r/KydH8eGPHPu3ODw1gKF84xj29xEsTiu5zPDEpVJhI0KSmUXDGFO7TWyiN0jaTCyu reXKTwVCYW9wq21VgBUTs+ZHwtznx/OxL/X8HrobIgo7x51ubo3EF8fiM3ZLNUsYQX okpBsaicYLJq+W9dVzv/UL74Lwx6+he/FjtD4eEykNKSmxRho2OO4aBF6XGr4U/JQZ sJEUD7d+A8K1mCD8xG+Aauin1nVJjCU1Jr/7xUzopgyQOarCmGpLKY4SiS6/RWn4np P2i+0qWqiWSgw== Original-Received: from pastel (unknown [104.247.226.95]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B6AF51201F0; Wed, 19 Jul 2023 09:51:33 -0400 (EDT) In-Reply-To: <871qh4mgxo.fsf@localhost> (Ihor Radchenko's message of "Wed, 19 Jul 2023 08:41:39 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265536 Archived-At: >> Could you give a bit of background about why you use set an `invisible` >> property that is inherited when inserting chars after it? >> >> I mean I understand it's the default behavior of the `invisible` >> property, but when making a piece of text invisible, it's common >> that we arrange for that invisible property not to leak to text inserted >> after it (either by setting the marker type of the overlay's end >> or via the `rear-nonsticky` text-property). >> This is useful for when the users goes and types right after the >> invisible text, otherwise their text becomes invisible. > > Because Org sets and clears invisible property manually during fontification. I don't see how that explains why you chose to set an `invisible` property that is inherited when inserting chars after it. Stefan