From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OPbpBZWt1GQRYwAASxT56A (envelope-from ) for ; Thu, 10 Aug 2023 11:27:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mD/2BJWt1GRUFAAAG6o9tA (envelope-from ) for ; Thu, 10 Aug 2023 11:27:49 +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 AF54442BA2 for ; Thu, 10 Aug 2023 11:27:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="AiX1NcG/"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691659668; 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=cew39tHGw0VI+5biB+QUTokBpNS+PiTptxbYDNZMdbc=; b=soWbgc4YNF/EfurqfydFoyEoeQzAVu9pyrdo5rAn8JQCc43quPUnszmx6XLxUPUI4KDnV7 6g1hanNB8kiA7OXU5di7hWH3wq2xVvk9h2AG32QyMbkb3nZ0P+zsXO2iIWhNhrXfQIgDPt oxdfWwjF01f+xF3XGlQhg53HCCvX5SW330QFDN0YmpmSjm6VFKtRiVBElSgSMryH1eEHYz 8pNsGubv1ubQYhap0bAdJXObV4KgGqS/iIRmgj8PTvl07yF58o8afBdusJiVjgOHRCUvgs Z1tA7M1JKiAlzWmlhT+AmrAny2Nacr/OAIHNn3z6Gaq+I9mN1H+e1HwYzj+kmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="AiX1NcG/"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691659668; a=rsa-sha256; cv=none; b=suudV+/Y4tF0CsAtZQTpQtduTb35Ozfy+mBET0tAzid5eLQ8m/xuvyRgXKK6CgyrrodjVz vg6qHTEKbhnztfzGNkwgBrpWvAoP5K+lpGqCGnS9xvkrHwmiB2YORFwPX0LJ3csc0LFBmW 6fQXp1eM73ie3DdQZ/PNCPv+UPbCqN5V6dmFZzPYfOrTIOYDQXqqO2OKziOytz/fBtQl1l /3D6Ds5f7gncHz+sphM+z5RYi19jzJN+XdPDhEY47p86kqAI1y9rBe3iNCHqozTQoeH8sU hVfS/ao2hggyFiQzCi/m8fMe3EuKgaw/n0T5JioPiRjNp008Ij2xJtGxyvia9w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU1wg-0000Q5-Vd; Thu, 10 Aug 2023 05:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU1wc-0000Pg-Pk for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 05:27:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU1wa-00029y-G8 for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 05:27:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C0864240101 for ; Thu, 10 Aug 2023 11:26:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691659617; bh=1MWUZrWcLYnFOpxGsejx9+zp0isZPaRAltY3rq7U33E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=AiX1NcG/yBeq8mDr0failIxZzo02yoj6GgaWxjnQRDNc8jtl6BHW7z8sk/0gRgbFW DxKipKiOrkb8iT9YhchcqkVzS7TRoEfalaUJhbtbXcVUkzMW0b6xIcC+c7nxWr4pGJ q7gdMDus092omrS4IZAcIqED82UTpiLwNJ+ReKOS8p50YLJkS0zbmP81useN50goz7 EaRgBgmG8RZsAXYRRo3kNBUtN6lnDhKcyp3Ax+yRN2jb2i9lGSggu4xvr6eB/4RPVn 1yACGz0tEC/GtmxkZj/RJnzKWSMEZt3Adbn9zr7pfW4NjD5fkABCjhFrY2BvRazYGR Dn7PrI/3C1BZg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RM1lj0h4Fz9rxM; Thu, 10 Aug 2023 11:26:56 +0200 (CEST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [patch] ox-latex.el: fix blank lines behavior in verse block In-Reply-To: <87pm3wfvzx.fsf@posteo.net> References: <87tttcml75.fsf@posteo.net> <87edkf6px1.fsf@localhost> <87350ug413.fsf@posteo.net> <87o7jgejhl.fsf@localhost> <87pm3wfvzx.fsf@posteo.net> Date: Thu, 10 Aug 2023 09:27:25 +0000 Message-ID: <87il9nb62q.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: AF54442BA2 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.37 X-Migadu-Spam-Score: -6.37 X-TUID: k0uoVMVaePCd Juan Manuel Mac=C3=ADas writes: >> Do you mean that people use extra leading/trailing spaces just to get >> extra vertical space before/after the verse block in _latex_ export? > > No, I don't think people use it for that purpose. I meant that if > someone puts a space before or after the content (which can be usual, > for clarity): > > #+begin_verse > > blah... > > #+end_verse > > that vertical space appears in the export, which shouldn't. Well. Technically, we already warn users that the blank lines are preserved in the verse blocks: 12.1 Paragraphs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20=20=20=20 Paragraphs are separated by at least one empty line. If you need to enforce a line break within a paragraph, use =E2=80=98\\=E2=80=99 at th= e end of a line. =20=20=20=20 To preserve the line breaks, indentation and blank lines in a region, but otherwise use normal formatting, you can use this construct, which can also be used to format poetry. =20=20=20=20 #+BEGIN_VERSE Great clouds overhead Tiny black birds rise and fall Snow covers Emacs =20=20=20=20 ---AlexSchroeder #+END_VERSE So, I now think that while extra cleanups might be OK for ox-latex, we may not want to ignore empty lines universally in all the verse blocks. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at