emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-attach-use-inheritance has incorrect :type 'boolean
@ 2020-07-07 17:53 Philip Blagoveschensky
  2020-07-08  4:14 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Blagoveschensky @ 2020-07-07 17:53 UTC (permalink / raw)
  To: emacs-orgmode

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/)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-attach-use-inheritance has incorrect :type 'boolean
  2020-07-07 17:53 org-attach-use-inheritance has incorrect :type 'boolean Philip Blagoveschensky
@ 2020-07-08  4:14 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2020-07-08  4:14 UTC (permalink / raw)
  To: Philip Blagoveschensky; +Cc: emacs-orgmode

Philip Blagoveschensky writes:

> (defcustom org-attach-use-inheritance 'selective
[...]
> 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.

Thanks for reporting.  Fixed in e62ca4a1b.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-08  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 17:53 org-attach-use-inheritance has incorrect :type 'boolean Philip Blagoveschensky
2020-07-08  4:14 ` Kyle Meyer

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).