From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YOneHfzgmGI0lgAAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 18:10:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6BXGHfzgmGInTQAAauVa8A (envelope-from ) for ; Thu, 02 Jun 2022 18:10:36 +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 34CBA3BDB3 for ; Thu, 2 Jun 2022 18:10:36 +0200 (CEST) Received: from localhost ([::1]:59796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwnP9-0001iB-6q for larch@yhetil.org; Thu, 02 Jun 2022 12:10:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwnNl-0001gp-Fq for emacs-orgmode@gnu.org; Thu, 02 Jun 2022 12:09:09 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:45738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwnNj-0001yP-RQ for emacs-orgmode@gnu.org; Thu, 02 Jun 2022 12:09:09 -0400 Received: by mail-lj1-x236.google.com with SMTP id v9so5722622lja.12 for ; Thu, 02 Jun 2022 09:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5lm+MONVSOV2Qs8bWEhWiHheBTfXimQ9nV3PjXmFz4E=; b=qUKkMshGuNYysVglji8dm5ovr2QRcE4/LJtGTIopXMk+3Pf1Uo1kwBD0Pvp21QVP+d ArLEVhOK8N5FufMKVMlQmKP8ttxDCsxiNagPzhlGyCndlXcvFoHWZnv/hELOPWQBtcpf hDlgCtfrqj/xjP8SsdMb3xHBXTNvTKXLpa7zHk9e7X8dGsOfIcZRGdHt6+rFfZS4mGXn JDVGyRrpwNCrYHpixs0PU1RBhhRh5NPKChnl0CJVNY9YrCdzIQq8IUnTFKLiEWvqOKQL gVjxYrDIK0QwpjZqObvt01V6tTNBAlzCd/8gS+H2LjIsx6wZXl7TtfHu0nRteZ3XzFBb nfZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5lm+MONVSOV2Qs8bWEhWiHheBTfXimQ9nV3PjXmFz4E=; b=e1yuY6FB63X+ohCUy2DvEZH7GmQV/GiADadmycfMjGpU2I8+TMVS+fpfsw0qSIaS3X OaAHse2gfRbivYLqSC0BlZ1htBDFhFhEzxw9zIY8ajtRnxkI00sj/UHKOzkRq89l0G0w QLbzTCSmmwe3ma5nFLL7z0ecy33zoIpmY4Z3a21XvAGVDyvm9XnqFc8ODdF9UFlYT5Zs wKgKbO2iqMkolmwBcwXzxZbQOHy5aTBz+qhbnHVY4QT0Xx4IMvWoEnUn7SkiuQmZZmsq 8h1k5y1bIjN1yhHTU/fMWS8lKy4EBNfz0zXz07ZT4Y06MV4CZKSrArzWnNN4tvep11k3 bTfw== X-Gm-Message-State: AOAM5324I2cUbS1IhXoOvl8O7tpQlNd6hrBlJZtn2qvtj3aRTu8V2IBT znGGak+1YQaeUtUQBwKbiyA= X-Google-Smtp-Source: ABdhPJwz7TNAaUZEFgENY65RDB4c2CBJhgoFtkozqaIjYUFc0JK6+GMmAHO64GlpvzMzQRmVt2Sgvg== X-Received: by 2002:a2e:7203:0:b0:255:56e1:68bc with SMTP id n3-20020a2e7203000000b0025556e168bcmr9581415ljc.30.1654186145818; Thu, 02 Jun 2022 09:09:05 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id o6-20020ac24e86000000b0047255d2112asm1104055lfr.89.2022.06.02.09.09.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jun 2022 09:09:05 -0700 (PDT) Message-ID: Date: Thu, 2 Jun 2022 23:09:04 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] ox: fix comment exported as a blank line Content-Language: en-US To: Phil Estival Cc: emacs-orgmode@gnu.org References: <87618398-cf6d-86b4-ba59-144f70d0f96e@7d.nz> <18449694-8ad1-3f0c-d18a-3b6fd5369478@gmail.com> <20b5709c-0def-c898-a0db-40322b5a3f1b@7d.nz> From: Max Nikulin In-Reply-To: <20b5709c-0def-c898-a0db-40322b5a3f1b@7d.nz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=manikulin@gmail.com; helo=mail-lj1-x236.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, NICE_REPLY_A=-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=1654186236; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5lm+MONVSOV2Qs8bWEhWiHheBTfXimQ9nV3PjXmFz4E=; b=IRd8UBS6zhcP2oSLZH+1YRHLFfxWC2rx1Wvy7CkThkbeANbqQfMOVE4i4kUXo/VS9WjHzD Gf7ikjEsUslsFct/V7AsoUvI/gCe0oOUeKJWttFF7TMY7+5es9ImweBMlFO8bJXet5F+lc 5rd1YR/ecFIKNp7Dp2t86JZEgy+2M6fVIMk1GygUiBYw5QvG8bx9hJaYmPT0m/rgtvtYtE LnHvbv/8+03OOxTMdn/ut/XKH6p3Wk78Kvfj/5S7mrydLjEy60BsOIbtH53TnsaxCdrG/D /cSp/9JZZS8JrvKmN6uSSeFXHTqKGbN7DH5mCXqvZ8E6ydk1Pqv3zhInKTgYqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654186236; a=rsa-sha256; cv=none; b=sCmed25k9LOGqz6mAv85tYcAYWCP84rHjeyCZlDKrPoUtuhcT/R0rxqDmE7llQ38MH8pbg mpcUPBnntJ9vh9e5xqlAFFdwQZ/YkAuMVo3/tXot02PozFZFZtifweFGUinieHdMk0Wval 0KccvDNKJU4SRIVthZOxJ+8K7CtJF7F0ViJl8VAsbQoZBaVre5sSbTkj6H1cBYbA42tHTK p+CGeIOZeOSjPP8a8VZeaLhceQxltFQKEvjkdjZIWuAkGw1Nz1R8NhZV1PFGxX/teqKoYl GPB17SocdrZrSaPqs9iS+QydSi7LUa7thd3/oBtAqGkXm3w7/v60rJKxXrS09Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qUKkMshG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 5.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qUKkMshG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 34CBA3BDB3 X-Spam-Score: 5.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0wQdP2q0bWzN On 02/06/2022 12:02, Phil Estival wrote: > Still, the writing experience is much improved > when comments are allowed inside paragraphs > without disrupting the publication, and this > definitely worth a few modifications. There are at least a couple of workarounds for inline comments, however some care is required to not add a spurious blank line (I think, ox-latex should strip blank lines from paragraphs). Maxim Nikulin. Re: Comments break up a paragraph when writing one-setence-per-line. Sun, 18 Jul 2021 15:21:39 +0700. https://list.orgmode.org/sd0oak$k5h$1@ciao.gmane.io #+macro: comment Another test {{{comment(some text )}}} with macro comment. or Export snippets @@c: a comment @@ may be used with any non-existing backend name. I believe that comments breaking paragraphs is an unnecessary pitfall. While comments are not passed to exporters there are should be no great problems besides users who rely on current behavior. I am unsure how many of them do it intentionally. Attributes and other keywords are more tricky case, but rather independent of comments.