From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6Fw7DJVXrWSMawEASxT56A (envelope-from ) for ; Tue, 11 Jul 2023 15:22:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OFXLC5VXrWRkkgAAauVa8A (envelope-from ) for ; Tue, 11 Jul 2023 15:22:29 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0AD494B8E5 for ; Tue, 11 Jul 2023 15:22:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KtQSi4Py; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689081749; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=v3okZ0Rh7WRaYGt7WkvCNYfzm8Mrbq2dfXbn/vSbpS8=; b=rxYeyfS5v+gNnc7R4f4bAmWG3wAZGE/+Du14p2GFRYMZrSgRURowWjeH/dkwWlxUt1t9Pc FovjCRJBNkLBvXNkksrzVII9vcd0JdCyPl7ZScsz0Kad7FbC20o8XdEB0kPd1cDZvniH5y fFKcEYQZX9ts1TJVA50bJ+6KNn1kUX/wH/M8s4tX6zKyBljNQkoLHX2ZxYD1zAZ/lNcfuU +VnRepvmds9TAxXtxx2wu247m+oQD6RTEGtIAqkIuiQnQjf1eM0l0W8avp6pQ2jccNqHr5 C8tKq+s+ti5erQMZW3VKVkFXSyARDfzNHht24NOVyYYh3KfLN4IiSKR23/lsnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KtQSi4Py; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689081749; a=rsa-sha256; cv=none; b=FCERfxRuL+wVDf06mclXZgiH1ogmWaYkFCCN8SkcslFv7gp0u30hg7owVKZZTrsZtV0Fep 7ZqpE47qy9rLUA/XAduiOikKLq1Spi8TurfiyGAixLOsZAtfN8JJVZhRqjiYL3V1yrNnTz r09A6EPKW/BPnerkCMn4lobMdVk84dKeFETCFtn8XFxNIoSyC/ByL6wwWNnKt6NdKCY5XO i6Fus2viuWBVCnw5tMrcD90r22N5E2JIEouDipZiJJAFHco0Mj3CsQBl5ys0lvq1m4Y3fY N3S27ZEtTAMtDoIGUVc51j+u/EZOjIh/05Y/JTtkCHFrCBZXDQ7+/j42dCsPEg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJDJr-0002b2-HL; Tue, 11 Jul 2023 09:22:19 -0400 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 1qJDJo-0002am-35 for emacs-orgmode@gnu.org; Tue, 11 Jul 2023 09:22:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJDJk-0007Fx-5q for emacs-orgmode@gnu.org; Tue, 11 Jul 2023 09:22:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 52E69240028 for ; Tue, 11 Jul 2023 15:22:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689081727; bh=BEgxo52f5Mr4ieSSER23S0UhpgZs73cjQ7Q9K3n1cIg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=KtQSi4PyEnwDUZjF3laU2wS17T+Xi/yeEad0wOdweXe82Xd/o8sOC9/2lG0Wdg6zf NuM1JRG9Vfj0Jx06dbG9/ioapXuMIm5n6ACJ4k5t72VEtnhrMWisc5rX/En5OkCYYd Zm96YWyVrqsRRNb4ii25LL4Zpkkbu18YksK8r9c1ADIfhy6qkbxfvEW0BXgWzzmTGr m0dreh99xc4ClTjqx90d2fMOAv3YXDIEHFd0YU48l+7PjKPdriST9hQJkuJijPoISv DCcsWHfVuGnE1cn7M14XD4HFyIbpj1lJyGyCtuezCoDx0qNedL2ATPbbGc/Xq0adTO WyzSyPHQP9b1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R0hNt3g3hz9rxL; Tue, 11 Jul 2023 15:22:06 +0200 (CEST) From: Ihor Radchenko To: Hammer Hu Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)] In-Reply-To: <44rsvv2dwp2cnpbikqs7kysct5ylsxivm3scirj55efm7qvwat@flec34dbbdbb> References: <87mt027klw.fsf@localhost> <44rsvv2dwp2cnpbikqs7kysct5ylsxivm3scirj55efm7qvwat@flec34dbbdbb> Date: Tue, 11 Jul 2023 13:22:14 +0000 Message-ID: <87fs5u7fcp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0AD494B8E5 X-Migadu-Spam-Score: -9.26 X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -9.26 X-TUID: Y6MCZdhIwXui [ Adding Org mailing list back to CC. Please use "reply all" ] Hammer Hu writes: > I tried on the latest version, but the problem persists: > > Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) > of 2023-07-11 > Package: Org mode version 9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/) Sorry, but I am unable to reproduce. I tried the following: 1. Create /tmp/bug.org ** A level-2 heading something something #+begin_quote a block #+end_quote and something 2. Create bug.el (add-hook 'org-mode-hook #'org-indent-mode) (add-hook 'org-mode-hook #'org-modern-mode) 3. emacs -Q -L /path/to/compat/ -L /path/to/org-modern/ -l compat -l org-modern -l /tmp/bug.el /tmp/bug.org 4. Select region containing the code block 5. M-x indent-region 6. Nothing happens I tried emacs master, emacs 28, and emacs 27. Please, provide more detailed reproducer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at