From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cGffJQv5bGDb7gAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 02:12:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WAPBHwv5bGCRfwAAB5/wlQ (envelope-from ) for ; Wed, 07 Apr 2021 00:12:59 +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 E97849CF5 for ; Wed, 7 Apr 2021 02:12:58 +0200 (CEST) Received: from localhost ([::1]:37140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTvoV-0003yi-VM for larch@yhetil.org; Tue, 06 Apr 2021 20:12:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTvno-0003yZ-6F for emacs-orgmode@gnu.org; Tue, 06 Apr 2021 20:12:12 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTvnm-0004WL-TY for emacs-orgmode@gnu.org; Tue, 06 Apr 2021 20:12:11 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lTvnl-0001p3-2g for emacs-orgmode@gnu.org; Wed, 07 Apr 2021 02:12:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: "#+STARTUP: hideblocks" has no effect? Date: Tue, 06 Apr 2021 20:12:02 -0400 Message-ID: <87h7kj54x9.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:uVhGUIwRjgTkLLKHhHavNRfTXWM= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , 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=1617754379; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9OQujMYPKPDpVyKLYkamWymT0gOazJcCKiNbBauS3nk=; b=NoNovYIm+VBpSrmXVFBmLFSwkNcoUCo9YAM+DDwK9DhLTNSxzpbBoCmbiHkVSJc+9T9bBJ US471gG34McZ/9UkbSN0RfXOTZSriSoyGY68ElwT7u35pFPdukZWOLPWydN2wPeaH67aH+ cj5NM7rafOqL6agG9s6mv9t7Qyv5esiPWvloAy9ahOTL0rq59cbnbvrvjpUC6TTXbeuTlE v6c7fnhGaJL6cJH2HX0X6a0TOOiLEqNk3LfHRxsD1gUM7REb/apx09tvS/gfuB8ZKRPIQh KOTAHQs5rgqWY4HukeZoBzTQm+043Eu1Qzs8Tc7A2mvdPnUlvjFCw459rLcC4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617754379; a=rsa-sha256; cv=none; b=pMSHo0lfwFkHV5xreRh6s+VVcnzXNNFin3AGKUJH3dvuAEfn34g39/aT0acs93EPs+k9Ib YxdleXq3lokfJQpvXvjXdDQKyCYimcQYwlzNJrpwdnuTEXGUUtxV2fLaag6kPrvH07w+HP QkR85vq+RtICOVN2ufg2Ca9Xb/flWCvjakXLsCWTa5ZDsD4vbwsufEmDRurgI7/a8GdNnl dSS9L6isg2b9m85++zLsqBI22ZcdpX7uHdrr6SEKOru2581Lt82k4bh1N1AvL9hFidWHU1 uhEe/Mn0wHvPpkxG2zkS7Or0lg4Ov1xOzgd4twSEyJKvPVIExyOlfY04pxsbdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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: E97849CF5 X-Spam-Score: -0.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: w8oUVx67ZAcu 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? > > I use Org Mode 9.4.5 with Emacs 26.3, and I also tried closing the > file and Emacs before I tried. > > > p.s. Setting org-hide-block-startup with local variables is a > solution, but not as nice as doing it with #+STARTUP, I'd say. It interacts with org-startup-folded (whose default was changed recently to 'showeverything'): you need to set the latter to something other than 'showeverything' in order for hideblocks to be effective. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler