From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eOOGCUI31l+uLAAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 15:46:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SClrBUI31l/9cAAAB5/wlQ (envelope-from ) for ; Sun, 13 Dec 2020 15:46:10 +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 6F9D094042C for ; Sun, 13 Dec 2020 15:46:09 +0000 (UTC) Received: from localhost ([::1]:45810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koTZY-0000K9-EV for larch@yhetil.org; Sun, 13 Dec 2020 10:46:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koTYj-0000Jq-Bd for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 10:45:17 -0500 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:55170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koTYd-0001Zb-A4; Sun, 13 Dec 2020 10:45:17 -0500 Received: by mail-pj1-x1029.google.com with SMTP id f14so4866750pju.4; Sun, 13 Dec 2020 07:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=j2Jo8KMnumWRSGvSY1Epcr89MDMaxoqQ3zeuNTLYIQI=; b=F1A0Ax+vQ6mgiMqNKXwMyUN1MTWHnvNsM9uHQ4oPoiWHr7oo3QyAdn0G+Rzysa4jS4 3O2QgyRCKBBSbwrFBUTu5GCtZ5dq5N3OEx+T/HywLtrwO8PYsR+41pOD9s7KdoRegTX/ FRLLiAySku+PLtwbe20X8SH111Og8c/3CGsPQt47zJMn6QdMxJiTR5kfCG2Tgs5LUWqg /8qSNp5ThTYF7LSc+3Di7TwbmMrdb/w05z5G4fh7lN2uX3/c6ZY7HHxolpOBLAShMDNa tr3dFPRh44riOnThA3bKkiqnjlg+UZWkav1CViBBF8gBUC6aPDR3SPgOfK0Rxr+4SpJr WxLw== 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:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=j2Jo8KMnumWRSGvSY1Epcr89MDMaxoqQ3zeuNTLYIQI=; b=idNKemqgO/yA1PWiRe9k7EhM3ucHI0eL3jiL8y48xFsrd8WMa7lMqZwGu4qX0HWnJ2 of9sQK5wqqtAIwm40kPPTTSdA8SkhdJ2RjkUR3/9d9tdD5L5JPh0GqhWFeF+s8xeeS+e 0hj0SRUO5C5aQafnG/jGAtn6WOVpO0IndTZivJCs9C1GYI1WZTRnIKEiFSIo0Vrp7GbB IArNgcmJ3DWLR34/fRUnBdMLOWPjdY7j0juJQXcTDdZn2vecmMEjzps3gnVrHttZFYTf T4EpfWSPbGC9GmzHxALMU7KJwsL4eWaAKQcBixWP+maNQYFc7aA7PnJ4Pzd/tqIkQa1Z P6jA== X-Gm-Message-State: AOAM532ISvrsDM2W44WAB6PG0O0ujyFbGhScRuqHmNavg1SrciVPxFsB oXVE1vHXtTNH4bUcBZHdsqw= X-Google-Smtp-Source: ABdhPJznnrgBK0QL52YaGeWjRptrK3uhOvf0mdECegV2xMThtjwn49/TP9oi1WCijrLPfazFNsT0pw== X-Received: by 2002:a17:902:ff06:b029:db:d4f7:9c7d with SMTP id f6-20020a170902ff06b02900dbd4f79c7dmr11544405plj.60.1607874309165; Sun, 13 Dec 2020 07:45:09 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id c13sm17201033pfp.147.2020.12.13.07.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 07:45:08 -0800 (PST) References: <87y2i2ap0y.fsf@gnu.org> <878sa2xci7.fsf@ucl.ac.uk> User-agent: mu4e 1.4.13; emacs 27.1 From: TEC To: Gustav =?utf-8?Q?Wikstr=C3=B6m?= Subject: Re: Sv: New startup options, showlevels Date: Sun, 13 Dec 2020 23:42:05 +0800 In-reply-to: Message-ID: <87ft49emm6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1029.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_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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: Bastien , "emacs-orgmode@gnu.org" , Eric S Fraga Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=F1A0Ax+v; 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: 6F9D094042C X-Spam-Score: -1.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: nInBSa3frY5t Just a quick note on the values proposed. All of the Alt Ns have overview + N-in-the-name options for N >=3D 2. e.g. show2levels, show3levels... For the sake of completeness/consistency I would suggest having a N=3D1 variant with that format too. This would duplicate the behaviour of "overview", but if say I currently have "levels:2" and I want to bump it down to 1, then I'd naturally go to "levels:1" and expect it to work. -- Timothy. Gustav Wikstr=C3=B6m writes: > Already in master (Alt 0):=20 > `overview' Top-level headlines only.=20=20 > `content' All headlines.=20=20=20=20=20=20=20=20=20=20=20=20=20 > `show2levels' Headline levels 1-2.=20=20=20=20=20=20=20 > `show3levels' Headline levels 1-3.=20=20=20=20=20=20=20 > `show4levels' Headline levels 1-4.=20=20=20=20=20=20=20 > `show5levels' Headline levels 1-5.=20=20=20=20=20=20=20 > `showall' No folding on any entry.=20=20=20 > `showeverything' Show even drawer contents.=20 > > Alt 1: > `overview' Top-level headlines only.=20=20 > `content' All headlines.=20=20=20=20=20=20=20=20=20=20=20=20=20 > `show:2' Headline levels 1-2.=20=20=20=20=20=20=20 > `show:3' Headline levels 1-3.=20=20=20=20=20=20=20 > `show:4' Headline levels 1-4.=20=20=20=20=20=20=20 > `show:5' Headline levels 1-5.=20=20=20=20=20=20=20 > `showall' No folding on any entry.=20=20=20 > `showeverything' Show even drawer contents.=20 > > Alt 2: > `overview' Top-level headlines only.=20=20 > `content' All headlines.=20=20=20=20=20=20=20=20=20=20=20=20=20 > `levels:2' Headline levels 1-2.=20=20=20=20=20=20=20 > `levels:3' Headline levels 1-3.=20=20=20=20=20=20=20 > `levels:4' Headline levels 1-4.=20=20=20=20=20=20=20 > `levels:5' Headline levels 1-5.=20=20=20=20=20=20=20 > `showall' No folding on any entry.=20=20=20 > `showeverything' Show even drawer contents.=20 > > Alt 3: > `overview' Top-level headlines only.=20=20 > `content' All headlines.=20=20=20=20=20=20=20=20=20=20=20=20=20 > `content:2' Headline levels 1-2.=20=20=20=20=20=20=20 > `content:3' Headline levels 1-3.=20=20=20=20=20=20=20 > `content:4' Headline levels 1-4.=20=20=20=20=20=20=20 > `content:5' Headline levels 1-5.=20=20=20=20=20=20=20 > `showall' No folding on any entry.=20=20=20 > `showeverything' Show even drawer contents. > > To me no option is perfect. There are incongruencies for all. Maybe a fou= rth option? > > Alt 4: > `overview' Top-level headlines only.=20=20 > `content' All headlines.=20=20=20=20=20=20=20=20=20=20=20=20=20 > `2levels' Headline levels 1-2.=20=20=20=20=20=20=20 > `3levels' Headline levels 1-3.=20=20=20=20=20=20=20 > `4levels' Headline levels 1-4.=20=20=20=20=20=20=20 > `5levels' Headline levels 1-5.=20=20=20=20=20=20=20 > `showall' No folding on any entry.=20=20=20 > `showeverything' Show even drawer contents. > > Since show in showall and showeverything seems to symbolize the unfolding= of things. > > That would be an improvement based on all three principles above, in that= it removes the ambiguity of "show" (and how it relates to unfolding), make= s the names shorter, and stays in line with the naming convention (i.e. no = ':'). Not sure what the syntax says about names starting with numerals thou= gh. > > Your call. Personally I'd prefer Alt 4 or the existing one. > > /Gustav > >> -----Ursprungligt meddelande----- >> Fr=C3=A5n: Eric S Fraga >> Skickat: den 13 december 2020 10:49 >> Till: Bastien >> Kopia: Gustav Wikstr=C3=B6m ; emacs-orgmode@gnu.org >> =C3=84mne: Re: New startup options, showlevels >>=20 >> On Saturday, 12 Dec 2020 at 18:54, Bastien wrote: >> > In this case, I think we could come up with better option names than >> > "show2levels", even if I don't have a better suggestion right now. >>=20 >> I agree. I had started responding to Gustav when the original post >> appeared but then aborted my response. I wonder whether something like >> levels:N or show:N or content:N is possible in a startup setting, akin >> to H:N in options? >>=20 >> I do have (org-content N) often in my file local variables in any case. >> -- >> : Eric S Fraga via Emacs 28.0.50, Org release_9.4-160-g7c8dce