From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 5NxPHSiW72I5QwEAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 12:38:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EL+SGyiW72KmKwEAG6o9tA (envelope-from ) for ; Sun, 07 Aug 2022 12:38:32 +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 08E3144AEC for ; Sun, 7 Aug 2022 12:38:32 +0200 (CEST) Received: from localhost ([::1]:54382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKdfy-0005k0-Gu for larch@yhetil.org; Sun, 07 Aug 2022 06:38:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKdf7-0005jl-QS for emacs-orgmode@gnu.org; Sun, 07 Aug 2022 06:37:38 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:45987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKdf5-0004Cj-Uh for emacs-orgmode@gnu.org; Sun, 07 Aug 2022 06:37:37 -0400 Received: by mail-pj1-x1034.google.com with SMTP id p14-20020a17090a74ce00b001f4d04492faso6660323pjl.4 for ; Sun, 07 Aug 2022 03:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=tdmspScpFtLiqI/Eig2R9nWHFBY93AXtAJIsvfEukzw=; b=HGZbQJBSncf7xOYo2F4rudQcqrQ7zgxP5ssUi42k3KjyJtIPhRpbwia7TC91dhvsx4 r67+aG8rIeXoWzvQ7vSzPm1zERygbIIy4vniC9fGfoNN2FwPTU4QDoreZEz076S2Zx3g tvsUhrDWi6vbgzkNqp+IUqiz1EQZj5Bb9ZTh5v4c8VXFAYjxMUCfNwlhxfzWAqeaZclM kNKEjEB3VeWDN4U27gC4zKJKRduop1I/mKbNif6spJQfetZuoQLN7iyaDMh9AZw2VRqd OiH3q+ic2e3cCeQD5gbTI5ey5AzHKkWqaW5qjyHSLZkad0MSr3YQPVgDr3g/L/2wpWCs YT/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=tdmspScpFtLiqI/Eig2R9nWHFBY93AXtAJIsvfEukzw=; b=JvlH0lcXdgbM/EBYGt8W3jYOLAVfYEKbPr6jnYqyEPTorVCqL/ByZnVH0IoONKG0wG dMUwepQihPFBqADsN/yrOXqpEGHaq7Q6i2TaBlxVy4rlGZZx+Yo0bYS8crVd7s25Do36 VCFp+VWmWO9UwlsRvct4us/H9SMRbjHOp8pKdoH4TyDGvErzfTYEs87588np2Sb0uLvJ 5T3bVUdSeWBqrVSjZwJioICrAcsoIpcdo/UHyIskXIkyy3xEzd0FKfqwV8uH3l6kRNnd TW8/GotRDmRWDs/dEz49nZ4j8idrIuPwfv+9vKr+O7EZOoAyAdHfFgova+DVjknLcc3l AK1Q== X-Gm-Message-State: ACgBeo1b6hvulXBDQnZWThy3OXGWEo6V9KfEgNt8tSZz45ZzTbSqiAzx IScxxdoZLf0OxizY1v+KLORU+F2Mu2E= X-Google-Smtp-Source: AA6agR40lmkkh5FxoGMuMmVuqazoLyTaMnIGvrVIuiTEcgTcvP27ExFwdhdkH+R9kgvvKtpOYLMRaw== X-Received: by 2002:a17:903:2445:b0:16e:d0b6:6520 with SMTP id l5-20020a170903244500b0016ed0b66520mr14151899pls.67.1659868654485; Sun, 07 Aug 2022 03:37:34 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:4040:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id c19-20020a621c13000000b0052ac5e304d0sm6487962pfc.179.2022.08.07.03.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 03:37:33 -0700 (PDT) From: Ihor Radchenko To: Jack Kamm Cc: emacs-orgmode@gnu.org Subject: Re: Bug: Folding problem with markdown source block In-Reply-To: <87zgghrsd2.fsf@gmail.com> References: <87zgghrsd2.fsf@gmail.com> Date: Sun, 07 Aug 2022 18:38:38 +0800 Message-ID: <87bksw72z5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1659868712; 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=tdmspScpFtLiqI/Eig2R9nWHFBY93AXtAJIsvfEukzw=; b=DmbuE1MOvlYg6IdYrwtEywmVMWCP6kqb7kiin7nuyXWgL3jRaCRmN3SWzQt5B2J+Zx/akn MdaYGZOzH/M09FJY5X9gUzjHhqaHstRMsng2wiKKAiKhK/e4kVqKKa/X3vlBWo6/qE1aNn GpBmX119fjjHZ6IhObpeXC27vw1bb9bBRO0ufO7JDz9FBITi7AMPOfKo69xCXriVJ9vhY1 UxUo/cJzboopQWHaA0wopjixA1Z3yb/5FiSFcpW6Xr6iG73DD4/9LEVTs8wR7nhLFP7dWB v7hXpuZe0w0dVTEVEuxpgJ8jNCsSCT2c7Cs9KelF1xy4dh4LXo8HockcxJ1QYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659868712; a=rsa-sha256; cv=none; b=Fh0hZbofSBgz1HWxgIb2B7NapvwBPESuTPkhdSGAKpECAf/crS+gcDy8SWD3rwB1bEqbbD HAkoOQKvSq8CqdpfG+yjMCiqt4ldy/JgO7fnThTMciZBzM7LgD+DFgvafZRqAYE1FHwBtf WTo51GptwFj+Vg9bTF0hjukg6XkRYSaJMzBXqv7lzcalYLE6eVHu/jN4Qo2bnIVDg3v1bZ GVDet4F6N5thY/i5l6mE29a+ienLeDrh0DlxHTc/5B7ec3BJxTJAH+OsRKVlHntAR+DGoq PLJlPY2NR10+PBubdNhtc7Owdg4hzjx8IKmQo4bsF3ryxplkeDYGoVnKP7ALzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HGZbQJBS; 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: -8.39 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HGZbQJBS; 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: 08E3144AEC X-Spam-Score: -8.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5QzpQgDnQY99 Jack Kamm writes: > I found that Org entries containing markdown source blocks don't get > properly folded on the main development branch, when markdown-mode is > also loaded. > > To reproduce: > > 1. Download markdown-mode from MELPA or Github. [1] > 2. Fix the paths in the attached init.el. > 3. emacs -Q -l init.el test.org > 4. Shift-tab to collapse the visibility Thanks for reporting! Fixed on main via 00adad935. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=00adad9357b9123a7b11ecf12c148a5196debcb7 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92