From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qKkPOiSzxmFQCQAAgWs5BA (envelope-from ) for ; Sat, 25 Dec 2021 06:59:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QGGrNSSzxmEySwAAbx9fmQ (envelope-from ) for ; Sat, 25 Dec 2021 05:59:00 +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 827CD30F21 for ; Sat, 25 Dec 2021 06:59:00 +0100 (CET) Received: from localhost ([::1]:50728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1055-0000vT-K1 for larch@yhetil.org; Sat, 25 Dec 2021 00:58:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1049-0000uu-0P for emacs-orgmode@gnu.org; Sat, 25 Dec 2021 00:58:01 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:35816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1047-000834-5U for emacs-orgmode@gnu.org; Sat, 25 Dec 2021 00:58:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=weknlAjYvob411ZrrTbS9ORKK9gZffQLXPLnyAaPdLI=; b=LfHvU4WyTQIivOyzgcUX93i4R/ pBKk5p9kZiKoHixpwkbGh9+l/V0sJdKEi7L/5HdLnjFdK7kbo4VlNrg4CkAmHjKvjB1IvU7H0twwr 0uh7tc106N9SSScqpSv6Mmvf6/9548ttrE4IRRFdaN9N6CfkvK2yKBP4j0WqVUYkDxg3cyWG5aXxq 7WNr3FdP7Q+vfRkBSC+rXga1iCGYRjyAAX/m2NjQImrPNxczp7DY2i+uXeg0id89seuwqVAxtFEGh eQUHUwqAdHmYpd+8SPTz2iD7BLOOSGEtm24QplDKEC3ebWBbUZhebwLGDAoSP1LumbTsetvZDPkwQ vBpho1Pg==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1n1042-00074U-1k for emacs-orgmode@gnu.org; Sat, 25 Dec 2021 06:57:54 +0100 Date: Sat, 25 Dec 2021 06:57:54 +0100 To: emacs-orgmode@gnu.org Subject: Re: block folding - should this work? Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HnJKuIXpuPyghB6o" Content-Disposition: inline In-Reply-To: From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640411940; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=weknlAjYvob411ZrrTbS9ORKK9gZffQLXPLnyAaPdLI=; b=BPr3JYHa8r16hEX4pUFe0lST2sLL8MluOmrN68g3tLZQA3ZnFOJ9hJOMCQPV1VpozTnjFp BeMT8zqbixKe3KhU/Z3T76K0Auo2bZPDwnWKYSh6yLtLpwnhEAt8Is85qfeD1T9IMQqjOB u6gDT40S9+wm1LJaJACcIypVQgg5uHPrUb769+6U5dJer5cb6A2dd6l3poi2hUM2sRW/vT /z2keNCQNkrO3ITl0mvj3T/yYxGjyTW/bAteG8Do2b5VjlnkS5XWnDGF/lvlTds5L8ZeEb ixOuWHbZp8u/umM2KE8mxSd0UPfsyx+gdEgGfVa+erPa1K2uaeMAf6Q7HYyVDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640411940; a=rsa-sha256; cv=none; b=iy6aJBZnGoywPS5fHjRD7dZn/XCNM/+ho25eHuHg1I/oWVKdwbN1rVvQ+lnd0aQObndOA0 uV8Sleiq6hbXZpiO2VD6Dtc1cnVTQbkq5BOJzeJw2BUFPoZC+WobLzqfP6y3LQWKYT/+Gm +DbhzOhP/Y92tUa3lb75rx9lwzrGPEbD66NcehQU61q+PqkVAMGe5RceecsW2diccfTol/ w81Nwc5kvP6ETK8JRGhpM6Ku1WgbnF7WkoukbKLc7UK7/Z2uIVfHmQWf8rZk5JnUYGiFRl kv/6+kq57VQhvA+3qHAbNiKURsRdhOdvStTnnSDCcNZ9iIvrX09lqymHDfsAHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=LfHvU4Wy; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=LfHvU4Wy; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 827CD30F21 X-Spam-Score: -3.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: TLL7MFSZlfSc --HnJKuIXpuPyghB6o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 24, 2021 at 04:21:58PM -0500, Robert Nikander wrote: > I started reading about =E2=80=9Cblocks" in the manual. I wanted a chunk = of text that I could hide, so I tried this: >=20 > * Test > Some text > #+BEGIN=20 > Hide this > #+END >=20 > Hitting TAB on the BEGIN line does nothing. But if I add a blank line bef= ore it, then hitting TAB hides and shows the block. Is that a bug? Or am I = doing it wrong? Seems like it should work without the blank line. >=20 > * Test > Some text >=20 > #+BEGIN=20 > Hide this > #+END >=20 > M-x org-version =3D> 9.5.1. Ah. You have to decide on a concrete /kind/ of block. So try: #+begin_example This is a small example with two lines #+end_example (BTW. I seem to remember that Org prefers to spell those things in lower case these days, as in my example). There are some block kinds which Org "knows about" and treats specially, like _example, _quote, _center, _src and so on. Cheers --=20 t --HnJKuIXpuPyghB6o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYcay2wAKCRAFyCz1etHa RtZ2AJ9kwOsjaSuDF9NdZ9wlF8m6/FcelgCfaLiMB2XNFBCSGyuZ2cdIRuBZ/fg= =euEX -----END PGP SIGNATURE----- --HnJKuIXpuPyghB6o--