From: Julius Dittmar <Julius.Dittmar@gmx.de>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: attachments and inheritance (bug?)
Date: Thu, 9 Jul 2020 17:27:43 +0200 [thread overview]
Message-ID: <fc4d4293-c26b-0bb6-77b5-9e51cce319c8@gmx.de> (raw)
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?
Thanks for any pointers,
Julius
#+name main.org
#+begin_src org
,* first heading :ATTACH:
:PROPERTIES:
:ID: 7eai57u0npi0
:END:
[[attachment:some-file.txt]]
,** subheading
(no ID property here)
[[attachment:some-file.txt]]
#+end_src
#+name some-file.txt
#+begin_src text
Just some junk to verify whether the correct file is displayed.
#+end_src
- 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
next reply other threads:[~2020-07-09 15:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 15:27 Julius Dittmar [this message]
2020-09-06 8:38 ` attachments and inheritance (bug?) Bastien
2020-09-06 8:52 ` flare
2020-09-06 9:12 ` tomas
2020-09-06 10:10 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc4d4293-c26b-0bb6-77b5-9e51cce319c8@gmx.de \
--to=julius.dittmar@gmx.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).