From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sO68ISLvjmBbZAEAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 20:27:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AJRdHSLvjmClCwAAB5/wlQ (envelope-from ) for ; Sun, 02 May 2021 18:27:46 +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 C9C8F1415A for ; Sun, 2 May 2021 20:27:45 +0200 (CEST) Received: from localhost ([::1]:47614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldGoi-000812-7I for larch@yhetil.org; Sun, 02 May 2021 14:27:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldGgR-0004Io-Ag for emacs-orgmode@gnu.org; Sun, 02 May 2021 14:19:14 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:51539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldGgO-0005WV-Qo; Sun, 02 May 2021 14:19:11 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9C515240009; Sun, 2 May 2021 18:19:04 +0000 (UTC) From: Nicolas Goaziou To: Tom Gillespie Subject: Re: [POLL] Setting `org-adapt-indentation' to nil by default? References: <878s4x3bwh.fsf@gnu.org> <87czu93zr7.fsf@gnu.org> Mail-Followup-To: Tom Gillespie , Bastien , emacs-orgmode Date: Sun, 02 May 2021 20:19:03 +0200 In-Reply-To: (Tom Gillespie's message of "Sun, 2 May 2021 11:11:19 -0700") Message-ID: <875z0180dk.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.230; envelope-from=mail@nicolasgoaziou.fr; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: , Cc: Bastien , emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619980065; 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; bh=sAbXMyLOKR0khf+PN8hX3BS+e1paPVs4KR5fuVrzQW4=; b=M21J0j7b39hMc0YE8WeExXbcTVipXSBJEKM3hUvU0uMRcgkKhO8YfSH6nBpD+ck9o/cFsA NLzglvrvAiw4ucC/EMuXbq6gp3RlXt7kANrksdgBXhzsalr1octJS7NpMbn+0cnc98fJPj ltYWnYSu2B2CIgyZkpUAdJ1qoDl+VYXdZkrM2BCRaEPVKrqKfZde8M6e81zt7ZUaJPNg2N ApM6LSOOiHqmDI3SzlIqRHvgUC1dNx1/i0xSxbW+kPAMOP4uhC5DkD7lQ/PMxh3tyr9N0V xO5692rLpwS/NX/qhKoo2SWCdALXe6Rxksr0B7PKWznRlxtOYzdlPhwJbIbDCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619980065; a=rsa-sha256; cv=none; b=oH28s1HV2nJR3UL2zZnXOU4NT0gwB2ysDY30gnrsa9NY7WXEMK60ysdsCDv7EmX/LiOJJ/ KscX2vb7oqV97ZB3ujHCXHwA98yvpUmznX0b8egvJ5g/BUcm6LVEwUXf7HxZUPkJP+jmCz toN3bH41Qn2GpXltF6daNQbqMyx7waotNB8po4uTM3k2gXhbnLabq66zCQyZxQNjB+XCqQ 2DrykH3kAUf+lBhjw36cIxSl1qnEQH74FtfAp7bxUdFjrCS47lxfdkH++g8CGvZiVLEUbi qXEQl+S4wMIbZSzX1hhf9yuUGzO4sF3ukOizPQFN0Ba3HsGHx2nsolJtdtH1WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: 0.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: C9C8F1415A X-Spam-Score: 0.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: dmSQnecLT13O Hello, Tom Gillespie writes: > Materializing the whitespace causes many potential issues with source > blocks for languages that have significant whitespace, issues with > #+begin_src and #+end_src having different levels of indentation > (still an issue if you want a block in a plain list), This is inaccurate. The following is a perfectly valid list. --8<---------------cut here---------------start------------->8--- 1. foo #+begin_src emacs-lisp (+ 1 1) #+end_src 2. bar --8<---------------cut here---------------end--------------->8--- Source blocks for languages that have significant whitespace should use the -i flag. > PS I have included some notes on the worg/dev/org-syntax.org > file that I wrote while working on the formal grammar. I would > qualify what I wrote slightly to state that users could in principle > have leading whitespace before source blocks but that the behavior of > org in such cases would be left unspecified in the not quite nasal > demons sense, but that it might be better to have the behavior > described below with a note that no attempt to deal with correctly > preserving leading whitespace is required, user beware. A final > aside: maybe plain lists could have the #+begin_ and #+end_ > lines indented to the level of the plain list but maybe not the body? What makes you think this is not the case? Regards, -- Nicolas Goaziou