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: Tue, 18 Jul 2023 15:33:44 -0400 Message-ID: References: <87fs5l3b3g.fsf@localhost> <83ilah79aq.fsf@gnu.org> <87jzux2zg8.fsf@localhost> <83y1jd5gyf.fsf@gnu.org> 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="20518"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 64696@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 21:34:36 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 1qLqSy-00053j-Do for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 21:34:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLqSU-0005YS-AQ; Tue, 18 Jul 2023 15:34:06 -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 1qLqSR-0005XS-2e for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 15:34: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 1qLqSQ-0001su-N3 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 15:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLqSP-0000Oj-Vc for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 15:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 19:34:01 +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.16897088381520 (code B ref 64696); Tue, 18 Jul 2023 19:34:01 +0000 Original-Received: (at 64696) by debbugs.gnu.org; 18 Jul 2023 19:33:58 +0000 Original-Received: from localhost ([127.0.0.1]:54338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLqSL-0000OQ-Ii for submit@debbugs.gnu.org; Tue, 18 Jul 2023 15:33:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLqSF-0000O3-Mj for 64696@debbugs.gnu.org; Tue, 18 Jul 2023 15:33:56 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 746E48065C; Tue, 18 Jul 2023 15:33:46 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 337C88024B; Tue, 18 Jul 2023 15:33:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689708825; bh=Ahjal31Np4ax7KZnSX+Ykbl+cGfMRBfMHigUxCAWEMY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Fn8sZ/cQM6ya77v30c/Y2z64o6zQn8+baO6iN3zxtpS3AADRKlJZtgy64sbYQcO4F aX2xwV9dhmtmKxdHI1dF6lunzAOS6vx/RZKV3qjgABGca2NCz7yq3FugB380G5RFx5 GmH+VlyGThiEJJnZehVU1nCG8ANEpVWIJ+HCRHP+VB8cpAguEqS6IOjP7z1QkUXSuD R1zcWKQqmiBWYf9LDc6npNp5y5E70F57Rm/Hyuv2XVmplqXXlYHYeIUO1B/iaVrp4V G9XUvnt965BCjI3srNdaoK6FxP0xNEpaG3Zkf6+Fz0hKAHFUXqaetdMKMjNV/BM8qY /d0fx4n5YNAyg== Original-Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0AD2512025D; Tue, 18 Jul 2023 15:33:45 -0400 (EDT) In-Reply-To: <83y1jd5gyf.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jul 2023 19:20:56 +0300") 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:265496 Archived-At: >> FWIW, I can't see any good reason to inherit properties here, other than >> "we've always done that", but I'd be surprised if making this change >> won't affect some other use elsewhere :-( > > ??? That's a non-starter, from where I stand. I formulated it differently, but you're just agreeing with the "but ..." quoted above :-) > If you really think it can be useful for the inserted whitespace to > lose _all_ of the properties, Yes, I think if we could go back in 1994 and not pass that arg back then, it would have been a better choice and wouldn't have introduced any significant problem. > I can suggest a new optional argument to do that. Would that be > good enough? It might indeed be the best we can do now. It's probably going to be ugly to get that argument from where we know we need it through other functions to `indent-to` :-( But before we go through that, I'd still like to hear the general context where the problem occurs in Org (e.g. why wasn't `read-nonsticky` used). Stefan