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 ms11 with LMTPS id wCLKG47N01+qFwAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 19:50:38 +0000 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 YISBF47N018TYQAAbx9fmQ (envelope-from ) for ; Fri, 11 Dec 2020 19:50:38 +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 BFE0B9404C7 for ; Fri, 11 Dec 2020 19:50:37 +0000 (UTC) Received: from localhost ([::1]:45924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knoQz-0007Ml-Ky for larch@yhetil.org; Fri, 11 Dec 2020 14:50:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knnXJ-0008RM-F2 for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 13:53:01 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:46691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knnXE-0003jW-Ig; Fri, 11 Dec 2020 13:53:01 -0500 Received: by mail-ed1-x532.google.com with SMTP id b73so10400895edf.13; Fri, 11 Dec 2020 10:52:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=Rq1rufvg2rNt7yZEfa1qoB/Ja5wZk9IHiwBt8MJWerk=; b=Wc6u1nSdAHAk6Kll0J6uXh2EBFKHwhZe+JO8X7aadTaKNOuBOvqlX1I9t1Yto4e8JX MEu4nwg+Hlur9UpaNjRg0IS2V+9sMo4NDGG43H96o3xOxPzcWfmau11jnWZZeMhg7U5p e/xnuJNMhUw86dzCkRg7GGv+WM2cCdTJ4cvRZvhr6WELO8B0JjLU+BL1OsL0cp9sNlUt 854JI13kBhRPDb0kMK7j3T4xb3im3RaWlYhzA1DffYhNPjRQL39QIVt/EgklfgcUwxQu hM3yLWQOvuuo9bOOY6vYXmIFC549qkz5KSSWG+TpipkNZxmm8asSQ6qe5HDjtkX4UV0o 3Yog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=Rq1rufvg2rNt7yZEfa1qoB/Ja5wZk9IHiwBt8MJWerk=; b=YrCeNEYRy1+OX06NvlXFXYd3CuVEBMLtlc05SgvI+RmiwFSjX7Did6ccTi6JzbzZl/ 69c1ffKYuH/VU+D3OCn5bTny8GVQYjiY2fYRfNYtt5VxAdjaehAz2f7tmtVcaSykB1FJ Fg3li7UM3YbaODVbYu9osU8vtFmLSelbx0LcB+2F5KvwiMUmmYebnO501rjjJBSMnJ/e fsHLJfE//83rvRCm63WPKvR7j4GG8p6AV1RgXefTiUjBdah9lutZCM9lt2xnQfinFfjy gJJdazSaEmyxKIRYJU6xlMupG5m3HD/KFIHWRMv4BTfAXPCFbfVgguKey/7ZejytwOlh 7FUw== X-Gm-Message-State: AOAM532UAoO8FwfVBXibCSICKwj86K6bcxdGtdKPg3xbOL/1uh3u+2z8 OBkSsrM7bP9XeXZHmlKGZfaIqLPwb0Ik1Q== X-Google-Smtp-Source: ABdhPJxtb05bhH3RsAwFP8qOc3fpSGoE35A4d47rONTkHU/1N4sWk9mI9BvaG6603o9PXerjUtFNpQ== X-Received: by 2002:a50:fc13:: with SMTP id i19mr13661714edr.281.1607712773474; Fri, 11 Dec 2020 10:52:53 -0800 (PST) Received: from my-little-tumbleweed ([2a01:e0a:20e:d340:922b:34ff:fe95:9aed]) by smtp.gmail.com with ESMTPSA id i21sm8693390edt.92.2020.12.11.10.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 10:52:52 -0800 (PST) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: emacs-orgmode@gnu.org Subject: [PATCH][9.4] Mention org-adapt-indentation as escape hatch in ORG-NEWS Date: Fri, 11 Dec 2020 19:52:51 +0100 Message-ID: <87eejw18fw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=kevin.legouguec@gmail.com; helo=mail-ed1-x532.google.com 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bzg@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Wc6u1nSd; dmarc=pass (policy=none) header.from=gmail.com; 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: BFE0B9404C7 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: HF4Jvq7pN2v1 --=-=-= Content-Type: text/plain If it's not too late for this to make it into 27.2, I think this could make dealing with the electric-indent-mode kerfuffle easier for unsuspecting users. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Offer-alternative-to-disabling-electric-indent-mode.patch >From 829a98c8ee4ba8b914b9ac81bae510ae6f2820aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= Date: Fri, 11 Dec 2020 19:47:37 +0100 Subject: [PATCH] Offer alternative to disabling electric-indent-mode * etc/ORG-NEWS (=RET= and =C-j= now obey ~electric-indent-mode~): Mention alternative values for org-adapt-indentation. --- etc/ORG-NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 0ed626fb7..b8c6e9d3b 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -234,6 +234,10 @@ explicitly: (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1))) #+end_src +Alternatively, if you wish to keep =RET= as the "smart-return" key, +but dislike Org's default indentation of sections, you may prefer to +customize ~org-adapt-indentation~ to either =nil= or ='headline-data=. + *** =ob-C.el= allows the inclusion of non-system header files In C and C++ blocks, ~:includes~ arguments that do not start with a -- 2.29.2 --=-=-=--