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 AL4rOaEmsl8WWwAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 07:13:37 +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 wBPyNKEmsl8nWwAAbx9fmQ (envelope-from ) for ; Mon, 16 Nov 2020 07:13:37 +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 5A6879403AD for ; Mon, 16 Nov 2020 07:13:37 +0000 (UTC) Received: from localhost ([::1]:57006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keYhj-0005gm-3L for larch@yhetil.org; Mon, 16 Nov 2020 02:13:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keYgt-0005f6-MN for emacs-orgmode@gnu.org; Mon, 16 Nov 2020 02:12:43 -0500 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:35425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keYgr-0008Iz-T6 for emacs-orgmode@gnu.org; Mon, 16 Nov 2020 02:12:43 -0500 Received: by mail-pg1-x530.google.com with SMTP id f38so12432200pgm.2 for ; Sun, 15 Nov 2020 23:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=RcNqvrfCTzSrllABSZXw+oObyIAegLxZS9jy35BTaKA=; b=ZuaXu7YAkD+3SBV/3sOl+khtsx8a6AnMwlPE/Lw67gzJFIuSYr4h3ecr4uCEOiwsyG h0TxAGvSDn9AeM6gJS7MJ1DvkgN2JbgbvAP6TFmg6Jwp3C8eiWuHAu+uJ0OUsN1QVz8R Jws91W4Bb8K/gJHAFpS+FhGk2SDlUpC814NOOrt505vMGP87nesS84KGu988TGSgKkre aIAk56aJF7fZ9ceqGIOol+4LdQoFjHKg2K6ISF7cucbDJKAZXzfM1nyC3/FboduLcH3p XJlu6o7omKHa3sBYEwyV0axWOnrmyvgPYVZDwZZ8sXHUaL3moypfiB2dA4on8TSa68Ft l7MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=RcNqvrfCTzSrllABSZXw+oObyIAegLxZS9jy35BTaKA=; b=Ys6/kSldSXMM7lPFmJ9FbwzUI9I5jHtmiV89XBD2vWiugvyokMx3tSpkIANp1D3PjX Z670ll4DAXbJgJL6mjm38n2inWu92bdkr+oEhuLQXg95tCIEu/EUpSr7K8ni1g6eiMz6 szK07VpzarLi9atymPDHE2EKO/krmCJ/imfvLwy3EVW2BarlGa0aSDHE/4d7nXXi5P9E zpYsbXraiv3k8ZkZOtLK7OQjP0nB0Mxuv2kt2TLzsuTNlwjULiJH/n11VwtKz5st2fnK kTagZqK0/9iEPYhnc3Yrs/sEd6yYu5ZRZ3iJP73fohG75HhR7HVrIF5t8X4GqqgBPWyp wqeQ== X-Gm-Message-State: AOAM531m3ZPBMq4eIKL7HOOR+W8WrZNo0zfspfkmsDv6SWsfZqwJrdXn oq+V6L986jYlz5hjjMxydP/9ZKh0dIMxcA== X-Google-Smtp-Source: ABdhPJxoUwSwsGkrXs6zlvNOyjIfHYOdqeutCU85p/bzO3aD1p9yuE9VIyiTmkTAVFJr8sJkGY+hmA== X-Received: by 2002:a63:211:: with SMTP id 17mr1555669pgc.56.1605510759349; Sun, 15 Nov 2020 23:12:39 -0800 (PST) Received: from tim-desktop (220-235-14-97.dyn.iinet.net.au. [220.235.14.97]) by smtp.gmail.com with ESMTPSA id z8sm16595791pfn.181.2020.11.15.23.12.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 23:12:38 -0800 (PST) References: <87tutpvppm.fsf@kyleam.com> <737364.1605509661@apollo2.minshall.org> User-agent: mu4e 1.5.7; emacs 27.1.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Changed list indentation behavior: how to revert? In-reply-to: <737364.1605509661@apollo2.minshall.org> Message-ID: <874klpbwrg.fsf@gmail.com> Date: Mon, 16 Nov 2020 18:12:35 +1100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x530.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZuaXu7YA; 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-Spam-Score: -0.71 X-TUID: MMp54biuJVgb Greg Minshall writes: > i wonder if a grid might help? i.e., contexts in which we are all > happy, others where we might disagree? below, i try; i'm sure i've > missed cases. > > question: what does do/would we like it to do when we are in? > > ========================================= > tables: next row, current column > > Org Src buffers: electric-indent per declared language major > mode rules. > > src blocks: same as in Org Src buffers (i think there have been some > very nice "recent" improvements here, which are great, and for which, > belated thanks!) > > ^^ i think we are all happy with those > ========================================= > ========================================= > vv here, i think, well, "Houston, ..." :) > > after n* heading: > column 1 > vs > column n+2 > > list entry (end of line): > column where previous "-" was (to start a new list item) > vs > two columns *after* where previous "-" was (to continue with the > current list item) > > immediately after (non-blank, non-list, non-heading) with text starting > in column n: > column 1 > vs > column n > > immediately after a blank line: > column 1 > vs > column of first non-blank character of most recent non-blank line? > ========================================= > > surveymonkey, anyone? :) not to vote, but i'm curious to what extent > we divide cleanly into two groups (in which case, maybe an option for > which "major mode indentation" style one prefers for org-mode makes > sense), or if we are uniformly distributed across the power set. :) > > btw, it seems to me that M-q (fill-paragraph) also has *something* to > say here. i.e., though *i* want from a list entry to line me up > at the previous "-", i want M-q within a list entry to add new lines > starting two columns past that point. i guess i see it as orthogonal > (and, so far, non-controversial) to the current discussion, and hope it > so stays! > > cheers, Greg Hi Greg, I think there are more than two groups. I would start by considering it as two top level groups 1. Indentation behaviour with electric-indent enabled and org-adapt-indent set to t (the current defaults) 2. Indentation behaviour with electric-indent disabled as suggested in the org NEWS file. 3. Indentation behaviour with different values for org-adaptive-indentation. Then we have the different values which org-adapt-indentation can be set to that will 'tweak' the way adaptive indentation works in different contexts. It is my guess that the majority of people can in fact have the behaviour they want either by turning of electric indent mode or by setting org-adaptive-indentation to one of the supported values. I would encourage anyone who is not happy with the default to look at the different supported values for org-adaptive-indentation to see if the tweaking it provides might make org indentation work closer to what they like (as opposed to turning all automatic indentation off). There are probably a few edge cases, but to identify those, we need to first eliminate all the cases which can be 'resolved' with existing configuration options. Tim -- Tim Cross