From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8CzZGKA/bGHNZAEAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 17:22:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uDZmFKA/bGG/HwAAbx9fmQ (envelope-from ) for ; Sun, 17 Oct 2021 15:22:08 +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 BE8592078F for ; Sun, 17 Oct 2021 17:22:07 +0200 (CEST) Received: from localhost ([::1]:41740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc7zB-00064t-6J for larch@yhetil.org; Sun, 17 Oct 2021 11:22:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc7yA-000621-QG for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 11:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mc7yA-0004sC-FZ for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 11:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mc7yA-0008Mz-Be for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51167: 29.0.50; org-indent-line broken Resent-From: Max Nikulin Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sun, 17 Oct 2021 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51167 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: 51167@debbugs.gnu.org Received: via spool by 51167-submit@debbugs.gnu.org id=B51167.163448401332093 (code B ref 51167); Sun, 17 Oct 2021 15:21:02 +0000 Received: (at 51167) by debbugs.gnu.org; 17 Oct 2021 15:20:13 +0000 Received: from localhost ([127.0.0.1]:45150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7xN-0008LZ-7V for submit@debbugs.gnu.org; Sun, 17 Oct 2021 11:20:13 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:38635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7xH-0008Kz-FK for 51167@debbugs.gnu.org; Sun, 17 Oct 2021 11:20:11 -0400 Received: by mail-lj1-f175.google.com with SMTP id n7so4058306ljp.5 for <51167@debbugs.gnu.org>; Sun, 17 Oct 2021 08:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=in8v5JlIJEqOF35aNCrkKUggeIIFQZa230iMV8rD1vc=; b=bvAyNIPI9Izx3BY0oSJoHtchyQUpLRSZS3W+wf23YNDSr9n2agRBvrbHkW0rNzLZNV m2dWVdsKWQeuebtScxBSS3tIHlAgL+Y/GMh1wh6JgPP3AWpHoVwyrRE7hrCoujRKgvBs brD2jwOxdGRL0EcHfn4bM5DsYA+1YsMlGWtSnC9Ff8C/2FFfWgUcSmY8lwIlu0iQCWnp TXyyCfALIKY0VERKcfB21FSNah2dn6ZW1J0b6KXO/4m3+RxchMfrELAYgB918SixWpmc PjJUjnU0juUQ5Xb9cKopEnbezJ/Isw1c32Rtjn9VvI+oK75ldBN6YiJP9tYIyKmGdu2M 6NHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=in8v5JlIJEqOF35aNCrkKUggeIIFQZa230iMV8rD1vc=; b=T8CqEsN3NjjQSfOr44M+O0YL+Uo5VQf3ytKe6ZgEX0WYoTpboL/tA6nR3dAxviSUup hNarWpB983PJvwaalHaDc9SAF4kZ7CZo0biVKbUz0/DLcJGo7Y4p3ZQXlF/bGhA+uhb/ ThoJWPVQX+iSsOOXXb86XOA1ZN4jVhJVj3Yr/mZ6Rh/RywmtRR/kxBmQQDge08/9hMd+ 6G9rdNfBKuZr+oOXko9wt+9TuCu22ZUe4mivfmiu23A7XUEqWD0ZQ4wCKsKa3eU9Hq3V mN/GTUv1e8WrzmN872hdw1yuNuaKz79IqbDFlDoD8wkOd/rNtkGu7BxiJk16+J4AvFKZ e8NQ== X-Gm-Message-State: AOAM530VUneH/M0YPxxUgIhvv/ggVaqB8y/xrL4y5+t01uYiUbJxWDnR v0JTbMGyRuYF16eajD9qNd9pK4kEgWk= X-Google-Smtp-Source: ABdhPJwRGAlgE0ltZjEFq6qbmQowwGCTLecvsrRnCP7MmK2juZCSIjtXoU6B53QQhDOjI4vEk5bqTQ== X-Received: by 2002:a2e:9f4a:: with SMTP id v10mr25602549ljk.375.1634484000944; Sun, 17 Oct 2021 08:20:00 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id a11sm1423473lji.90.2021.10.17.08.19.59 for <51167@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Oct 2021 08:20:00 -0700 (PDT) References: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> <87zgre6qgx.fsf@gmail.com> <3aff866c-61d1-602b-5468-6026c251a0c5@easy-emacs.de> From: Max Nikulin Message-ID: <32780b45-d020-d3f0-85dd-7592401697cf@gmail.com> Date: Sun, 17 Oct 2021 22:19:59 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <3aff866c-61d1-602b-5468-6026c251a0c5@easy-emacs.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1634484127; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=in8v5JlIJEqOF35aNCrkKUggeIIFQZa230iMV8rD1vc=; b=HVJLbzNOoB0ESoj9oGrJBeSWuvnArVlH+hwNF3+DfA3dUCRswyyu4p5QQGpd+owUDfWy4s OxOgWL1W+kA+DCIPztaQm1g7owJ+EwjJAvFcB5FdyyVaCnepBzqqmc+2xqP9DIbtLGZP1v OZr7p8josTFHvRXUrgChqxGRk1kL9zknGhv8CJA5pvJrD2Z46yLM4C2gQ09S1unozI7GIF MdSpU6kBf/vH0Vor/U+2xRJbXKpHmJR+cK1Eln52fKN6kOfVp41wlIqJtP/xYHLtT+iOaw bHSVu63TGDzUVBqw6p5F6wrL5z5YzRE1ZkNdVOiA/XIr9LpgX8zHmDlGsMc26g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634484127; a=rsa-sha256; cv=none; b=YE0z0QidB9Q6T9ODXp13hX0LtzfFXT5bQsEcamx8m1Xpn/ViDzS3wEyYRgdH7FR7/2TU1K +DQTZerwbltNgLild1hifEaUTXxRuX1jyU11+AA0oE3uRH8vPoFRq6gqpE6MWRmV6lKiOK YjnTInkWYMx0wMbpuCbFEiaj43mYuUn8kUeWCMKOZBe75U+KKeS8GGbBuMNUPtMRUTD2gd 1+y0g/UN+V7QBuIgLAAthI9+GXSmm4Pzn1g4RG7mwsjQvgGXOXqNBxOp6zxD7BgBnYZUtu yTj4FqgOmqpRA0K30BfQFJQ/WZaP3HiuJKDyxEHKOsvJ88S6VGwXcGERunBASA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bvAyNIPI; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bvAyNIPI; 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: BE8592078F X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: l8kXuyggvwh9 close 51167 quit On 17/10/2021 03:02, Andreas Röhler wrote: > On 13.10.21 14:59, Max Nikulin wrote: >> On 13/10/2021 01:35, Kévin Le Gouguec wrote: >>> Andreas Röhler writes: >>> >>>> With following stuff in org-mode buffer: >>>> >>>> * bla >>>> asd >>>> >>>> M-x org-indent-line RET on second line has no effect. >> >> Andreas, do the following settings make behavior consistent with you >> expectations? >> >> (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1))) >> (setq org-adapt-indentation t) > > Thanks. That works for me. So it is not a bug. > Still thinking a command "indent" should indent. Such settings are not the best choice for defaults. They are not friendly to - New users who do not press TAB after each RET, so they later get inconsistent indentation after promoting/demoting/refiling headings. - Users who write long documents where convenience of indented paragraphs is disputed. Likely org-indent is better to get visual indent without adding spaces in front of every line - VCS because of promoting or demoting headings results in overblown patches. I do not think that behavior of TAB in Org is deviates from major modes. (Side note: sometimes I do not mind to have indent accordingly to my taste even if it is not conventional one for particular structure.)