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 iM3OF1pBo18pOQAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 00:03: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 mp2 with LMTPS id oOSjE1pBo1/NPAAAB5/wlQ (envelope-from ) for ; Thu, 05 Nov 2020 00:03: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 C8137940111 for ; Thu, 5 Nov 2020 00:03:37 +0000 (UTC) Received: from localhost ([::1]:51142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaSka-0001li-JM for larch@yhetil.org; Wed, 04 Nov 2020 19:03:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaSjz-0001l5-DW for emacs-orgmode@gnu.org; Wed, 04 Nov 2020 19:02:59 -0500 Received: from mail-vi1eur05on2112.outbound.protection.outlook.com ([40.107.21.112]:63074 helo=EUR05-VI1-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 1kaSjx-0007mB-6Q for emacs-orgmode@gnu.org; Wed, 04 Nov 2020 19:02:59 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WhfGYqncINvSTZmw+QhHI8jNVmFjKC/WcBbk6XjJPkUp2ypc+Da9ZL0EpwXBTnSgjYy3iKjI7hunT69jErUiaKQArPRYm7xTx8Aw/c2B8HXnhRzxqyF1oKIkKnjwLCnIfQVul1y4Og9zP6YmlpyUCd7ExbufiAcDqhiM8lArZ8GMdMbfL9IoviYTtFj1GApwZ2Jf6p/c7q4t5IudEjRSlyZXtYq0Zgv2SN+PhBRFfWjYBayHlqEehByVNLEuQL/qeX9jKNUtPrwQfA9fMGUf0W/P5hmCy2DrRuweJYfJr0h9W2XUd3iT/oCA7/GVfHr0YLu0zc0fMY30ctNZI6z2ig== 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=q+jemgwltFDVMnvd5re+tUj4QuMfaoZ9oBDUjxsWogM=; b=XTNAUgl25uHv/+fu10OQVL+8buFX+LwGlba5fr6UW7Ts9UsMwV3b3BnWfIJBTybd0mEsLljEKDSDQ6OKSJXFCsmTpqDKjRC0fwIK3HKO3kAJdILc0wL8lDkqTlYv6R4comkvnZFcCOydQl4Frm7osBPeBQRhGu8uSJGkPerY7mIpxvhZKTnF0BE7JlRiLSum+4D/Sd23GyT04ovMoH5JgNS6r9vTqXZJjM0irpXIwEDopWhAjVUU7sZ4EXhNerhCM0k8OHIYzmjdjrgUVbOmnBi/nb8+DoGkGVqXGogim5Cvlnj7MUYPgHkMPiL+FtJ8GRVp89SMUw6gFSvlTPazLA== 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=q+jemgwltFDVMnvd5re+tUj4QuMfaoZ9oBDUjxsWogM=; b=UA43p2FMjrJuCzx9OEXU5SQqVIUa4CjCuNMBBPYPWcYNJ6Cp8UuamXlkqZppu7BqNu3C9wYIcEdj25q7JpPhSxyhXv9PKtuP917i4zzdJqVh/mY7TD1LiMWEZ26Gt+6cwOUyf2g/YFzDwGpiReYvs6sNqLYkgSlPqpg6BdClk7Y= Received: from HE1PR0202MB2857.eurprd02.prod.outlook.com (2603:10a6:3:ea::22) by HE1PR0202MB2555.eurprd02.prod.outlook.com (2603:10a6:3:90::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Thu, 5 Nov 2020 00:02:53 +0000 Received: from HE1PR0202MB2857.eurprd02.prod.outlook.com ([fe80::45c5:3654:cf9f:bbc5]) by HE1PR0202MB2857.eurprd02.prod.outlook.com ([fe80::45c5:3654:cf9f:bbc5%4]) with mapi id 15.20.3499.032; Thu, 5 Nov 2020 00:02:53 +0000 From: =?iso-8859-1?Q?Gustav_Wikstr=F6m?= To: "emacs-orgmode@gnu.org" Subject: Miscellaneous fix, make `org-goto-first-child' behave intuitively before first heading Thread-Topic: Miscellaneous fix, make `org-goto-first-child' behave intuitively before first heading Thread-Index: AQHWswYcd/Cspjol2kqAbkkXLcSTZA== Date: Thu, 5 Nov 2020 00:02:53 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [164.10.23.62] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7382e50b-3cf8-4db0-aadf-08d8811e2475 x-ms-traffictypediagnostic: HE1PR0202MB2555: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: M94dxsayQBVbL6Zs1199S6CNQmq/ZTvVreR+jJtGo3rcJ/B26/hlVpY5H6he14Nmxuls/UMz6w0+Mb0/Ev5aG4fAFq8mgmIf1tx18YoWCGBITZXyWuFv4Sv0LypWATFgCE9o9rzvOsUC6tYDrvVxZmqM2idAdq4xXI4DCokQ6GW+X82PP08f6tVuNQsWILPFSyPUGG++vjYyykhez/gXnvfxCscK5KtBBOdscx9WEdhaYy3K9XXXgG4P5C24FwqPM9SHQF9WfxKd8ibdXavscobX5fCIno+Evgirv4f05iaqmC1vzEfCTHOlYwvPJiYZ3Z1oIsoWhSqtlvYW3/Fv8CbDacM9X3kbhQNLk93S4/JQYLNPnqizQr5LiHF5Vyzy 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:(346002)(39830400003)(366004)(396003)(136003)(376002)(4743002)(316002)(52536014)(4744005)(26005)(5660300002)(186003)(76116006)(66946007)(66476007)(66556008)(64756008)(66446008)(9686003)(8936002)(55016002)(86362001)(7696005)(33656002)(8676002)(478600001)(6506007)(71200400001)(2906002)(6916009)(81973001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: ls0kzE1cL8RnJNNQQI8mTroMazwWTDFaSR941ZvZ2SfN6qExU4HVCpenDboqZrRg/YYWkqmOVqyrXTfm04gIIXglM1a09jMePLtxT5S4C2BoHvxUXezmSXbiSQfH5MFDR7jH9IIvPSmnFHo2wHjCGvwbXMNfb690H8O3PBfmH0SSfkQOwlWmWAGtgLLBKLEjxsUw9BB0Ke/nqhDiisZ7bnJAFL0KRb3uz96j9nt/cPR0vhOcDlT6nx5b7bGzNqOUIiNWzX+MgfsAO8eyhgbaO7jAj2Riecu5O/7jKzVHKUdx3sa9vuYDQl8UmiFWHMAyybEZujRSpg/fOUiziPqT7lvWAx1KD3yvWw1ODmtkr8KEKJWv5V8JP28GvChxDvnkblB6Swlsui+3EGw9SQiwiejoD4UjY7f2sTcjkbi4LUl46+czSKvNo27xkGGSdyUJ9bVvwydP+ypbbyYCSVdE2PuuOH3Ie40kcvx+ahnFLtQjJBtH7TwXZZ44yneffDBIL+Q6uAPVUzi04kMfJXVJ79BNX5pvl7vYGPvYrkM0B7ZngCcVE54A5Uj5a/5BGhHMNTJVyx6JUGxo7dG5bdCsMQ4cgWaxCyEkUdBB011igoeBoFCr/XrncM36qb65L0+OVZziARbIUUIkyEB4kssYRg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: 7382e50b-3cf8-4db0-aadf-08d8811e2475 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 00:02:53.2938 (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: CLtGPdMjt+Xx1vq6ZnYG6fTDr+VZyVs+DzXaVGn6TRjjM7xG1Mckx3r3KzfylYFX X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2555 Received-SPF: pass client-ip=40.107.21.112; envelope-from=gustav@whil.se; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 19:02:55 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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=Wikstrom.onmicrosoft.com header.s=selector2-Wikstrom-onmicrosoft-com header.b=UA43p2FM; 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-Spam-Score: -1.71 X-TUID: stU4C0BBNkt+ Hi again,=0A= =0A= While fixing other issues in the code I found thing worth improving. Though= t to just briefly mention it here as well, for full transparency. `org-goto= -first-child' now understand what a child is when before first heading. Thi= s is inline with how other outline functions behave.=0A= =0A= Since this change, and the other changes I've made, are relatively small I = haven't taken them through any review process on the list. To save us all o= f some bureaucracy.=0A= =0A= --- Commit dad436c60=0A= Make `org-goto-first-child' behave intuitively before first heading=0A= =0A= * lisp/org.el (org-goto-first-child): Make it understand outline=0A= level 0 as well. The function now behaves intuitively also before=0A= first heading.=0A= =0A= Regards=0A= Gustav=