From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OBLLOqHZ0GTvywAASxT56A (envelope-from ) for ; Mon, 07 Aug 2023 13:46:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YO+yOaHZ0GQKVwEAG6o9tA (envelope-from ) for ; Mon, 07 Aug 2023 13:46:41 +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 696535888D for ; Mon, 7 Aug 2023 13:46:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=T+GoCu+i; 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=1691408801; 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=cxBQMQJfZSjOIC7b0WPflRsQOhE4yHACRjtqkER0Ydo=; b=clboe6m+lRvSiNjCl7o8WUOVsZv2OwZiLF+CYOcsN9aKQKh7KFHdFNxNlQrSU47GI3/qLm N4tDzJxYxZe06rEwEu9N6qBsdor2YKWcZ5EQTivDvHHGLOeJYPQezXorW4cqbPSaG6AJ3d 8+0xFVpImc6fdxksdMTNL9Ay4Rc22JJxd3VGBboSUS3u2/E1d3t91Y1kGt01FRTCmfFECZ T3+jUl0jWKm1ZUREpMptLBACsj2D2VvyjsqrFXdoGJplC+yitzYCYadCmbaQ0yV0AaSKjv oesGwbJN506lZKRCj3zfVgz9aRnC63c+6iA04lKHNSUw19CbWm0mfCbCcmBA9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691408801; a=rsa-sha256; cv=none; b=i5jFZWe8Nh+rrCboX7whTwy1P3yic8BQ2K//CE8prpkigibjVDVGHVLD2tWQIIKxFDPwlF YIGPPV0++XGsoHtdi9IJ/vCTW8msU3LQb1YSG96OaEqpFXmLcUhIRzIFrkc9fwzEBJxZ1q aAbrjtBKWem57rCVbR9I2Dv2/kNbqytNEdQ6OXA/GWFCvgEPNapDYx+K53pSRpDyKDxzru j5Nia7DGp1Ce+VzbfEhtT7j1tDjn4/gE7yG1u/+7PRv26lom+f1a2tb1gvTvoSCiVTPf0P V8LZge0TGrsyYLEiQXo4uhCNZi7/mCKXYGbLJppOniCQjdcq8GiUtTENxJhXQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=T+GoCu+i; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSybT-0005a2-IZ; Mon, 07 Aug 2023 07:40:52 -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 1qSybI-0005X6-BE for emacs-orgmode@gnu.org; Mon, 07 Aug 2023 07:40:44 -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 1qSybG-0005Kw-5Y for emacs-orgmode@gnu.org; Mon, 07 Aug 2023 07:40:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CD2D1240103 for ; Mon, 7 Aug 2023 13:40:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691408433; bh=bRScR3Qo0yR6G0aZjgwXYsacH41nZ7u2WQmIOfFE95s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=T+GoCu+i+8cdIsbVIFM0XSi/rS65Vasci7bZMsG0kr6GEKO5tE84UEKvcR5RZWrts 7Px4ZEvSbG/lYltu1rbWbcilHQP/XZiNC0WxurnLq5gcJhdP6zSknK7SuXHhOuP8hK +Y0CPnt0CYMaN8XGzXQO7Sfm7LXd3AJ+4KkJ8Mv0qR21iteA1hoRi373vVc5AMWW9j bkJlzl8Cnq+vglu+dc+4H31qBZU6yP5jOvfRrKpTKAmra0yRQg7Mh5ArqltnYS2TeX TdGhKIOL6NxFNDU2wRFPVLkmg37fKTWllN0Ak23D/0R1V4Mc5yQMcpN9Y7TeSUCJMn 49bQit42og6Bg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RKDsF1ML3z9rxQ; Mon, 7 Aug 2023 13:40:33 +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: <87tttcml75.fsf@posteo.net> References: <87tttcml75.fsf@posteo.net> Date: Mon, 07 Aug 2023 11:40:58 +0000 Message-ID: <87edkf6px1.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: 696535888D X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.45 X-Spam-Score: -6.45 X-TUID: GrF5MjUkCs5a Juan Manuel Mac=C3=ADas writes: > Rationale for this patch: the treatment of blank lines in > `org-latex-verse-block' is inconsistent with the syntax of the `verse' > environment, both the one that includes LaTeX and the one provided by > the `verse' package as a replacement for the former. > ... > So, after this patch: > > =E2=80=A2 Any blank line before and/or after the content is removed; > > =E2=80=A2 One or more blank lines between stanzas are exported as a singl= e blank > line, leaving the previous final verse without the linebreak mark > `\\'; > > =E2=80=A2 When verse numbering is enabled via the `:lines' attribute (for= the > `verse' package), the last verses of each stanza are marked with > `\\!', according to the verse package syntax (this was not necessary > with the previous behavior). I see nothing that would prevent merging this patch. However, I believe that removing blank lines before/after content is something we may want to do in other built-in backends as well. WDYT? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at