From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IAcxIPH5lmKSxQAAbAwnHQ (envelope-from ) for ; Wed, 01 Jun 2022 07:32: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 mp12.migadu.com with LMTPS id uCsLIPH5lmL2IwAAauVa8A (envelope-from ) for ; Wed, 01 Jun 2022 07:32: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 90CF21E357 for ; Wed, 1 Jun 2022 07:32:32 +0200 (CEST) Received: from localhost ([::1]:54522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwGy7-0007F6-4t for larch@yhetil.org; Wed, 01 Jun 2022 01:32:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwGvF-00075c-1x for emacs-orgmode@gnu.org; Wed, 01 Jun 2022 01:29:36 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwGvD-0005dy-3K for emacs-orgmode@gnu.org; Wed, 01 Jun 2022 01:29:32 -0400 Received: (Authenticated sender: pe@7d.nz) by mail.gandi.net (Postfix) with ESMTPSA id ACCB520007 for ; Wed, 1 Jun 2022 05:29:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=gm1; t=1654061366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qNGFwjxQPkJJ+ha6Tz82rQ+k3nmSKCQnG0MW5zPvO4I=; b=idwvu8CW4B0/tKZxmbTqWE4yQgGtAerKsYFcgZMck5R9s+5RIgHZMl8s/x5KNKXcchGF/x mAsQ6kId3TJ3dGKoK1EXBdGqFNaYwm5sWTvoZx3K11h8jTAS4eF9Culxx8IVzvYpqpdMRd Xa5oLdOyvd0Xd1WxZXvI4fCmSGb1Lm753eYioiyibzR0w+kfnNJkssVKEbXYScdXpB7kM1 VYcnLOKj639i0HfgocIR8//PNLjm2FgA/q1r88FJhCrG+6k+QtZUSmdHXGniQDPnKCcweh t9j0VAXE7ew+PBXlxcssa6JbTHAPF/m9vVliCpyRL562Otf1l5W/fiQkjlg80g== Message-ID: <87618398-cf6d-86b4-ba59-144f70d0f96e@7d.nz> Date: Wed, 1 Jun 2022 07:30:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 From: Phil Estival Subject: [PATCH] ox: fix comment exported as a blank line To: emacs-orgmode@gnu.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.200; envelope-from=pe@7d.nz; helo=relay7-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1654061553; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qNGFwjxQPkJJ+ha6Tz82rQ+k3nmSKCQnG0MW5zPvO4I=; b=GAGYnt9IX4l2e4rNv7nyVkFpmgZyDJcJ/jf6CodzxO09vLdFiVtQT5DUmU5mN0JiZmJXiR iuSJ6jgg7L4DsgbNW+H05A22uyBvNgyr/pJ0N7oFy+n2BgjCrZNAcqCNuFNdfZTbcQpMlG i5+oeU2xGmtLELZF0VBkozv8JQl9ocFW/zgRGqP2IAB/S1B8fXLZqJBfut0E7G7TZngYjI IVXxhSq5ljjnr0YgwyvxgYvsV+q56HWGBN5F6YF3+ujFHcGhQ1CEYv0ZVDxZrQTjK2crjd 425dVvQ/BA7AgXDrnOU2FucRUxQc4ogxW/JO6IG2zxogAj1S9H3J2SwaiVPiFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654061553; a=rsa-sha256; cv=none; b=h4OdRDgWs94FsvvYW5h9qiyIxIHDNVEjsxjiko1QmsPNuz7PteDvAPZEiMKJPfe1HeHevs VcBn13myS4v9unNrDeImFc2UQf1dO3WLb99YdpXx4LMshQDT5uYNHSqpMyvcOt3AIe6sgw cYmA5OSUKnFW9rbYYXE42S7QXDgikv1CEtGBYfewjsNv+8CNYZtqYei3BxamPUqoJ5BnkQ a5K9s3y70PtxYJglMPqFppFyD84Yz2A/rum6M/wqPYSG8Da2v4lCOtGDHIOI2kAwxbSp/X rv9HysaomIKKmrAR3+DrdzA5j1vbC/tkLmB6hbeglefBYPUF6YDUwnCgwCP8KQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=7d.nz header.s=gm1 header.b=idwvu8CW; dmarc=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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=7d.nz header.s=gm1 header.b=idwvu8CW; dmarc=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: 90CF21E357 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: OAaT+AomAx43 * lisp/ox.el (org-export--skip-p): no longer export single-line comments as blank lines which did break paragraphs in two. TINYCHANGE ---  lisp/ox.el | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 9a8e63046..2c50fba0c 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -1756,7 +1756,7 @@ not exported."          (before (or (org-element-property :post-blank previous) 0))          (after (or (org-element-property :post-blank datum) 0)))         (when previous -     (org-element-put-property previous :post-blank (max before after 1)))) +     (org-element-put-property previous :post-blank (max before after 0))))       t)      (clock (not (plist-get options :with-clocks)))      (drawer -- 2.31.GIT