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 2COcJmGpj2A4AwEAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 09:42:25 +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 CPFSImGpj2DrNwAA1q6Kng (envelope-from ) for ; Mon, 03 May 2021 07:42:25 +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 0AD7A1DF5C for ; Mon, 3 May 2021 09:42:25 +0200 (CEST) Received: from localhost ([::1]:58002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldTDj-0001H5-CK for larch@yhetil.org; Mon, 03 May 2021 03:42:23 -0400 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 1ldTCg-0001Fo-1x for emacs-orgmode@gnu.org; Mon, 03 May 2021 03:41:18 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:51878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldTCd-0000KV-N4 for emacs-orgmode@gnu.org; Mon, 03 May 2021 03:41:17 -0400 Received: by mail-wm1-x32b.google.com with SMTP id n205so1844204wmf.1 for ; Mon, 03 May 2021 00:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0Wf/WfURkGJAhkqc8EQA+31O4OV2GVeBZ9ohznXh0xQ=; b=lCz+IaZztW2a2xSDa/FQzUjMBMhxvr/PzOem/frj6qzs7lmXp2FMPUCLulUd9T2urj 6rkp2OLL/wdSQXGIGcPm1jlDGoAG9JrSHeUX58iun8kC98jX8Cf3JIvA05eTZE7oeJzo ZaN2LlTbw52fGq9gTBM9sgl9RLluHUYV5pnawN4hVQbx9MtXyQR6T4n+n7nx5bNPOX57 /M3emvUE+FT6WBQ8vy+0wLEkbD8QmkGIi3IGl6/pjKQ104sw4fiDvdCSKCuVRzuueMhK p/CYl2ChWcbrKZTim0GMSSNL8npMcW7p2Vbuh5qelvD7zKqQrXlT/zFbIdzDjKAcAM4k aICw== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0Wf/WfURkGJAhkqc8EQA+31O4OV2GVeBZ9ohznXh0xQ=; b=E3N9gqQzs6+NqNBJDfLJpPSxUWJOU6M7f+nY0d7T/nWIhcl+aAS7r0EUc4569JQp0Y NWc9vB68+IizAJ+58v4RqP1G5HCT1lpZ7nKYquAf3td8L3fYv6s8G4wsvj6wzNC0vYGc sySBRawzNXIKbHaXQwYixY+du7iOkCgoQ/QIbQhJYQs3yetXMbaiPOWP2dUIEaSAZHDl s/2f3RMT1ul+CxspBIG0Luc04n3MeWkPhmo2lsExso/imkUGycCdlMLe+4ebk+KxQ+lv TVjj2o/Rfmpa8Z7Gu5sFnU/ZBVH5oE2RCE+Dbf0lu9BTBCqvl0c63hDSl+hLOnWznuCy y2qQ== X-Gm-Message-State: AOAM530pTeWkEdg1tZMWvdQi4TMnLHP5++uprPcyPlEd7Nk4hXtIkj5v Nh1xbpk7JN6m0o33+KnoPNkJwJCJqVo= X-Google-Smtp-Source: ABdhPJwf0ehKtpxXX0fGwHNXj8TjBljFaQaEnUjXeCvMVRtcjp5OTsxVgzxkmfhdUP1t0+CHqimtCQ== X-Received: by 2002:a05:600c:28b:: with SMTP id 11mr31121055wmk.27.1620027673957; Mon, 03 May 2021 00:41:13 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:20e:d340:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id n10sm11404636wrw.37.2021.05.03.00.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 00:41:13 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Tim Cross Subject: Re: [POLL] Setting `org-adapt-indentation' to nil by default? References: <878s4x3bwh.fsf@gnu.org> <87h7jl5xk5.fsf@gmail.com> <87mttcbw22.fsf@gmail.com> Date: Mon, 03 May 2021 09:41:13 +0200 In-Reply-To: <87mttcbw22.fsf@gmail.com> (Tim Cross's message of "Mon, 03 May 2021 08:25:24 +1000") Message-ID: <87bl9sgt7q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x32b.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: emacs-orgmode@gnu.org, Jean Louis 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=1620027745; 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:dkim-signature; bh=0Wf/WfURkGJAhkqc8EQA+31O4OV2GVeBZ9ohznXh0xQ=; b=buS/TKaKyap98shifS8Qr9eChhLxZ7Mj1/s7zMURZoGlvo7guC3zoC0+E3mom1KB2Vp27Y 6pX9TOEhUl42Ckk1ZSXzHrTbjpspR70FC5ASzO6hnA668n1D88Z5wyqR3kMH3cw+erBR0u 93CWLpOkRCV6a8s76o1ltU/1oCU9ZLjMPHZ8Lp7RqlypgFwzgMhmuCDBgQQYXVxMKzDb3s 7Na11N4h8wW8GJTQwqMLfnNwl75uxKzwXTQJYL1CNiwq2DwOvBK/F/2K7LnZSCz3839ZXY W5Xv00ww7evETmSbPtAJK+zUCQp1rTVrn7xAPLN75bwdhkT6TmM4d6UxnEh4Kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620027745; a=rsa-sha256; cv=none; b=Q89Dk6P2gzMmP+tvMucPWrBkmeDQVfSAGCujSlG9+FKlChpHXr66OUZCr9DjCJOqKFJYju T0umXE6w0zP5jJPz6OvTS5b3hRCWOPku4PCRDfEwPr7kJMvKz/5alJVoRTFuJ56KbyjBnX K3G9L9Rgk9Ka5Qt4yrtLhE2DAijiQ93M+j+lFsvjZJ9kB7JWBpYbpRNeuPlU6G7rOXRnNl MWphrHZMHA9DHDp/if1AkV5Q8o5X+haO9YLz6eLpE15J9uFcm42PzewheozOAlGDZ1dM+u foC0izcr1rX8SmKF3xj0mtdYPX5XfX4MAqRjh3ZACOXIW41WdXA89Mwyl+O7Uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=lCz+IaZz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=lCz+IaZz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0AD7A1DF5C X-Spam-Score: -0.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: k33IBdxypNnH Tim Cross writes: > Jean Louis writes: > >> If I set `org-adapt-indent' to 'headline-data, I get that same >> behavior that after pressing ENTER on headline line, position becomes >> indentend. So it does not make it right. >> >> My favour was the behaviour how it was before introduction of >> indentation change: >> >> - after headline, cursors went to beginning of line; I find it >> usable, as that is where I write text. >> >> - if I ever wanted to enter properties with C-c C-x p, those were automatically >> indented, > > This is exactly what headline-data does. I suspect what your running > into is electric-indent-mode and you need to turn it off to get the > behaviour you want. So set org-adapt-indentation to hedline-data and > turn off electric-indent-mode and you will get the indentation style you > are after. Note that electric-indent-mode means "RET indents according to the major mode's canonical indentation rules", not "RET always indents". Org's rules depend on org-adapt-indentation: ideally with org-adapt-indentation set to 'headline-data, the canonical rules become "only :DRAWERS: are indented", so RET should *not* indent text; things should behave as Jean Louis prefers even with electric-indent-mode on. Bastien has just committed a fix for this earlier today; cf. <87fsz4gtjs.fsf@gmail.com>.