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 ms0.migadu.com with LMTPS id IPI8KYoom2FDfgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 06:20:10 +0100 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 QA/1JIoom2E2SQAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 05:20:10 +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 2FD8734F72 for ; Mon, 22 Nov 2021 06:20:10 +0100 (CET) Received: from localhost ([::1]:36424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mp1kP-0006IF-BK for larch@yhetil.org; Mon, 22 Nov 2021 00:20:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moVr1-0006WB-NF for emacs-orgmode@gnu.org; Sat, 20 Nov 2021 14:16:51 -0500 Received: from [2a00:1450:4864:20::132] (port=34598 helo=mail-lf1-x132.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moVqz-0004vY-Uv for emacs-orgmode@gnu.org; Sat, 20 Nov 2021 14:16:51 -0500 Received: by mail-lf1-x132.google.com with SMTP id n12so59853053lfe.1 for ; Sat, 20 Nov 2021 11:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:from :subject; bh=RojqrXp9wFVamHqY/x0lbt/MMagJjrBd9hUXIbmcZfk=; b=BxC7e+4VJG8tMc9oJ+XW7a+OKLTfiapOYBF1oEfPE4DBMUmsCxE1ve31Get1r3dm5z 8OiYnfAeIESOpMxj0v1Fe8pccnXvdjGcCV/r1UnQgEgup4flOWEN9SMtRbOCn75AfUL8 oCBPYImQ44Dp90gUKJJ2BrxJoTCY6fvavrs7KHAjEsQdc7U+8KbgG1KQGYkgadr+DgFy xGVY7dFqVWSPZeZVoI/7yQft6Zb/PuUvQqqukiMc0Ag93lfl1gUct0jwpsPbYF5V0X9K y2NKsn0/98J+O4ZMROLM6r4QU7AEYNFtHB0ZAOFVjOC4um6+5ssfotNh2Xxx6oF2r6uJ s4zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject; bh=RojqrXp9wFVamHqY/x0lbt/MMagJjrBd9hUXIbmcZfk=; b=uVScs/Rdu3Ftvvygz2ljwVMzrtGoHW9cba0SXkMdITyWgFa9UBW/aBdZ6q6o6CSR4q 3af7aMmWEUk62UL3wnQJHqv6F5WPSh2pZcqmxan0ars8DrPXozZRQQExITW/g+RS4BQe P1Hj+k0d75ClijIysLPwAJpIyfXJgHGFTdjBNjWGm7IauqLg39LJMqYiCuHSN54vCKb5 PlTnyjdXAVUbJjaaLNzi6MMbdTkQqeG/kyVb6jP598XsOHX+cC2DOGERN6K4rqJo+P+F a6VussZNvedrYfw4TAb2ClrLrKJxEtr8Z9D849ivnIdGi14gCQaAsWamlEg/irkYbEoj SS8w== X-Gm-Message-State: AOAM530aeKUgQdy+FPXSLEsJpNMNHcMw1FZod/Kwgm2LN0Ma79PtByQY YKfqdJKnZLLN1TDB21E6RGoF+eqsLcA= X-Google-Smtp-Source: ABdhPJxVxCQR4+tfUdFN94NTZTA9UQsqmRpGq6UPCWW9ALL3V/bb0bVL3B3oF9CIa3kCyn2emFctOQ== X-Received: by 2002:a2e:9107:: with SMTP id m7mr35507325ljg.209.1637435807052; Sat, 20 Nov 2021 11:16:47 -0800 (PST) Received: from [192.168.1.178] (219.109-247-6.customer.lyse.net. [109.247.6.219]) by smtp.gmail.com with ESMTPSA id t14sm413943lff.254.2021.11.20.11.16.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Nov 2021 11:16:46 -0800 (PST) Content-Type: multipart/alternative; boundary="------------AXZLfRb5557zjWdbY8BR3M0J" Message-ID: <6f0ea152-1d57-b7b5-3a66-17e5577a7a64@gmail.com> Date: Sat, 20 Nov 2021 20:16:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Content-Language: en-US To: emacs-orgmode@gnu.org From: Kristoffer Subject: [FR] Expand functionality of org-hide-block-startup to add property drawer support X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::132 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=kris.lolzby@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 Nov 2021 00:18:14 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637558410; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RojqrXp9wFVamHqY/x0lbt/MMagJjrBd9hUXIbmcZfk=; b=STHg46j0KMDeNXhV9dxjwvEIhyqhCW+L653XcnlRfk+W93nOl6R19bbB+E+PbG9XVkve1D NMqvGVcZiobiqqPcs1wCxg8HFFYMLpk5Z0KBEhLmPFADPf/RUliqAYiHydUpncmFjPXEk4 p9FI6A7fQ+i1ayn4gf/ynhuFvC3Ihwc5hHl/WTp5VYxWaRp821MyYGCFu2oMMn/7/XpB00 r1P53C3sPMMzMZKejmtBS5mDgVAs6+kE/4os4y3qNY3OGqcoB2dmTsABWLVcSBVDz1PL0v onkv1lFSydz8PKfaZ7IlHr9QHDWkFLP9WVKKzAu2HaDjl96L3Zz0GlzEq+wf5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637558410; a=rsa-sha256; cv=none; b=Rmen9CG/Fz+4lnmtA2Mk3itY3TFOg7gzKIifqgSq/Rbp1QB8CXpgBhl/ZV8l+QSMyUfJW+ 7FkiB8DcxRZB2sjGbPsUT8TOt2NyzYEcW5QB+VIPLcc+87c4pAGKBQFrTI9+H6Pa6f8Nuw F9csjJtLYGUifBFIOqW0O5gzLQhhtroGYvauWSKXvIgVSzXnDr6bhQkjknUANvurWnI7mx AhocjBnPrnB/gwd/jv24Mq+LrsxTZarhpSwER1sr2BPKMYbM3mWMAYmz8TKgiSn+LEGMC0 NWtZh1wefQQUKvLPmhNYTIsGVH0Ye4gELcXxEfM8mbbnxUpRQ2bJ0vNwE7ywQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BxC7e+4V; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BxC7e+4V; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 2FD8734F72 X-Spam-Score: -3.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: KEeM5hiaNWCC This is a multi-part message in MIME format. --------------AXZLfRb5557zjWdbY8BR3M0J Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I recently came across the /hideblocks /and /nohideblocks/ startup variables for per-file configuration of org-hide-block-startup in the manual at 2.8 Blocks. I got it to work by using a header argument, but I think this would really benefit from being able to be set through a property in a drawer as well. As far as I'm aware, that's already possible, but if any other startup argument is specified it is overruled even if not relevant. I think it'd benefit from being able to overrule the header argument like other properties in drawers can. Such that when you have the startup argument set to something like /show2levels/ you can also use /hideblocks/ per-heading rather than the entire file. Personally, I have blocks I'd rather not hide by default, while others like example blocks that I'm completely fine with doing so. It's kind of late here, but I hope I came across somewhat coherently. Regards, Kristoffer --------------AXZLfRb5557zjWdbY8BR3M0J Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hello,

I recently came across the hideblocks and nohideblocks startup variables for per-file configuration of org-hide-block-startup in the manual at 2.8 Blocks. I got it to work by using a header argument, but I think this would really benefit from being able to be set through a property in a drawer as well. As far as I'm aware, that's already possible, but if any other startup argument is specified it is overruled even if not relevant.

I think it'd benefit from being able to overrule the header argument like other properties in drawers can. Such that when you have the startup argument set to something like show2levels you can also use hideblocks per-heading rather than the entire file. Personally, I have blocks I'd rather not hide by default, while others like example blocks that I'm completely fine with doing so.

It's kind of late here, but I hope I came across somewhat coherently.

Regards,
Kristoffer

--------------AXZLfRb5557zjWdbY8BR3M0J--