From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6G+8MYi9q2U8BQAAe85BDQ:P1 (envelope-from ) for ; Sat, 20 Jan 2024 13:33:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6G+8MYi9q2U8BQAAe85BDQ (envelope-from ) for ; Sat, 20 Jan 2024 13:33:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Zhg3nrjr; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705753992; 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=geLPap85yhiABZQnTm4dSGDQw6LRPut/golhW3kZ/wg=; b=OKF0OXCciAjsdl5e27korZUw9IjRuWgzD3acGtBgxoSBBpaYYmp9Ms/cP+q6/nzeDG8obE nA1A4ddbPz6KJnrisXdKhiQ0mH5AJWU2stt/XFhh5/kfOQFJy114rnS6YGhaPZluRMPxP7 HbpAB3uLv33zEm4jkQfBR4pCdmHAp2xQFPloI4NkRhcgc6nWrNEKxpAi2dYAOQtTk35YK3 YCGy9HUIM7Q7BvM5tBk5FdYTmYt4wdpc8LQVMzpjScetib7+h3xOm4xJXBE0ecaVxLQ0TM /OVbTAS5S7Ak1oqfh3U55cCxZqo9BcFXKQjU9mhwlYj1KADVULZ7TTofHw0ReQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705753992; a=rsa-sha256; cv=none; b=VXJAEwPJL4MT78NxtrdH6Q11MnHk85NWjY8nhkRmifbTYMwLmmgqHokU5SuRoXebeztHh+ 8xEcKOhOViUrr14GYrZjKwr0CLvFUrNRapPc+eORemHYQ2Wp8B3n5UT229n1gct8O7xSnd lOGpLociRTsomRqKlbHPxJGzHrW4m+haL+twJReX3YM3Nc7mfeq1Xlx1+rX2u0fLdx2PF2 CV3O4zR8hITe41SB6O7SEHipyvjjr/xrqz7+IutIEfZm3jkE8rcBrfHFevyLYIZZxcQJEH 5BXr/RZQ4muAo62hGgPQubwc/UFgXPLzl/wEB4rOBvLYaKtCZWj9jIctDWqbmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Zhg3nrjr; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 B39F976D4A for ; Sat, 20 Jan 2024 13:33:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRAWk-00016a-VY; Sat, 20 Jan 2024 07:32:46 -0500 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 1rRAWj-00016S-Uv for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 07:32:45 -0500 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 1rRAWi-0002uA-Ax for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 07:32:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0F709240101 for ; Sat, 20 Jan 2024 13:32:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705753963; bh=c/id1jhlxlSGHE5iYHeAOjGWlOR41/qnT0d/LchvSgA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Zhg3nrjr7YRAMCkig6uV00Jz+AHZad7A8zUENPvjZf/XPDsttDlHS0re9UPYrBq3O 9k1urZyhvsQ6+QElhYX8C1KGShS+rjPIL7I0yHL6tFLgHfc2LewXI6ll1uVn/bUEd9 tqITqQjjVAa/vySWcYNuoBUtkuWYf1zUpEE0kggCSXhHekijZbfiEL/A7rODA72lZu SYKMhm8AJ+a9ozbNDBAun8elZVX8C0tsmVx/7X8Eq0tLVqJNMFdJm0msrCOba5Ka+E h1YlwgXZTS71cOvqBPu+1KX3MP96VKfZWlsKIDXNnwt1ZYWsJqlciVgZ4JVWdBTQrD 6lxQj7acNkqkg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4THG8p1zLvz9rxD; Sat, 20 Jan 2024 13:32:42 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: [possible patch] Remove the '\\[0pt]' string from the last line of a verse block in LaTeX export In-Reply-To: References: <874jfvjo2k.fsf@posteo.net> <87cyu5uv7c.fsf@localhost> Date: Sat, 20 Jan 2024 12:35:59 +0000 Message-ID: <87y1ck5gi8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.91 X-Spam-Score: -6.91 X-Migadu-Queue-Id: B39F976D4A X-TUID: twu6nmBEWAIL Max Nikulin writes: >>> Can anyone think of a possible scenario where removing the '\\[0pt]' in >>> the last line would cause a problem? > > I would suggest to strip leading and trailing newlines before processing > of the block content. May you elaborate? >> In such scenario, we may technically violate what users ask us to do: >> >> #+begin_verse >> I really want newline here\\ >> #+end_verse > > I really want newline here@@latex:\\%@@ This implies that Org mode does not follow its own markup. I disagree with such suggestion. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at