From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +F+UE/txkWIfcgEAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 02:51:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MJKYE/txkWKZYQEA9RJhRA (envelope-from ) for ; Sat, 28 May 2022 02:51:07 +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 F3D9888A2 for ; Sat, 28 May 2022 02:51:06 +0200 (CEST) Received: from localhost ([::1]:33098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nukfZ-0003Nr-M8 for larch@yhetil.org; Fri, 27 May 2022 20:51:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nukf1-0003FH-Bg for emacs-orgmode@gnu.org; Fri, 27 May 2022 20:50:32 -0400 Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]:34705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nukez-0006QV-JI for emacs-orgmode@gnu.org; Fri, 27 May 2022 20:50:30 -0400 Received: by mail-yb1-xb34.google.com with SMTP id o80so10518343ybg.1 for ; Fri, 27 May 2022 17:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=L9+1QU9Z9xif7CTzHFoB81NzMkvZSDOaAkO0566H4Cc=; b=TfN3xtZ+RJPKUvBp5QCp8UCLWc0YcOu9NC4XPF5SIRROToxz2na602/pT27KaKPEpQ ZUxvGVX3OJEMbtCgf2P+eTV7pCK+DJFaV/oxB9kHF5sqvl5a2JDATdhhETOX4/iPzsdk cCRuXYk0vCoaud7Gbl6GqpM20v9jDN4+OSIOcYgfMpOFag5AeHEYcYkZzxYGbPWXt+ZC l9mIxwb3Bs3Jwf7Rj7uABaKut1GCw9bs/aZoytN8EXsDEE8RgdzUE8X0R4E9ptDV/paa n96sYpH62XKwYEoZIffzSwtKBY2CuMpqCx8n7KwFYReoHHtLzwpmM5eUpeas/kdDH6D3 n+ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=L9+1QU9Z9xif7CTzHFoB81NzMkvZSDOaAkO0566H4Cc=; b=oyXOaP2U3EambzQr4V9Wr72dXrxwjmKzIU0Y/LZuJ4VTCOHeIL/nBM2kppA25R6Wkd hVuNg0SF8NP2Ao6qWY2XfBVm8aceMJ4OpSgChicml36xixu4djb6V9uDfy7mjTFp+Ew2 LxhZwG1lBPj4egzEGr6YmlZ/8PAukcmTH/Wxy6B/sMas74zlN2fqupyyRvxf+Zlj+RtJ APo4IotOV8VGYii26l9ZFRlF8Tv4Pa+r0j2ArKm6cqmGNSPmzhIjxIwtu9ejYJ7nHAVM Q9ec7gk+q/shOmOD9LMVhCcpqv+jVOXGKfHZYKR1dt79DQXUQOjbjOqcDvww2h9CtGQB aUnQ== X-Gm-Message-State: AOAM533pBr9yHWNrNRIWUcSqZwAHGr4ccapaY8unD+oYTG10HM5lqn8V 82BIpacoboEjLaBMa0Korsw8K7WDnRJJUh/1Dnd4H6D4OuM= X-Google-Smtp-Source: ABdhPJxyG0lMOB6d30acK/gai9fET+GSt9UDIp7ASOrBhJXJ/RqxrozDz2LBybZ6XG5h10iOACY6xageS4i06r+s0PI= X-Received: by 2002:a25:af4e:0:b0:655:c9a3:affb with SMTP id c14-20020a25af4e000000b00655c9a3affbmr13916193ybj.360.1653699028218; Fri, 27 May 2022 17:50:28 -0700 (PDT) MIME-Version: 1.0 From: Tom Gillespie Date: Fri, 27 May 2022 17:50:17 -0700 Message-ID: Subject: [BUG] markdown blocks remain visible when they should be folded To: emacs-orgmode , Ihor Radchenko Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::b34; envelope-from=tgbugs@gmail.com; helo=mail-yb1-xb34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653699067; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L9+1QU9Z9xif7CTzHFoB81NzMkvZSDOaAkO0566H4Cc=; b=VH2byPBKZ6ML4JcADzSo57+ZgY1/g6HAQ6lF3N6P3HKYh9rBdsNaE596Zjx9O7NO4Wth9h 7wxxJSxWyC3S8aXF1cqSh8nPDUPZkadkVjwZdU5Q6hBTw29c8B6oEl2ymw9y7Lpe2FkNzQ 1Pzu8EorTGkg1Ax8zki4whEcjJdsQfWD6okGR4+Af46rBHchR7wvj5tkFJB2dRKvgyeocK P9MpsH0BaGBJsgkmP3oRCHJezPQ7Fi8pWKpYX09n+mTuFPMiPi+Grd5sYbw4ohRhnmL6Ox paBX8NITAlJpMHG9hf2NhlinyJvG3U0FzgNMYaqgKVOwYjrsoZ1RKGrKIqjA2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653699067; a=rsa-sha256; cv=none; b=HC5AehzT/Fyw8GLQ1Xxz/k0mdxPumfIYdL1dKKpbWaYDAGAQ1p2iL0EvzdrgptTzezr4V6 4L9BBBim6UIZbiqgLZttaUd9JoA+dZRfpA+vRq4anxm/KhCYut9KR+34Cca1PjsqhW3pK4 7LyRti2cLjNCgAlYNA9BOctLChciAR2DvTEVS1xaKTAcyyUkVfZQsQHr8TAhBe0RnLJCT6 4mPfDUV5My3sSH9PL51vc7ZwFlC32TILc/1ueajU0UTYfSpgZxc++SUDtxeEWuNu8JFD5t eBmY+JeRqkdqaLxZde5F5ouPmhojdt73Rqcgs2PTKjjpVSD2JAXUgvfyLs+57g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TfN3xtZ+; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TfN3xtZ+; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: F3D9888A2 X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: HkbrqxlMtekc One of the commits between ffdc508429c58716272743c0e0650bb721fd906a (good) and 67275f4664ce00b5263c75398d78816e7dc2ffa6 (bad) a change was introduced that broke folding for markdown blocks. I'm not sure of the exact commit because folding is completely broken for all the commits in between. Looking at the diff between the two there are so many changes involving the invisible text property that I have no idea which one is the culprit. The markdown blocks remain visible and have the invisible text property set to nil, when folded #+end_src will turn into ... but the markdown remains visible. The whole block will be left open if any of the markdown list or heading chars are present in the block. Here are some examples that trigger the issue: * a #+begin_src markdown 1. #+end_src * b #+begin_src markdown - #+end_src * c #+begin_src markdown # hello #+end_src