From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible Date: Wed, 19 Jul 2023 16:10:33 +0300 Message-ID: <83zg3s3v3q.fsf@gnu.org> References: <87fs5l3b3g.fsf@localhost> <83ilah79aq.fsf@gnu.org> <87jzux2zg8.fsf@localhost> <83y1jd5gyf.fsf@gnu.org> <87y1jcl2be.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20425"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 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:11:23 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 1qM6xc-000548-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 15:11:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM6xN-0004c0-Pn; Wed, 19 Jul 2023 09:11: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 1qM6xK-0004bj-GH for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:11: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 1qM6xK-0001GJ-8s for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qM6xK-00086Z-55 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2023 09:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2023 13:11: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.168977221031088 (code B ref 64696); Wed, 19 Jul 2023 13:11:02 +0000 Original-Received: (at 64696) by debbugs.gnu.org; 19 Jul 2023 13:10:10 +0000 Original-Received: from localhost ([127.0.0.1]:55180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM6wT-00085K-Ko for submit@debbugs.gnu.org; Wed, 19 Jul 2023 09:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM6wR-000856-KD for 64696@debbugs.gnu.org; Wed, 19 Jul 2023 09:10:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM6wM-0000GZ-6u; Wed, 19 Jul 2023 09:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GcBz1bLZIopWGcE+19thsnCqqx9cG8X91WYpTvSKxO8=; b=O1NlJ6JCkWbM V4IdmPKpxkp5PsJIKFLBBPGSQKK+QeWpQxJ8hX9ovJEzfhZYkponhEABpPuhVcmMCTc1BBiDLWJ82 hg33RPxbO9+QzRj3OQqBgxK0t1yX+lJIpqJc7+qgJhniLblifcZeimJdeqKkEPy+a44a/QbS6fgaa PcRQGGKgWwdXU92QMs97u2gMkcVUr3DJyysH1WyBM1DbnPzTsv/bd/JeC+U9t9lk29G6+RiK+lqB3 Ha/FE5QnFXwQT2xWyinpMPVmx+i3Vh7DZfzxnDpbRXVAfBuDtc6zeBQx2OG3Rq/GrF2rb7UwEkv9r YhWa45zUO1zqh7NyTPdANw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM6wL-0004y0-HX; Wed, 19 Jul 2023 09:10:01 -0400 In-Reply-To: <87y1jcl2be.fsf@localhost> (message from Ihor Radchenko on Wed, 19 Jul 2023 08:42:45 +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:265531 Archived-At: > From: Ihor Radchenko > Cc: Eli Zaretskii , 64696@debbugs.gnu.org > Date: Wed, 19 Jul 2023 08:42:45 +0000 > > Stefan Monnier writes: > > >>> 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 :-) > > Note that unlike `indent-to', `insert' does not inherit properties. > Not to say that changing `indent-to' is safe, but there is slight > historical inconsistency here. I don't see any inconsistency. 'insert' is a much more general-purpose primitive than indent-to. It would be dead wrong for each insertion to inherit the properties. indent-to is different: when you indent text, you supposed want the whitespace to use the same face, for example. Think about it.