From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SCc7FGE1T2HSPAEAgWs5BA (envelope-from ) for ; Sat, 25 Sep 2021 16:42:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gAzSD2E1T2F5HgAAbx9fmQ (envelope-from ) for ; Sat, 25 Sep 2021 14:42:41 +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 06CCB71B1 for ; Sat, 25 Sep 2021 16:42:41 +0200 (CEST) Received: from localhost ([::1]:51318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mU8sy-0007ci-1L for larch@yhetil.org; Sat, 25 Sep 2021 10:42:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mU8s2-0007cO-5e for emacs-orgmode@gnu.org; Sat, 25 Sep 2021 10:41:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44670) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mU8s1-00055h-Ke; Sat, 25 Sep 2021 10:41:41 -0400 Received: from [78.194.183.21] (port=52198 helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mU8s1-0004oc-4w; Sat, 25 Sep 2021 10:41:41 -0400 Received: by hal (Postfix, from userid 1000) id 51D5E1E041B; Sat, 25 Sep 2021 16:41:37 +0200 (CEST) From: Bastien To: David Lukes Subject: Re: [PATCH] org-indent: Allow indentation per level to be 0 In-Reply-To: <20210831230651.82962-1-dafydd.lukes@gmail.com> (David Lukes's message of "Wed, 1 Sep 2021 01:06:51 +0200") Organization: GNU References: <20210831230651.82962-1-dafydd.lukes@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 25 Sep 2021 16:41:37 +0200 Message-ID: <878rzk3efy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org 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=1632580961; 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=IVTGY7AZpnbEVBGO3d+XopoYVHEx4skqCgMn6apYYFI=; b=IyxafMkxhZ8ftR23vShqD+FjElntnNqFgI+5ewdKS2lJUZmYDhzQCvYEE3VWuAQaqOFD6Y rVH19KcYmtB7GRCYHzJdgKj3WQifvm2YV9kub6+bt3UvfXYeYC2x916t0UCe2yke3dAFOM 8qllYRwIZ3XXCcklUBiDSykFHTA30K+pYrfAWywI+LEl+gFbfVCAUFqIPVRIMv1cBJ+Qch g8PZX//XIh77+XUecFKdBscsd0a//dMp0pxBUesJawWxGDh3gzR95M1uZtymfrtX6Xi/Tc lmlcOK/FAk4BNC3IMAu3ucHil3FSkescEYUlKgpYOIRgQL4hxEOVQEhn7EBmOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632580961; a=rsa-sha256; cv=none; b=F15a7Yxc+tBQ7hn4ImVNyMhG9yA3qL/opVL7hlyl3LbEtS6TCLTcBZValtlaLwe3nuy8Dw vXs6S2S7kFfrYxa8+uYryNlSweYnrIK25GZxJvqbUAM7lohUcrs+NZp9UTwMESwYJhGnZn vf1ahZnL2/bZFi/FgRiubyXlWzMy4sHLq32rRhWjdshHn2PMb3Xo59HYciEhMJZh8K3HlB FSdstIjpy9pj+H66A+3sFGh1DSHzeGpDt+CfKtZtTpMQgkjuyEK4rc8ekOlsv3gRz6A7o0 GSEHShamb5/UG6dMSI/EKBEp+ltqupHHSiBZ/nxZ+yyMVYUqHxTsuLITpfDVnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.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-Spam-Score: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.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: 06CCB71B1 X-Spam-Score: -3.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: NJjqnyE3zDJe Hi David, David Lukes writes: > * lisp/org-indent.el (org-indent--compute-prefixes): Prefixes should > only be computed when `org-indent-indentation-per-level' is greater than > 0. For one thing, the current algorithm leads to an error otherwise, > and for another, this makes it possible to use org-indent just to > preserve indentation on continuation lines, without adding any > additional indentation per level (by setting the option to 0). Applied in main, thanks.