From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mMS3MVG8x18yRQAA0tVLHw (envelope-from ) for ; Wed, 02 Dec 2020 16:09:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uGKZLVG8x18oCQAAB5/wlQ (envelope-from ) for ; Wed, 02 Dec 2020 16:09:53 +0000 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 20BC59403AA for ; Wed, 2 Dec 2020 16:09:52 +0000 (UTC) Received: from localhost ([::1]:38756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkUhS-0004eH-U1 for larch@yhetil.org; Wed, 02 Dec 2020 11:09:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkUgs-0004cP-6K for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 11:09:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:33098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkUgq-000220-1r for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 11:09:13 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AD58D5336F for ; Wed, 2 Dec 2020 17:09:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id uDWBzcENr2GJ for ; Wed, 2 Dec 2020 17:09:07 +0100 (CET) Subject: Re: is org-export-preserve-breaks incompatible with org verse blocks? DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1606925308; bh=E0UhkBgTWGS52cERj08+rblox5rSwNL8yUHNvo+JWbA=; h=Subject:From:To:References:Date:In-Reply-To; b=PLKpXJYpdDx41lkI0rLtwqEcRKopIDwo3gKEYQNVFsMZ/oZ5JU1W58okR9VrRdggW STusdcVy6M3vWTdYaaRnCy5Bt2MnvNdxO2YdNJjBonKC7pvHKiCwIBxXy+JBaJVMpm rrD0hUglZbcaMhMI77ASmye2fbZXMHsSA+f/Bzu3/Bw7Vestbt8SmSrccvQJBI84kX k+VLFK3XYjSRa/yUa24f04ntyGYGqPwtNl9L5XHLMm1HRrDVp9novLZAGONe14NROP QmMrYBLkK/XwQD/vIe9MXim7wNWQRwqALexbLSGlte1TMkJLeKdnj/07yWeNMjNeXW Ir7mmCoUDH9eg== From: mousebot To: emacs-orgmode@gnu.org References: <53f7522e-1af5-7338-a86b-88a51a16fa30@disroot.org> Message-ID: Date: Wed, 2 Dec 2020 17:08:26 +0100 Mime-Version: 1.0 In-Reply-To: <53f7522e-1af5-7338-a86b-88a51a16fa30@disroot.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=mousebot@disroot.org; helo=knopi.disroot.org 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, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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-Spam-Score: -1.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=PLKpXJYp; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 20BC59403AA X-Spam-Score: -1.48 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: ohs4dPNJe+4A hi again, i had a look at the content.xml file in each case. with org-export-preserve-breaks disabled, whitespace is exported (correctly) like so: text here indented 5 spaces. with the option enabled, the the spaces are directly transferred to the file: text printed after 5 spaces, which are not properly preserved in the org file. regards, m On 23/11/2020 19:19, mousebot wrote: > hi org, > > i use verse blocks to export to odt in a way that preserves whitespace. if i enable org-export-preserve-breaks, whitespace in verse blocks is not preserved: any spaces used to indent text from the left margin are reduced to a single space. is this intended behavior? i had hoped to be able to use both features in my document. > > example: > > #+begin_verse > here you are, > doing your > darned > best > to export > #+end_verse > > will export as > > here you are > doing your > darned > best > to export > > i tested this by loading emacs -Q, evaluating (setq org-export-preserve-breaks t), then using the normal org export dispatch, with no template. > > best > m >