From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Zf9yOqvQa2CESQEAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 05:08:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ODScM6vQa2DGAQAAB5/wlQ (envelope-from ) for ; Tue, 06 Apr 2021 03:08:27 +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 4A18E1A00C for ; Tue, 6 Apr 2021 05:08:27 +0200 (CEST) Received: from localhost ([::1]:46388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTc4o-0006xa-3A for larch@yhetil.org; Mon, 05 Apr 2021 23:08:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTc4C-0006xT-EP for emacs-orgmode@gnu.org; Mon, 05 Apr 2021 23:07:49 -0400 Received: from out1.migadu.com ([91.121.223.63]:14970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTc49-0003Kn-DU for emacs-orgmode@gnu.org; Mon, 05 Apr 2021 23:07:48 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1617678462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+gOcpVAfrqijPVEMVJ4x2wWOvzJ+xteY6kTA/3GNXFM=; b=Um2RIcudV67dOXrD/HVGZXwMZME1LbnkFnfAPdxAaK30Kb0dOF7uiwHVWkB01ynY4PQ5n5 OtP6zLzWFiBvoDnpflQPNZV7O4MZ7wobZL8k3fY6KTDPpZ5p03EVjUVUNbKUdkQn8XUH1m BYGCszOjTANfCG1Iwy0nbWixTuu6aGoO8fU9NvQVCwhw0EA16R4QNhqlVXuaH31QtNeIV9 N/SH5dnkKhQc+lc+5dwgkIp2euIWsvpz1HcpI9VtrSlFT+S1OIe9m1QaD71lQJpx9B0jsO B9E42tNJtP4Qrnd7U5MKDs9FUzgFqaPwCFJV0/BQk2lga1OFGxoadL2YFWi+sA== From: Kyle Meyer To: autofrettage Subject: Re: "#+STARTUP: hideblocks" has no effect? In-Reply-To: References: Date: Mon, 05 Apr 2021 23:07:41 -0400 Message-ID: <87wntgaz5u.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com 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_PASS=-0.001 autolearn=ham autolearn_force=no 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: , Cc: "emacs-orgmode@gnu.org" 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=1617678507; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+gOcpVAfrqijPVEMVJ4x2wWOvzJ+xteY6kTA/3GNXFM=; b=IOjngHVejQCEw2dHMeqmCG7H7RPUVOBBAwViQAw9Qx6v5OUt1Ml8ON0SCw5eI8g/ZOXPHg TORM70z5oIcQzmHPF3fY1wI84nOBc8F92GFkAP6zRSnOZZaZ+5F3zpx31CAQQdIQ9S4QL8 nfI3uKgGY/RLYepI28gHScBq2Mvn3KGDj3dtM2mziIsxwFxFVkfCybGYc4PbOmgnHq3XdD 7YkOzD7ECUQjlaSK9rUGFKOyhWIz9QAdnSItYjzJthd4xZC/oNDroHhDWjWWNdJxSID+ZF sy2ft/iEdj4FG1brIRWCqXvvFh7xIlBLeHP0rusTieunVmywr4+aiaBnLDHMDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617678507; a=rsa-sha256; cv=none; b=mSOiSzP+KQw4iXM8aNQ4epnw8CI+URxrQvX7+mnXZJdk6DE2kin07ibiaoQiHyHlqH2rr3 zFuqlnlD6+G+GD02RE147GMGxy3RI6QJLS/exIo2QtKj1dzs2c8P8cLkW4Kd4kyFEci6bq KLWGH74ZTf5rzYflKPvCSlcAmxgXYGQQIMlAE7xPGu9+smNufjwRZD5E3q40UM2DHUdWgl 54QlzZjJbJgjWgkomYvOmdnybzU1vdtDnG7uC2Blth+Oo8kp8kvNj9XlMAS26BnsfdZ0OR wU4EZd/ZfyOXuhEKIanTQZCzH5ornQAPbdAC2EKN/118LbnujWtft3dfrb4tKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=Um2RIcud; 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-Migadu-Spam-Score: -0.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=Um2RIcud; 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-Migadu-Queue-Id: 4A18E1A00C X-Spam-Score: -0.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: FX6NkeNBhF66 autofrettage writes: > I recently read about the #+STARTUP parameter "hideblocks", but it > doesn't seem to have any effect in my set-up. All the blocks kept > laughing straight in my face. :-( > > Any ideas about what could have gone wrong? Are you leaving org-startup-folded at showeverything (the default as of 9.4)? That will prevent org-startup-folded and "#+startup: hideblocks" from having an effect: (defun org-set-startup-visibility () ... (unless (eq org-startup-folded 'showeverything) (when org-hide-block-startup (org-hide-block-all)) ...) For example, try this: --8<---------------cut here---------------start------------->8--- #+startup: nofold #+startup: hideblocks #+begin_src emacs-lisp (message "ok") #+end_src --8<---------------cut here---------------end--------------->8---