From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ADmxFYkVTWKQLgAAgWs5BA (envelope-from ) for ; Wed, 06 Apr 2022 06:22:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sOQMDokVTWKFOwEAG6o9tA (envelope-from ) for ; Wed, 06 Apr 2022 06:22:33 +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 BF99D21FBD for ; Wed, 6 Apr 2022 06:22:32 +0200 (CEST) Received: from localhost ([::1]:49966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbxBf-0001DS-51 for larch@yhetil.org; Wed, 06 Apr 2022 00:22:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbxAu-0001Bq-4D for emacs-orgmode@gnu.org; Wed, 06 Apr 2022 00:21:44 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:45898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbxAs-0000Yw-0f for emacs-orgmode@gnu.org; Wed, 06 Apr 2022 00:21:43 -0400 Received: by mail-pl1-x629.google.com with SMTP id i11so909222plg.12 for ; Tue, 05 Apr 2022 21:21:41 -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=aP9JpsP7OFgrE6oltyPn0HXzozeX1nCJYxsSnOUD+oE=; b=OwE46QR5PvP3GN7yTYxRV538aTeRklskIPIo3t9rBhjXQ/H9Y6qN/cOZn1Nh71/bZ+ ImSY8l7zsJkzvFYQS/XewDCne2BJfFeIxSaEHH+fmt8eirUqpZKCT8K106IONLue271x d5bu/w9MKkf/xBfQOuMEpikzWrzS++pR/OTbbbGt01b0Y8AqMPcpd4kOVJN4yN9X8jPT RZ2F+7s7nyJlBmH+BRQ9l8sakTpRhsUp80MzRiDO1m+reui8lDGAZnLj3vxqxLD+A8bs Ibn529EsBVdYzm+wRBWbRW4sc0EZP1LFkQLYTZVxlOyfu4rahlUf+wloxqoHOIgPWpnM 4lQA== 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=aP9JpsP7OFgrE6oltyPn0HXzozeX1nCJYxsSnOUD+oE=; b=ULtZZswPRvXcQWEWW2WvavcrnaPDaDbIJ9RzvyECbF2vY1ar3kT1WagI2aEkwZedoz tq6kExFfAFLKyVpIwEr9ZxGlIDt1uCDMIUCoaapjPm0pMCQ14+aP6NtdZjNt3/7+sC8s KN6GvyHw1OUy1V1lEMQO1CzzIvMxWDeey1et8/MRt0lOF8ekSWiAcUQ8e2NVQsQAnv9+ 7c8vNPUNQzf7x6xYs7XHdXd4paGsVvlMbfXt1W8+Bej/pvK6R3HJnqjA4B7VXDf2eNfR EwPusqYDTcE97BmSUx6a3dQ8AlusBR/0H2GFgUlW2pMX4CjtCaGlu2kbf6Wfb5wCpo3P xhnA== X-Gm-Message-State: AOAM533y+8hza5Kn8z8BIsOdB2A1ZgvlHmAWRgUObUm4AOfIhYZUE1lp DZ2H045MyWugpjrb0V9xia8= X-Google-Smtp-Source: ABdhPJw6DTEqHezbS37ht3VxpYP+QWOndbOnkmVfjxyMrmf5cWIHgA0umdNzbW0j7av51UiMw0pc0g== X-Received: by 2002:a17:902:e547:b0:156:c4e4:c0c7 with SMTP id n7-20020a170902e54700b00156c4e4c0c7mr6706805plf.61.1649218900003; Tue, 05 Apr 2022 21:21:40 -0700 (PDT) Received: from localhost ([23.106.161.1]) by smtp.gmail.com with ESMTPSA id q6-20020a056a00150600b004fb2d266f97sm17917333pfu.115.2022.04.05.21.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 21:21:39 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Subject: Inline src org block element with containing inside item does not get exported when it contains a newline (was: Inline src block element not parsed correctly for export when in a list item) In-Reply-To: References: X-Woof-Bug: Inline src block element inside item does not get exported when it contains a newline Date: Wed, 06 Apr 2022 12:22:05 +0800 Message-ID: <87lewi7seq.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=yantar92@gmail.com; helo=mail-pl1-x629.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: , Cc: emacs-org list 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=1649218953; 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=aP9JpsP7OFgrE6oltyPn0HXzozeX1nCJYxsSnOUD+oE=; b=BOL4bOTgpCAeAxFOIcsq66f2AUqUYwac/RZTWnyB/WDRfcP7TQn4jKUObowJSh0GbOFGFU Nebtq+TdkOyEIh8bnYlWFcYFQqU6U3aEUuWa/ogO0L3xelyem2rkhYcdb4Bbo8em5MTRMS FwHCND3saCTAhAPNNe6Bdaint9+QHr4/HEZDn+o8hq2Ua0K+XeZshjImkPGHs2m2pz9nXw nMGFk4671tNfO/HMXqoPXtTk8cSyKVKS+0xHlnO2W9ZtDMcJM/ApbRlaFC5dZFZgFSp452 zMkyKJ89hiB2KQehQoYcMzdmynmf/V4nrqN5dpDX2u5IOpaZjWf+mmY2iBzOPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649218953; a=rsa-sha256; cv=none; b=pvYk1fYk/Kb4DUDAxAfaRtve4VghwHvTeZn9/hjqKqa2OmKKiLrxwfdqsV4ats/5m2JJBS HSHcJttklgEEu/Yix613edWiUvGjmyA2scdIuU4uIroWj1IUMkgq4pGUX3p8ZN+bHQH6Tm sw9hbNqlNEKqnY8BxcqCYrqnh4vqzPJDTO17pvsfZdYM0u0VeBp0aqolxhlSwRevaoxnZU hGJtAQvOpuGpHhNJjPWbchNPGAZIzHuM1jr5mBG+mQFVVsvbfoICCdx9gF8+leUWknklEz zy6LlzlIQeKWXKDE2O9XMMdDvGhY7HhAZZ1tuEw0yySHDl2ZhsLlwCi1pNb16g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OwE46QR5; 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.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OwE46QR5; 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: BF99D21FBD X-Spam-Score: -8.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: S326wfT1trkg Confirmed. Interestingly, I cannot reproduce the bug using my personal branch at https://github.com/yantar92/org. The fix should be lurking somewhere close... Kaushal Modi writes: > I believe I have come across a corner case issue where the inline src > block element doesn't get parsed as one, if: The element actually does get parsed. Once can check it by running M-: (org-element-context) with point at the problematic inline src block. However, the export is somehow broken. > * Doesn't export correctly if inline src block is in a wrapped list > - abcdefg abcdefg abcdefg abcdefg src_org[:exports code]{[[abc > def][bar]]}. One observation is that export is again correct if I remove a '[' in the link inside inline source block. Best, Ihor