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 eLJJGBIq1V98LAAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 20:37:38 +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 4IL3ExIq1V/+cgAAbx9fmQ (envelope-from ) for ; Sat, 12 Dec 2020 20:37:38 +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 3BF179403AA for ; Sat, 12 Dec 2020 20:37:37 +0000 (UTC) Received: from localhost ([::1]:58030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koBe3-0006kb-Jq for larch@yhetil.org; Sat, 12 Dec 2020 15:37:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koA4Y-00022m-KX for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 13:56:50 -0500 Received: from mail-eopbgr70103.outbound.protection.outlook.com ([40.107.7.103]:20546 helo=EUR04-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koA4I-000888-DJ; Sat, 12 Dec 2020 13:56:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vl3cIxNCcWLLpUN5LPLzdu3sup6iffrdc8ARr5ptTEDa9M8gFHELKY4yCmVD0JAxPKbi0V9A7XmdhYJKGPGccdOw2lkdKPt87aMy0jOdMNTjOHc6+n6LukoCUmz9TtMujzeyGPAMkWKNt7W2fNMxv7FcBx4Fldk0/LLgUwJfYsHLFAR8ZckJ3Cgg1AFCx+hZxYtlv9sjvsJ+R2Nqqu/vx5kzjU83xv8e9wPcSl6EDN11qksFXbM92q6fKuHZOxbFYLlrO45c409Dy/Mw9mzW81tTgT+70IWH9Z+h9x63G7U2ujWn5I5E8fNqwZ/+G3t6rDQ2sZQA9AW2NnncfRX0fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ysxYrX/Z1KppP34W/rO+TXruVgiguJdccnmvu3vtYxE=; b=Wlv0hWVGNdO1jHLMpeHtWu6y3Dc0eBHHQmwzmjGsOVqZ7SCPzTPtTiVxBNu5ILTmbaJiHgxn9eTBwoQ2arb6qWF1yVtvB6KGXAKu6gSSYUWG7zcamfT3wKJDNLOdVtzCnG1uzR7x4ecAwEOIPJEgP2cDuIPmKFN3RGto2JNAfKlXSJqGTKubOn5SgX93okhL+H7ZkplCbNFgC9aiCWE78SC1SmFxHOZDalmyf9vJER4SlQ9zvnQeKvpkFyLfVswVlorrzf1l+9sC0hVik1oVROYRikoyJ4LdRBH3JSPE6iz8qvclUezRa3nO+ohEnUyUeIBQjsLSFPso4a5DITVctQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=whil.se; dmarc=pass action=none header.from=whil.se; dkim=pass header.d=whil.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Wikstrom.onmicrosoft.com; s=selector2-Wikstrom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ysxYrX/Z1KppP34W/rO+TXruVgiguJdccnmvu3vtYxE=; b=P2nm8Ohgyz8DcVIltFSBsGH9ozURqQhVnJIPVZ1oOoNxnHcOOuN2mUDfRqfkmhsWcAatXoaGxZ4lLyt85pg9+52KEhu6jZiqFCS0CJjQrpcYfnjfO/tGE2ZrnN0ulatgCftTh1vrC9P5Ovlssp5pWqp/cXXdxO8wvS6rMQd6oY8= Received: from HE1PR0202MB2857.eurprd02.prod.outlook.com (2603:10a6:3:ea::22) by HE1PR0201MB2187.eurprd02.prod.outlook.com (2603:10a6:3:2a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Sat, 12 Dec 2020 18:56:28 +0000 Received: from HE1PR0202MB2857.eurprd02.prod.outlook.com ([fe80::b4c9:6508:5b0a:9f64]) by HE1PR0202MB2857.eurprd02.prod.outlook.com ([fe80::b4c9:6508:5b0a:9f64%3]) with mapi id 15.20.3654.019; Sat, 12 Dec 2020 18:56:28 +0000 From: =?iso-8859-1?Q?Gustav_Wikstr=F6m?= To: Bastien Subject: Re: New startup options, showlevels Thread-Topic: New startup options, showlevels Thread-Index: AQHWzth3s8kUfUjK9U+KsZJ1h81p0KnzzKnRgAACQjE= Date: Sat, 12 Dec 2020 18:56:27 +0000 Message-ID: References: , <87y2i2ap0y.fsf@gnu.org> In-Reply-To: <87y2i2ap0y.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [158.174.57.165] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91d43222-d6c6-4fc1-6167-08d89ecfa1b0 x-ms-traffictypediagnostic: HE1PR0201MB2187: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xCvMcHK+ycj7JD5LR4+dDoGkxuqaJWFVNaAR4Zc9qAo7I7TrQQ5xjy5kjOu1Kg4fjYwV4FTuS1awMeE9VONnRGygpxaH5PFuov2BcutxtFO+coyFufkG9O12peonIhiYk38nOaDIxh+0ezBAkYBiY7+LskxyzXXgvvnxy/jtqaJhG+tp51xwjt9a/N3tq4P+qtHjkWVk7fPlfS5c7D6GgYA4Nk5weQnRYqdxqLtHE3jsVThZLmIbR5ATG5j4uUqvEzgF8x5m8ZXpE+CmQm8wKn+Y0JtDVvqUD7rQIRSy+z+ZDLrX8BYDiNiRn8SL317lBifW9UGX7nQYaiYX/WPmHrFuoXDLEvOjzmf5tT4ifE+JodFyMNMA7ZGKllYIXxS1cYydGMSViR5yPSuHDvQbIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0202MB2857.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(136003)(346002)(39830400003)(366004)(396003)(6916009)(7696005)(9686003)(71200400001)(83380400001)(316002)(86362001)(55016002)(66574015)(53546011)(66476007)(66556008)(66446008)(66946007)(8676002)(478600001)(966005)(64756008)(186003)(5660300002)(6506007)(2906002)(4326008)(166002)(450100002)(33656002)(8936002)(52536014)(76116006)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?FK15y5BT2xOCfaNHze9gxInvykCdDWhDw8lsmV6+1KZPrgpP5TJuGoSwGb?= =?iso-8859-1?Q?S96lDhAeyg4P1dVOTi7eW9CCU4V/fB6ToLYa/oCpfTrEl9J4oQcy1xmPFL?= =?iso-8859-1?Q?KDQhetUCc6SF3pSYoBiCz1XVRHO58FXv8gk69SOe64YhHYFnbDFEvcLS6o?= =?iso-8859-1?Q?W9Y7bDyKjsZAaQNhfEroja+2FvrykLCuj5WqEN1+Akj2/B2PQDWEmYzqsE?= =?iso-8859-1?Q?dkvaks0XTekTcNDfiKsDcha4jQDA3fFIrbHQbnGDoPKd1qoNfyBHzHP9tl?= =?iso-8859-1?Q?MtTz5pD54OVrY5aPf1ijeeV33egzlFyRCn2ALIP4BmzXLH7Cwwq+OYhrdy?= =?iso-8859-1?Q?g9tT1jNx/OA1OPx+1JLv4WRMhTD3985EoQ0cCVfCHOqxIeBFybIrjKm8gU?= =?iso-8859-1?Q?Xx3EcdmvF3M/pxv/vk7ekokDR4zQ4c3lhRlI70t1MUtlCPQY90Lc6UkLkC?= =?iso-8859-1?Q?OeYfqHg4U3pOUGB1MJzSFteBmff9s1TxGRqHt8OudEEjoj43M6S+AeWBks?= =?iso-8859-1?Q?GVCROE5bWgNU38VKAh3uKdBmReX8ozwejeKyHQS9uLKmUt4JgLzNaBwawA?= =?iso-8859-1?Q?ScMUEln/L4beIBWAwKXXsM4piI47e1U8v+8tm22I/H9N5LaigyEvlsbSx7?= =?iso-8859-1?Q?/fYdug1eUCdPxHT4q9w6v4Cv7/3fmqJDXA/iyepd+tV/5IZZf/vIj1t4Zt?= =?iso-8859-1?Q?IMpGqAmWMyEgO5PX+S7kfDsIuK9l+rCZsj+vgly6JIKYfOSpzcHxWSaTaD?= =?iso-8859-1?Q?uMpntbnmuyCZSIGDZIPOQvk8yHTclORog06je1g4P7B84CLJ6TEbwR6BTx?= =?iso-8859-1?Q?ZozxfhlRppzVncLdPZEtK2+MTxSRRzg6jVg4uAGaYhUV3bZWOjbqyNLcQo?= =?iso-8859-1?Q?pZy/KJfN9vBF8YL4fYugw+SqNE4RrH6yH2PBvrT/px7qIYGvRH7+DHG2mL?= =?iso-8859-1?Q?Y9yKD9i0ni/q9wThZ43cOlaMlf2ybPWZGVKw70ZAbdmWrvO8XPx2a3jzDa?= =?iso-8859-1?Q?2UnsY+BtQWFFFZ/77fBcMVkJgr0vSylMEPBN9n?= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_HE1PR0202MB2857FAF4C0FD37346E7637B7DAC90HE1PR0202MB2857_" MIME-Version: 1.0 X-OriginatorOrg: whil.se X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HE1PR0202MB2857.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91d43222-d6c6-4fc1-6167-08d89ecfa1b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2020 18:56:27.8746 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f6cdb11-323f-43c4-adf3-a2c5097674cd X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dtbiAAnAnTLVJgf0tkprtqchNE+FpCCoTmDi5AOHEm72opz1lekJdoG/0bJ0MEBM X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0201MB2187 Received-SPF: pass client-ip=40.107.7.103; envelope-from=gustav@whil.se; helo=EUR04-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=Wikstrom.onmicrosoft.com header.s=selector2-Wikstrom-onmicrosoft-com header.b=P2nm8Ohg; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=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: 3BF179403AA X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: kFZDb+/iZPBM --_000_HE1PR0202MB2857FAF4C0FD37346E7637B7DAC90HE1PR0202MB2857_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Bastien, Thanks for the feedback. Regarding naming, there may ofc be other possibilities. I considered spelli= ng the level out but discarded that option due to its verbosity. I find thi= s quite elegant actually. One might argue that it's not general enough, wit= h 2 to 5 hard-coded. But thinking of the use-case a bit more, I struggled t= o find a reason for more dynamics. I don't object to the mailing list RFC method of doing things, but in this = case it felt like a too small contribution for that trouble. Had there been= a more streamlined pull-request workflow than the list I'm sure I'd have t= aken another decision. In this case the option was to just not do it due to= time and energy constraints. Nitpick noted, I'll try to care better with ending sentences moving forward= ! Best Gustav ________________________________ From: Bastien Sent: Saturday, December 12, 2020 6:54:21 PM To: Gustav Wikstr=F6m Cc: emacs-orgmode@gnu.org Subject: Re: New startup options, showlevels Hi Gustav, Gustav Wikstr=F6m writes: > Prompted by a question on StackOverflow, > https://stackoverflow.com/questions/56536184/set-initial-visiblity-to-a-c= ertain-level-in-org-mode, > a few new options are added to the startup setting. thanks -- in the future, I suggest discussing such additions on this list before committing them. 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. > Patch is applied to master as this is non-critical and it is > communicated here and now for full transparency. See commit hash > a71ac14e4, > https://code.orgmode.org/bzg/org-mode/commit/a71ac14e46bb820abdbd2e6651c5= 8179c50eb2fa Mandatory nitpick: the log should contain proper sentences, ending with a dot. I'm mentioning this because your other commit has the same small error. > Hope these new options will be usable for some of you! It sure is, thanks for taking care of this, -- Bastien --_000_HE1PR0202MB2857FAF4C0FD37346E7637B7DAC90HE1PR0202MB2857_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Bastien,

Thanks for the feedback.

Regarding naming, there may ofc be other possibilities. I considered spelli= ng the level out but discarded that option due to its verbosity. I find thi= s quite elegant actually. One might argue that it's not general enough, wit= h 2 to 5 hard-coded. But thinking of the use-case a bit more, I struggled to find a reason for more dynamics= .

I don't object to the mailing list RFC method of doing things, but in this = case it felt like a too small contribution for that trouble. Had there been= a more streamlined pull-request workflow than the list I'm sure I'd have t= aken another decision. In this case the option was to just not do it due to time and energy constraints.

Nitpick noted, I'll try to care better with ending sentences moving forward= !

Best
Gustav

From: Bastien <bzg@gnu.o= rg>
Sent: Saturday, December 12, 2020 6:54:21 PM
To: Gustav Wikstr=F6m <gustav@whil.se>
Cc: emacs-orgmode@gnu.org <emacs-orgmode@gnu.org>
Subject: Re: New startup options, show<n>levels
 
Hi Gustav,

Gustav Wikstr=F6m <gustav@whil.se> writes:

> Prompted by a question on StackOverflow,
> https://stackoverflow.com/questions/56536184/set-initial-visiblity-to-a-cer= tain-level-in-org-mode,
> a few new options are added to the startup setting.

thanks -- in the future, I suggest discussing such additions on this
list before committing them.  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.

> Patch is applied to master as this is non-critical and it is
> communicated here and now for full transparency. See commit hash
> a71ac14e4,
> https://code.orgmode.org/bzg/org-mode/commit/a71ac14e46bb820abdbd2e6651c581= 79c50eb2fa

Mandatory nitpick: the log should contain proper sentences, ending
with a dot.  I'm mentioning this because your other commit has the
same small error.

> Hope these new options will be usable for some of you!

It sure is, thanks for taking care of this,

--
 Bastien
--_000_HE1PR0202MB2857FAF4C0FD37346E7637B7DAC90HE1PR0202MB2857_--