From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qN9PGe+04mGWMgAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 12:50:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yHVWFu+04mHiwwAAauVa8A (envelope-from ) for ; Sat, 15 Jan 2022 12:50:07 +0100 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 1BBBF17BF7 for ; Sat, 15 Jan 2022 12:50:07 +0100 (CET) Received: from localhost ([::1]:39682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8hZO-0000QG-8a for larch@yhetil.org; Sat, 15 Jan 2022 06:50:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8hXv-00006Y-Uo for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 06:48:39 -0500 Received: from [2a00:1450:4864:20::129] (port=36357 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8hXs-0005Uw-2t for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 06:48:34 -0500 Received: by mail-lf1-x129.google.com with SMTP id b14so20666234lff.3 for ; Sat, 15 Jan 2022 03:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=zOHMcljp14axo7F1n23b9BkMnL7L1u6i4vdiYhxvxtc=; b=I2Z64W8KjXajipeDbgGWw0Ko2eqv2hxIPEQzhQecljjH+SXjCKtIQcEDJr+EH9vy8R 8va21yFL8wxKJirW0apbPG01uhpvOnvmccxCPuEysiMpHb+9HcLR48WIliHXWDcAH2vk 8gyItvwHHg12Kc+MSAlRi6XPhKyAZgVaeKz0N8SYykDEvpikW7TJMREWjkvGTiuwW3CU ypY9Mx8HNzVYLrdw0sXcurK8Lj95KT8QRbp+yG78hLa+tNFrhQlul44A/9SFiYbjHOhH yN2gcTCXKVQILFUm2WYJibLcxuCVIH2j4aujH+rCZz4i926il8aPWbmYEpmYXo2Mw38I ndNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=zOHMcljp14axo7F1n23b9BkMnL7L1u6i4vdiYhxvxtc=; b=R3Jeh+qTNZsZQ5Egg83tEMP+U5Ic5xDeVWGd+nazxrzzfK1Aqhq7UL3X2BswpJypKG m5QYu39Z6EkLbcpQ6btot9I5Gxiwuwd+/hMGkB3oJRDvlA0RK52Y/9eEsfbQYi13+DQV VbSMf7GYobCUwEupwQLPQM3jnwVWDL5pmAu7J45yowmuVFogJDxk8mpKwkBHcIstByOG SX7spsssJMfOSFZqBMa/aOQBJ63q5TLJ2n4pe0FJNVNrKeLioWoLDhRol/IPFoqymP7U rkowFaqE70z603J2oA8j365cjVKH5hjDYRh4sjsCByYfnMIW54mJ9T4Tnp6gnDJSnzit C6Xg== X-Gm-Message-State: AOAM533f9fDR40ndBYIicr4d/hKuOQyq9SzWILfkXn0TSJ9wJ5n2mazV 0wQtbnRR9ruC1o88jmBZDPo= X-Google-Smtp-Source: ABdhPJwA+hLYNtrhHGfprule+Xfxgeh1wZiR3Ogr9kh4LX+hKHM/dYWAk8qu9lqkCtYTtDzmHBYRHw== X-Received: by 2002:a05:651c:1606:: with SMTP id f6mr3062226ljq.352.1642247308461; Sat, 15 Jan 2022 03:48:28 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id p23sm849122lfa.203.2022.01.15.03.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jan 2022 03:48:27 -0800 (PST) From: Ihor Radchenko To: Johan =?utf-8?Q?Tol=C3=B6?= Subject: Re: [PATCH] org-attach-use-inheritance inherits from sibling In-Reply-To: <87o886cgst.fsf@localhost> References: <87y28avyjf.fsf@toloe.se> <87v92gde01.fsf@localhost> <87zgrqqlcs.fsf@toloe.se> <87o886cgst.fsf@localhost> Date: Sat, 15 Jan 2022 19:52:51 +0800 Message-ID: <874k65rzak.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=yantar92@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642247407; 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=zOHMcljp14axo7F1n23b9BkMnL7L1u6i4vdiYhxvxtc=; b=lqrQxy5gVsS/noUvSio/BuvA4GxpJeK9d2aFT3ghKVeqnOSHaMV20dyrkcuUwcSXNEWZ54 DlxEoDsRXfGdTVNrzbM6wSLh7CnLQFy8oYT1w7tVny37hcVOHKIzFEpX+U38iknCc+auk5 oXmIjHqQSu/Sr5meM4ji3ClYoINmpuxDfgOG68vOaCAI90YttW2yJ9Za6wsSHCz3pi/iIw bjYPP8O39mUWs+NbMwKq8tEFuecypWTjwqS1PmV/XzvXNFY/T0ucHMqdK1F/Tw5RpPMxPn JJXcQonOTOqbejw6+9OHJq7tjOOhlT5a0SxG4AyErp7hovlcK9zmQw9tQKFebA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642247407; a=rsa-sha256; cv=none; b=QTWq1gzC69+ktLBsAshMEDaUVVwvVFVH5dYQrsWzbvQzZYT/sKZ0XVOelzjW2TfGJRjGlz t/eOTfy7MGGIaWPoa7mqW83ymoiYaDs5glFI+uftu/ycFJS9jqxKqLYArX7KI/5HgmC954 w19U5NltUZ6aMg4cecBah7Dh6baMnXz1ZRj/IRXc64O7js0+rHbt+5Ix87e/cLE1JhH15n S0UmFZ99wyglTq9DFtFwwlYalVU0is5Q8Y5Ab+xS7cfRSBXegP7tHO4dwvRLcVMd3hCtFX zVRPH7CLxl2ysnvje1waqqM3kfQ/OiKxGyhbffVK+ZndmaZAtDBFB5XBF4uL+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=I2Z64W8K; 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: -9.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=I2Z64W8K; 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-Queue-Id: 1BBBF17BF7 X-Spam-Score: -9.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: A7NO9LvBWnSb Ihor Radchenko writes: > Johan Tol=C3=B6 writes: > >> If "* Top heading" is the first heading in the buffer with nothing=20 >> above it, not even a whitespace/newline, then '(org-entry-get nil=20 >> "id" t)' with point in "* Second heading" will return the id of=20 >> "Top heading". If there is anything before "Top heading" then=20 >> 'nil' will be returned. >> >> This happens when I run 'emacs -Q' from within the "lisp"=20 >> directory of a newly cloned "org-mode" main branch. > > Ouch. Thanks for reporting! > > Confirmed > > The fix is attached. > > Dear all, > > I had to fix one of the tests, that apparently was only working because > the bug existed. Please double check. For record, this patch has been incorporated as parts of two other patches. Best, Ihor