From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible Date: Sat, 22 Jul 2023 07:03:41 +0000 Message-ID: <87zg3o8m2a.fsf@localhost> References: <87fs5l3b3g.fsf@localhost> <83ilah79aq.fsf@gnu.org> <87jzux2zg8.fsf@localhost> <83351l74ci.fsf@gnu.org> <87a5vt2vx8.fsf@localhost> <831qh56vvz.fsf@gnu.org> <871qh52nlw.fsf@localhost> <83pm4p5er8.fsf@gnu.org> <874jm0mhgb.fsf@localhost> <831qh459sy.fsf@gnu.org> <87jzuvq785.fsf@localhost> <835y6ca1ah.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39439"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 64696@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 22 09:04:20 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 1qN6f5-000A3B-TJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jul 2023 09:04:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qN6eq-0002wq-N2; Sat, 22 Jul 2023 03:04:04 -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 1qN6eo-0002we-IC for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 03:04:02 -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 1qN6eo-0008CR-A1 for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 03:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qN6en-00089g-QH for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 03:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jul 2023 07:04: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.169000942131305 (code B ref 64696); Sat, 22 Jul 2023 07:04:01 +0000 Original-Received: (at 64696) by debbugs.gnu.org; 22 Jul 2023 07:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:35341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN6eT-00088r-1f for submit@debbugs.gnu.org; Sat, 22 Jul 2023 03:03:41 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:36373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN6eN-00088S-NX for 64696@debbugs.gnu.org; Sat, 22 Jul 2023 03:03:39 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F0D9D240029 for <64696@debbugs.gnu.org>; Sat, 22 Jul 2023 09:03:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690009410; bh=r7wtRRu4ee7yLo1ihvZiH1KHWFn4C+1O681i5pqOy1I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=rU838VvGyp3w3MH1dQe2hlHaTfkYs92t9XJm6FOOTM9sM9atmoB2Epqm+12BwjJWL XtLq7SGSpGfjRGi6MXbeq3mI1Lu9+yC2NcWJuUatXWtrwPVaWejs5Zs3GPLTBPebal PrEEbk/jbEX29N3xAQNVYG/MYcxIBIsp7kb9r0mWSNLb46n1g6B0HDC9xc+WqTbW0C K0dQPpOrcN4SIfLi0XwWPPbhRdEBQ1G0zUlTa1Wh7aoSOL8xj0xPgNmU1AlIef2uVu 4xwVpK4VchaFyRbaXkkPsfj8g3P4jU6FomdBNOEuPzcPsYQftC0JK95y1KSMfsT1c/ ReY7pRSMEGGyQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R7HSw3wwtz9rxB; Sat, 22 Jul 2023 09:03:28 +0200 (CEST) In-Reply-To: <835y6ca1ah.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265781 Archived-At: Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: monnier@iro.umontreal.ca, 64696@debbugs.gnu.org >> Date: Thu, 20 Jul 2023 09:10:02 +0000 >>=20 >> You can do M-x yant/full-test after evaluating the code below > > And what are the problems you see with current-column in this example? > (Let's leave indent-to alone for now.) =E2=9B=94 Warning (emacs): Test #1:: Everything visible. =E2=9B=94 Warning (emacs): Moved point after first =E2=80=99word=E2=80=99 =E2=9B=94 Warning (emacs): 1:: current-column =3D 4 Test #1 is expected - everything is visible, we are indeed at column 4. =E2=9B=94 Warning (emacs): Test #2:: =E2=80=99word=E2=80=99 is inside folde= d heading (hidden using overlays). =E2=9B=94 Warning (emacs): Moved point after first =E2=80=99word=E2=80=99 =E2=9B=94 Warning (emacs): 1:: current-column =3D 4 Test #2 is unexpected - we are inside invisible region, but current-column reports as if everything were visible. =E2=9B=94 Warning (emacs): Test #3:: =E2=80=99word=E2=80=99 is hidden apply= ing =E2=80=99invisible text property to heading body. =E2=9B=94 Warning (emacs): Moved point after first =E2=80=99word=E2=80=99 =E2=9B=94 Warning (emacs): 1:: current-column =3D 0 Test #3 follows your previous explanation that current-column ignores invisible text. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at