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 Myc4JyegVF9ISAAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 08:39:03 +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 YN3CIiegVF/0RgAAbx9fmQ (envelope-from ) for ; Sun, 06 Sep 2020 08:39:03 +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 2D1DC94036A for ; Sun, 6 Sep 2020 08:39:03 +0000 (UTC) Received: from localhost ([::1]:60582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEqCU-0000ai-70 for larch@yhetil.org; Sun, 06 Sep 2020 04:39:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEqCB-0000aZ-Ng for emacs-orgmode@gnu.org; Sun, 06 Sep 2020 04:38:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48403) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEqCB-0007i8-0Z; Sun, 06 Sep 2020 04:38:43 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:56722 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEqCA-00075z-Lb; Sun, 06 Sep 2020 04:38:42 -0400 Received: by guerry (Postfix, from userid 1000) id EE8851A60D69; Sun, 6 Sep 2020 10:38:38 +0200 (CEST) From: Bastien To: Julius Dittmar Subject: Re: attachments and inheritance (bug?) Organization: GNU References: Date: Sun, 06 Sep 2020 10:38:38 +0200 In-Reply-To: (Julius Dittmar's message of "Thu, 9 Jul 2020 17:27:43 +0200") Message-ID: <87lfhnpaep.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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.01 X-TUID: k+U+OoQ//EIw Hi Julius, Dittmar writes: > Hello friends, > > either I misunderstood something or I stumbled upon a bug. > > Situation: I have a heading with some files attached. This heading has > an ID property, upon which the directory for those files is based. > > There's also a subheading with no ID. Inside of that subheading I'd like > to link to one of the attached files. But although > org-attach-use-inheritance is non-nil, the attachment is not found from > inside that subheading. > > Shouldn't it be found? I tried your example and the file is found for both links. What is the exact value of `org-attach-use-inheritance' (t or 'selective)? If 'selective, what is the value of `org-use-property-inheritance'? > - GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.10.9) of > 2018-07-06 > - org-mode: current master > - no setting containing 'attach' in any configuration file Can you provide a reproducible recipe with a minimal configuration? Thanks, -- Bastien