From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QPL8INmiTmRvcQAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 19:18:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKUOIdmiTmQCywAAauVa8A (envelope-from ) for ; Sun, 30 Apr 2023 19:18:17 +0200 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 3118B2FF92 for ; Sun, 30 Apr 2023 19:18:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptAfh-0006d2-4j; Sun, 30 Apr 2023 13:17:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptAff-0006cp-OC for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 13:17:11 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptAfe-0006Xt-4a for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 13:17:11 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-50bc4ba28cbso612748a12.0 for ; Sun, 30 Apr 2023 10:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682875027; x=1685467027; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fpb12K/AAH1Equ+yOrmmQ+kD1K00zhpgZsMVJFVVrUg=; b=D8JdKuCvXMHO8rkEU24b6RknnujizH6Fi2YvoEjItIDqc/7aS3iDO0exedTS5nC8t3 8GqF/j2e2Pgw6mYtndfqZeSI+7MoK/4UNDdq7FK5rWpQts9Bks5sZEpQYW1XklLTzKA/ GwJ4fJAesgCENIZw4113J8uqrhdPruusTec5gYlpk6j+YBISJu372yDaJqtvfMrJlOtW 2qe+Y1+SHm6dplReXnJGshTkV+HXWju0lN6YQHHHiB7ubzxZIAw+Kk1qBfU2qlyx/yAW zZEzm8WfVccuMJiwPFamwhc1SjT6bxkQCKzB5Xi6gDwORDogV3ef1Q3ti3mDRcaYOTkR fVnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682875027; x=1685467027; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fpb12K/AAH1Equ+yOrmmQ+kD1K00zhpgZsMVJFVVrUg=; b=KozHpQeIs7KUiymyXpymhGh7o1Po20PUaqC2NTK7ylptscVTZY7e3Gl+WiTxkE9wc0 11IugbfwRFOeBzLDOzgzeeD/POKfYpQnyFXp83/5Zecr6W95USiewt4/0ZEB2VD8cBqI f0PfnuJtOW86QtqVSa4tia9QpIVP6RaemVahEakhSJV6wXVV5O42v1IflquZ18gKiMHQ 1XpZxJzjqSxaHj0E8da0duhzJXge66X+ayTrS8gq1UiRjOOfF2deQ0ozn17Nz+ZV83jG ijl1yKhZov4yu9kDhJmCc3YzNJ2OwKxX6sHcyYN1a3dJiNn/8nryjUffEpnEpCp42ci2 ye6Q== X-Gm-Message-State: AC+VfDxVQ2uXTyH5r2BtYZBc5VOofdssFkMZkwXxd5AO6mXQyQIdxHj7 gvxbQsmbuemc/rbXUBxadXw= X-Google-Smtp-Source: ACHHUZ4OEcTRNnRnYg7Y+1x0V/FkthmfUViDPkGfac/yN/vsc3BX1pX3TJLc14izkkAGyyo5/UR3+w== X-Received: by 2002:a17:907:7f27:b0:94f:31da:8c38 with SMTP id qf39-20020a1709077f2700b0094f31da8c38mr12512526ejc.24.1682875027428; Sun, 30 Apr 2023 10:17:07 -0700 (PDT) Received: from [192.168.178.58] ([195.52.134.184]) by smtp.gmail.com with ESMTPSA id g12-20020a056402114c00b004c4eed3fe20sm11355061edw.5.2023.04.30.10.17.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Apr 2023 10:17:06 -0700 (PDT) Message-ID: <0fb09da6-e3e4-9fb6-d71d-caea7ebbc65d@gmail.com> Date: Sun, 30 Apr 2023 19:17:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Suggestion to increase usefulness of TAB key / 'org-cycle' function Content-Language: de-DE To: "Dr. Arne Babenhauserheide" Cc: emacs-orgmode@gnu.org References: <87cz3o2vdb.fsf@ucl.ac.uk> <87ttwzu339.fsf@web.de> From: Philipp Kiefer In-Reply-To: <87ttwzu339.fsf@web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=phil.kiefer@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 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, NICE_REPLY_A=-1.422, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682875097; a=rsa-sha256; cv=none; b=pA3/P1M4HEBHR+eRw/cQcx5BKnbEflHJ8Ab2HS5GPT3lSmVIgiApBFfjlAJAEe4Rewgqsc lZ8baOnFnQlp916aaVXXUDdwsdUxSKV4hoYDc4+hpSl5vxUvlFEo0okVtVQeaFppsk4paz 8vBREpH8kzgXOGb8cs3qzDSA+74E2pY/DChaQZwtaZEYR4xpNGjvA2uJFh4QBZuSRj4qcI RdpuIyTg4uH5kDQlkSbj7fEpiimnTMCFbhQN2+fgI8MIwDNc7D5j6odWqFkvD78PZZr4Wi UsGXKjvFLXGf2RMjdUqnLXM8iDnTJWprAXzALllUPntoI5wHcVOvfrT/1wpPpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=D8JdKuCv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682875097; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fpb12K/AAH1Equ+yOrmmQ+kD1K00zhpgZsMVJFVVrUg=; b=Z/STm9j5oYSy4DrQj1Poa8GPOtxmom+plynunVQfVegjbNPRvIgyMdQlDsRaaGJlOPTISp db3JU+ehVIy4SCUT6y1DCpoOWMy9ArDVus2CnuB5D8lNd+JT6wEbaijXQjQ7ZnkL6TBAvN A1/G9p9TUss0A+vmD5mmJa2q8TiFGUo1DiE7Nw+I20eT7HmJOwrplmc8BUtIFlw6ppjyiw OaZQy1vTQJoteXHZkXCERcIhJX97jkeKxyeb9X+y4GAkpaYhN9o8bRatlNbUtihxOf+LAl k514kEH0bd+1Oqso/6JtcU/kJMSKFO8cljpt6np0fUp94FlaIEbZCU/XiuYLPw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=D8JdKuCv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.91 X-Spam-Score: -4.91 X-Migadu-Queue-Id: 3118B2FF92 X-TUID: UR2T5sombyOT On 28.04.2023 19:41, Dr. Arne Babenhauserheide wrote: > Philipp Kiefer writes: >> My suggestion was aimed at improving the out-of-the-box experience of (new) Org users by extending the usefulness of 'org-cycle' by >> folding the subtree at point from anywhere inside it that is not itself a parent item rather than doing nothing at all in those positions. >> I've used two flavours of dedicated outlining software for many years and both have easy shortcuts to fold the current subtree from >> any position - it is a frequently used action. > Do I understand you correctly that you mean tab should cycle visibility > in this case? > > * headline > some text > CURSOR IS HERE > - a list Yes, I suggested that in those cases, org-cycle should fold the subtree point is in, i. e. fold up to the next parent heading above. > For me tab is useful as it is, because it indents whatever I am writing > right now. > > That could be a list-item or a source-block or a verse. > > Org is not just for outlining but also for full-blown writing, and that > would be disrupted if tab were to fold the entry away that I’m currently > writing in. Hm, for me, TAB does not currently seem to do any indenting anywhere in an Org file. Have you changed anything from the default configuration? Or maybe I did and forgot about it... But I can find any reference to / binding for unmodified tab in my init.el. If so, is this indenting handled by 'org-cycle' or is the binding of Tab to 'org-cycle' somehow selective based on where in an Org file point is positioned? If people use tab for indentation in Org out of the box when not on headings (which it has never done for me, I think), my suggestion would indeed be moot. > That said: C-c C-t or M-x outline-hide-body I tried out this command, but it does not do what I have in mind (folding subtrees from a non-parent position, not hiding non-heading text). If tab really does indent in Org files in the default configuration when not on a heading, I'd limit my suggestion to the following: Make 'org-fold-hide-subtree' and / or 'outline-hide-subtree' work from anywhere inside a subtree that is not itself a parent heading - not just when positioned on the parent heading of the subtree point is in. Best, Philipp