From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iGI2G9vzN2MlhwAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 10:01:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eKtTGtvzN2NWiAAAG6o9tA (envelope-from ) for ; Sat, 01 Oct 2022 10:01:31 +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 116621B2D1 for ; Sat, 1 Oct 2022 10:01:31 +0200 (CEST) Received: from localhost ([::1]:37776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeXRB-0006X5-MK for larch@yhetil.org; Sat, 01 Oct 2022 04:01:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeXQM-0006Wu-1x for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 04:00:38 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:33554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeXQJ-0000xw-3T for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 04:00:36 -0400 Received: by mail-pf1-x435.google.com with SMTP id w2so6136724pfb.0 for ; Sat, 01 Oct 2022 01:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=0EtVO6xtORupMEAMAnDULzZuXCeqJRRAT81snn+Z62w=; b=O1NK6wS84Y49k49cN8jtRchCRCWggz38gYYZBuYWuBhAR4Tg7MTfu7t5WhB+ZRDUf/ H3JcwPLWRHuSR3HGhssiZSCl5Foi8QmPCZMaZ5VPs/KaE6ME49wpvzxcoZSi7BLyeQTS TayH6713g1qbQpCZPQ+sbv2K7sSQOi882o98fUG3wPuovjg8ME0hbKC9+7UhGBLdpPgD gvbE/Ng1dyTHRNa42NDsyTbphRIO1Xuvg+QAgLvO39LIdzjknOKw5NwQEeht+Md5x+vD 99cE7YFr0INV3HTc5tlf4hBK7GZbQKVvpMbR7xh/Cp04pgyNNkC/z5eyXWTyIIucmWaO sRdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=0EtVO6xtORupMEAMAnDULzZuXCeqJRRAT81snn+Z62w=; b=lA+4XBAUGbooh7pk3vI3em0p0BHEBMWPz2qfJ8q4ejApSWTUihmn1VYiRP6qw+QZ4J v0/BRS3nxAC1U2wBMgrf9xWQfJXhkNYnotUc0x7XIo7evwSdWzDiVClExMx+WUTZCdft j3AzMEChlVg1NrCcvV/uJgcH1whd03WWtjsLlC7x3Tuwe7wKAjs96A+WIvnrBv3JK23x kNGA0H+pkXEfF1YffMjUb7S08HfTCa+sht8pbEg1K54Jg+Y2KAUhk+hCVNHv7GbNwzEr lud+SnHpizoIHXmF4yqhJ6Vzwy0Ffd4CZDHU96BO154y0kK0lTFTbpDaS8/7j2GhDgRq hERw== X-Gm-Message-State: ACrzQf1R/o/0ZBXrl4ZRUfu+TnDpYi07ETx53Fh1UC0PKZj5bPc8NXzk mOyG3ngm2mzWOIIjEGQ0ouyoWv5suaoFWA== X-Google-Smtp-Source: AMsMyM5PzpKJDr1ewrQ1WiwGtrw2mMyPAdBLxoNaZ/TxeVdCVNtlwGVvs55y0EoUc3qdTBdAbLPpSw== X-Received: by 2002:a63:4750:0:b0:43c:dac:9e4b with SMTP id w16-20020a634750000000b0043c0dac9e4bmr10887072pgk.300.1664611233273; Sat, 01 Oct 2022 01:00:33 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id t18-20020a170902e85200b0017684444f57sm3183790plg.224.2022.10.01.01.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 01:00:32 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?L=C3=A9o?= Ackermann Cc: Org Mode List Subject: Re: Ox unindents lines but I can't see when In-Reply-To: References: <87tu4o1533.fsf@localhost> Date: Sat, 01 Oct 2022 16:01:16 +0800 Message-ID: <877d1kt1kj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=yantar92@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664611291; 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=0EtVO6xtORupMEAMAnDULzZuXCeqJRRAT81snn+Z62w=; b=a/5SHY+7l1yhsA2m7jGv8Rgwcj+r/95uOkRkznw9OseuQT/zyon30jJn9xeO4VXD9VE9zt mrlqO1o2K+E7Hgvlsbk7/FBNCebP1oZaxdX05OL54uuhIpJgQYoZtRNgVoFvgfMnrXskql w1tLzIKmUjcnfMKS6uvZpUDlCWwNZejPrG6S5ujAb70PDCoJ5FM9Difgyrsd77iuhu4Rss /lJydLLUs8dF9X6f7mx7WeMHY4rAQeMZZiGLhFCs1UkjpbIIFcDBRUq8X6sAXItDfnEFgy Ezxiv8+keEipY60LPvzUZKm4FX+OdIhTe3Lgn1BHh/VMr9gZtUlHaFThOe4XAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664611291; a=rsa-sha256; cv=none; b=CoU+E3RZYL6GsYN4SmkAG7hmFf+0YHb6sL3MafUYTmLcbXsDdPkbLxkwkvIj72GUl/SbT+ yJRnUxB+Jnb4U5XBuJr8ZOq1qSzKagp3nQzI2ZErBeuEeBOjDofKZN/6/D0XxumnCb3fiM x/TFyC8+sPQVoWBnwWQejDxj+SCGRXIM9tmlpi1A/jrVg6Ez6z4VWtdyfz5ECabqidXViO MtEM41oSv7BRl1GN1z73qydZGPEKySxT8azkMOtwYXs9/1R2uHuQKoMPBSO9IsUxaT36Dj tYfVV2p2dMG+pOf02Q7BUhvevmoBxGSvh8teIVXDH2LuKuL/4/JEgyHcKDomxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O1NK6wS8; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O1NK6wS8; dmarc=pass (policy=none) header.from=gmail.com; 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: 116621B2D1 X-Spam-Score: -5.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: +N1ARDtjBar0 L=C3=A9o Ackermann writes: > I can not reproduce this (ie. my second paragraph is unindented). Here > comes my bug.org/org.txt files I have using ASCII export. > I run Emacs 28.2, I just updated the packages. > I think this is not of importance here, but I use Doom Emacs (up-to-date > also). > > I confirm that my goal is to have the indentation of the second paragraph > preserved. Ok. I see what is happening. The file you provided here is importantly different from the text you had in text part of your email. The text I tried had multiple lines with the smallest common indentation =3D 0. The text you attached consists of a single line with a non-zero common indentation (indentation =3D the single line indentation). As a basic principle of Org markup, Org ignores common indentation of paragraphs and other syntax elements inside section. Thus, your paragraph indentation gets removed. It is done in `org-element-normalize-contents'. If you want to force Org to ignore the one-line paragraph indentation, you can put an escape character [zero-width space] (see https://orgmode.org/manual/Escape-Character.html#Escape-Character) at the beginning of the line. Alternatively, you can put a non-exportable object like @@nil:@@. Hope it helps. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92