From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gDJlLte2BF/0EAAA0tVLHw (envelope-from ) for ; Tue, 07 Jul 2020 17:54:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sKQ/Kte2BF/qegAA1q6Kng (envelope-from ) for ; Tue, 07 Jul 2020 17:54:31 +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 3D6F0940656 for ; Tue, 7 Jul 2020 17:54:31 +0000 (UTC) Received: from localhost ([::1]:52322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsrnZ-0000NN-ND for larch@yhetil.org; Tue, 07 Jul 2020 13:54:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsrn7-0000Mc-Cm for emacs-orgmode@gnu.org; Tue, 07 Jul 2020 13:54:01 -0400 Received: from forward106j.mail.yandex.net ([2a02:6b8:0:801:2::109]:56949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsrn5-0007jX-D4 for emacs-orgmode@gnu.org; Tue, 07 Jul 2020 13:54:01 -0400 Received: from mxback28o.mail.yandex.net (mxback28o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::79]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 7041111A12F8 for ; Tue, 7 Jul 2020 20:53:54 +0300 (MSK) Received: from myt2-accb38a5c431.qloud-c.yandex.net (myt2-accb38a5c431.qloud-c.yandex.net [2a02:6b8:c00:2e9b:0:640:accb:38a5]) by mxback28o.mail.yandex.net (mxback/Yandex) with ESMTP id PWPWalAE8h-rsvCFkNU; Tue, 07 Jul 2020 20:53:54 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crabman.me; s=mail; t=1594144434; bh=WY6yp21vtLbcwcCmp/H8eAuOv6olFwsQpiv7npvoAwo=; h=Subject:From:To:Date:Message-ID; b=cvlDE+pVp4g2/rcXz8OayIaDK0l2W0DlpCA7FtIzwzhvyxfMiXrJGFHxfVgR7dcav xkQDxjyNyZxRASlmvkdObtQ7+dz23p+K8Rxbut3lNkWolng6G3JiZWMXAVNE/+qbBT rjwsRBU8XTZmsMtlbfV5LcVK74sC5xjXtiZubTzQ= Received: by myt2-accb38a5c431.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Qgw9Sz3twG-rrka9eUg; Tue, 07 Jul 2020 20:53:53 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) To: emacs-orgmode@gnu.org From: Philip Blagoveschensky Subject: org-attach-use-inheritance has incorrect :type 'boolean Message-ID: <7036d668-eb09-ba4d-0b46-503fbc4a50ce@crabman.me> Date: Tue, 7 Jul 2020 20:53:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=2a02:6b8:0:801:2::109; envelope-from=philip@crabman.me; helo=forward106j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=crabman.me header.s=mail header.b=cvlDE+pV; 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.21 X-TUID: Ta3I/Q7MSsQ2 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/)