emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Philip Blagoveschensky <philip@crabman.me>
To: emacs-orgmode@gnu.org
Subject: org-attach-use-inheritance has incorrect :type 'boolean
Date: Tue, 7 Jul 2020 20:53:52 +0300	[thread overview]
Message-ID: <7036d668-eb09-ba4d-0b46-503fbc4a50ce@crabman.me> (raw)

This is the definition of org-attach-use-inheritance:


(defcustom org-attach-use-inheritance 'selective
   "Attachment inheritance for the outline.

Enabling inheritance for org-attach implies two things.  First,
that attachment links will look through all parent headings until
it finds the linked attachment.  Second, that running org-attach
inside a node without attachments will make org-attach operate on
the first parent heading it finds with an attachment.

Selective means to respect the inheritance setting in
`org-use-property-inheritance'."
   :group 'org-attach
   :type '(choice
	  (const :tag "Don't use inheritance" nil)
	  (const :tag "Inherit parent node attachments" t)
	  (const :tag "Respect org-use-property-inheritance" selective))
   :type 'boolean)


As you can see, it can be either nil, t, or selective. However due to the

   :type 'boolean)

line, it's impossible to set it to selective using customize-variable.

Emacs  : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
  of 2019-09-23, modified by Debian
Package: Org mode version 9.3.6 (9.3.6-elpa @ 
/home/username/.emacs.d/elpa/org-9.3.6/)


             reply	other threads:[~2020-07-07 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 17:53 Philip Blagoveschensky [this message]
2020-07-08  4:14 ` org-attach-use-inheritance has incorrect :type 'boolean Kyle Meyer

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=7036d668-eb09-ba4d-0b46-503fbc4a50ce@crabman.me \
    --to=philip@crabman.me \
    --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).