From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uPVUKqr7jmBndgEAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 21:21:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OIANJqr7jmDHDwAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 19:21:14 +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 0A04914B2F for ; Sun, 2 May 2021 21:21:14 +0200 (CEST) Received: from localhost ([::1]:51536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldHeR-0004BT-PU for larch@yhetil.org; Sun, 02 May 2021 15:21:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldHe0-0004BJ-Af for emacs-orgmode@gnu.org; Sun, 02 May 2021 15:20:44 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:58775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldHdv-0006XF-Tp; Sun, 02 May 2021 15:20:43 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 28C8620004; Sun, 2 May 2021 19:20:35 +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> <875z0180dk.fsf@nicolasgoaziou.fr> Mail-Followup-To: Tom Gillespie , Bastien , emacs-orgmode Date: Sun, 02 May 2021 21:20:35 +0200 In-Reply-To: (Tom Gillespie's message of "Sun, 2 May 2021 11:48:31 -0700") Message-ID: <87y2cx6iyk.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.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.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=1619983274; 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=Uwtyj84x9sERAgrdvPUMAW/lK3gkb3WOmUhwvjjk4/A=; b=tbL+JoWV4jtBcttRRicp8IwbVEzJzBMj+NTVw496QH0Viyf7Ol8psAfbmRrhCKLYGRWgnM 7n5qErkAp33Zkfda+GypOoDyth85CPXrQSIXDhtCZUDtk0g3gxCWcyYV5dbjI06cojIefT QnU1Vx4ZhzeYIPHddpFnF6GmRc9ccGa7lIaPqwhN1W59tHwOyGQ3IHFqLa7aOQUFDwRzAp UzVXjb5tg0FA/h6qkFOb8h9joRqRhCseEmjQlNnQFbI2kG058t5MZHMpKeAcJ6rNCeoMbS 5xVPbr93oX+UUGu7K4xgOUJXIRndBOqT/QRDEyIVN/6mpzn4MaeY7sYHkJfosA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619983274; a=rsa-sha256; cv=none; b=H9T9Ob4ZCEb68lmeXm/UAECKBc/idUAu/KyioHT40oTOWm53DtztflpI2cBAnBhC/MnYYg y5esJZtXI6h4KqPgCIG4k8U+bTQUAAZn+sby0I3J5degZtI3+u+WpkC4q+Rx1EiD3kiNK6 JCrV7g6zejlZxp6sre55psDYUt2DpKuhsV4LhSvXQQiZXpqVL5LaNEh2L+RiLeakk/dUWY YUqyJkqYIgbsIVq4PgLrF3KJ4wJ6asU0IlcLoebNbgx/6y0NUrKT6wY0Dc3hgjwxaTuc/B ujg7J7IBpdxPsvRev3WgAm5vs8FKzU4UGUShK50TxN9q1orV4cj8OfPCz50Qog== ARC-Authentication-Results: i=1; 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-Spam-Score: -1.46 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: 0A04914B2F X-Spam-Score: -1.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: EVZWI656pYv2 Tom Gillespie writes: > Yes. My question is about how to deal with cases like > > --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. > > My known issues with switches aside, the misaligned cases are the ones > that I worry about, and I don't think being able to flag a block as > being indentation sensitive helps resolve the potential ambiguity > there. There are various options: 1. Syntax error. Everything does not have to be valid in an Org document. 2. Opening line always wins (which is the case in Org) Regards,