From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8JYtD5j+6GDTTAAAgWs5BA (envelope-from ) for ; Sat, 10 Jul 2021 03:57:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IOD5Cpj+6GCoSwAAB5/wlQ (envelope-from ) for ; Sat, 10 Jul 2021 01:57:44 +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 AE89E12CE8 for ; Sat, 10 Jul 2021 03:57:43 +0200 (CEST) Received: from localhost ([::1]:36784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m22FS-0004Ki-O9 for larch@yhetil.org; Fri, 09 Jul 2021 21:57:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m22Eb-0004KP-QX for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 21:56:49 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:47005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m22Ea-00058a-9E for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 21:56:49 -0400 Received: by mail-lf1-x129.google.com with SMTP id x25so14157309lfu.13 for ; Fri, 09 Jul 2021 18:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=kLgKejcUo3KqOGZSWJZIWNrEPNFGHeojq3mSUU5gddo=; b=NjiycZ7pSwfUUpCxmutdlUp5XziXOBtB1BecStd5HHOqLkkcJG2rKV9Rz/stfWc+hu QNYgjEjS1vOXaVP3dL8Nkw52GqxuAmh66jyO6O7y8v9I0PXq2xIK/f0nLvlLWGV/4/Ig Tle8PFO5E/k/4512v/3XU/LJMNR+V2YL4zd97qhXLvO3CWi/50WfBSEue5Yv2TjuCYuD itdLmiXAsTMMoMO/xn3tmg11UYR8TrQ+gO6cb06Tx4Ti4YCrLnua5vcDc4ESqegAbK3O G2y8z4c9ipUcAvFDZoBAj6TZqJCSTEGj9+H34a8Y+LeDimISAVyQYnxi7Nv5O0AGa4wG Plag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=kLgKejcUo3KqOGZSWJZIWNrEPNFGHeojq3mSUU5gddo=; b=lG1sv7btSr4egVljJVrWpHzoR8QdVlBGSIBfWgFyNPcN3uSaIoxPyYm7XK4BB3+rn8 zGNesAAlhGfZ/wmVC67LRSPHCMv1DCkSbzeWnhPlFSm3i2CoNhVi0Fdsm5jY0pW3SoPI NaXY/1ENUnKZsH2Uyz+wskDlAyq2aafRv3bWyEJD8ZrFGuD4Ed6Z9hpOyD2bo/Ru4pwh jsLxE9WtGixye/FaiREGBwOsignQ9+Kb9AHol2Tv/JVExBM5pB+8npiDDTYOi3yg+x0J KMg/i+CznIxeVdW244Z9yDrrjpED0fUIcE5bphmrvxBQDyp2R4mqXJy7R/hnYPMJnjgW CrWQ== X-Gm-Message-State: AOAM533ASBiV8EiPaGLA3Pe7W9MzZ4RjNqn5/RAy6f+6blKsQAM7xGRm rAY9B253gfLse4Ueu0EkOZgDpgjp52vSskP4 X-Google-Smtp-Source: ABdhPJy3wwDnQvGLqgiLJ+v2EbjmN5flB3ecfQzbdPujYUFJJ+zoSW1Tz+8A6AMHtwkKNH0Tsnbglw== X-Received: by 2002:a19:6f49:: with SMTP id n9mr28227815lfk.459.1625882206593; Fri, 09 Jul 2021 18:56:46 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id f23sm752424ljn.98.2021.07.09.18.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 18:56:45 -0700 (PDT) From: Ihor Radchenko To: Axel Svensson Subject: Re: [Bug] org-startup-folded documentation In-Reply-To: References: Date: Sat, 10 Jul 2021 09:56:49 +0800 Message-ID: <87h7h32aou.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=yantar92@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 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=1625882263; 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=kLgKejcUo3KqOGZSWJZIWNrEPNFGHeojq3mSUU5gddo=; b=hboVDWFz0pPliEjVhKzElYeixj+6R0mu7cUXWP97EK7Yc7OxWVfu9CgVMLfZetjOQG7lse 9TLJoYlfHbThwNMB4YpEYTrwklQA6vFEt+JkUy2hV6vo6BXTRtk1CO4YiMXjjJOSet9Ooi pXyp8+8Nhnepw4qwUeZerPVX74i85MIMyHcM3MJ6AWXeW/mbcMmYcqTvmWmKkZDuHxAzXy lTlX/cdHDV6nVIljiZzFOnSDhRWETLNQ2xaz6zFgByJmZwxy6u0rrY/hoemwZDSbBBuA5S z4o93y0bKeUwEjmusM4Tit6k02t/BCOvi8w/JxKlHpEallkaff1PWJ45LXh3tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625882263; a=rsa-sha256; cv=none; b=qRE+CTBhNP0nYeufF9x+OoarHerOW5mrJH3C/ODQAiSbhqmBWXCQ6Sh9DJkR2UG+QM7E0h zOkMSCwOzJ/SORFOy57DwQCVX7Vl1dYUzIeRtfu8s4Z/BZHYZnnZ2y8kh4VMLOsPYV1uXB SN30oFGlu0nZ3D0nw2BwLsUGrqtXzfR5Gj786xmjHPi1eVEspZNXsOl9h0S+ZpWcs8SSjq cgtA+3ogfL1TOVpg3uARJeuMoUVmbzRvcT+Ybmp+HHb9/FQVClK0C0mK7IABwTv15wOaFi +4oZIIq8gAs85Sfc1MTaeli3X+Mn0fmm1mZb0zKz+PCpZeAnhZ1xXWQsSSIM5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NjiycZ7p; 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: -2.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NjiycZ7p; 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: AE89E12CE8 X-Spam-Score: -2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: dnP+u5NdrNNQ Axel Svensson writes: > org-version: 9.4.6 > > The documentation for the variable org-startup-folded is not up to date. It > states that the variable can be nil or non-nil, but the program logic makes > a difference between the values 't, 'content, 'showeverything, > 'show2levels, 'show3levels, 'show4levels, and 'show5levels. The docstring mentions fold, nofold, and other options on master and maint, albeit not stating that you can set those values with setq: > Non-nil means entering Org mode will switch to OVERVIEW. > > This can also be configured on a per-file basis by adding one of > the following lines anywhere in the buffer: > > #+STARTUP: fold (or overview, this is equivalent) > #+STARTUP: nofold (or showall, this is equivalent) > #+STARTUP: content > #+STARTUP: showlevels ( = 2..5) > #+STARTUP: showeverything > > Set org-agenda-inhibit-startup to a non-nil value if you want > to ignore this option when Org opens agenda files for the first > time. Best, Ihor