From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sMs8H95x12FISwAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 23:49:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6MLiF95x12ED1gAAG6o9tA (envelope-from ) for ; Thu, 06 Jan 2022 23:49:02 +0100 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 0F99036783 for ; Thu, 6 Jan 2022 23:49:02 +0100 (CET) Received: from localhost ([::1]:42926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5bZ7-0006kI-87 for larch@yhetil.org; Thu, 06 Jan 2022 17:49:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5bYN-0006k6-V8 for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 17:48:15 -0500 Received: from [2607:f8b0:4864:20::82c] (port=34389 helo=mail-qt1-x82c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5bYM-0006zg-4h for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 17:48:15 -0500 Received: by mail-qt1-x82c.google.com with SMTP id o17so3862458qtk.1 for ; Thu, 06 Jan 2022 14:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eflor-net.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=3bxRE1TvEuI3dUb85+ljWwEhvSXn6cPQKghIUyUX8JI=; b=s372V2LUy08s4rFh4LvwxFu7b53WEBrFdjbg6s41ZazpnBp7Oik3xDJ+wf7F52GgbO cNWot0KufdUPB+H7Y43qxl+LwnhFJUqXXAGb01nYz/CiKlHZkSgMxtG2doIg4azSMVJo GfigRRU+tviU/j4o3GRm6Yqti6qm63xZOgP+m+Rlq36/tIIFizzQRur5ewC8DynBpH3s GVQqPrryHSBBhozDSzAXY9+g7R5kvG0azf33sVWJVCrEKR4Ged24/5QExz5hrXooI5en sZt9xfNV/2MzuXLjFxRxDLPVm6KIZSMpj+cvEnoK7Jp9/c5ZxkwrjxDROVIIBOc5i1Xt hqvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=3bxRE1TvEuI3dUb85+ljWwEhvSXn6cPQKghIUyUX8JI=; b=dKS+6NRCLcIdduHCW7WBbs1EP4AKDbIKFvDXDskJD+oR2VoiizAZNChJiA8fFy1PHL jMdJialWn67BV7EsHCMhy+MP+UXiQNkRQ599NUA2TcvYMeRajntGuJDQnc66XSRrldNL rCHj4uZOp6kRsBzeUko2bVm2C1jjrnOHdlkTKr1JqwP1BJn7LndxtTkYgoJJJLz55ifz BIWXpKC3ttBrrJwlPPvbJEMbbHrXuRa5kxDoRn7KkT9MuIbw2EvK016/iwuwEQvF23l+ n8KWiI55UjdOr53NKwV537sfc/gYsUl4GI0fZzLzpeYjgUWBljKm8RtP957WKOXkBJbe oRZQ== X-Gm-Message-State: AOAM530bB6LItInOO04rtroVw9iC6/6p2SWeR/y7PIDM3JdU0UA+rTiA xOdIN7UcOwkiYyraRjztvt4reRdIC9p+ew== X-Google-Smtp-Source: ABdhPJw/gbGh8GmaCl4go6QribIGTxmJNcoIrKn7umpWXRiCe6NWD/WCUICNdT4d6aAl/57mkkaryQ== X-Received: by 2002:a05:622a:178b:: with SMTP id s11mr49795006qtk.630.1641509292535; Thu, 06 Jan 2022 14:48:12 -0800 (PST) Received: from localhost ([173.208.98.183]) by smtp.googlemail.com with ESMTPSA id e2sm2430149qty.14.2022.01.06.14.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 14:48:12 -0800 (PST) From: Enrico Flor To: emacs-orgmode@gnu.org Cc: Subject: Cannot set invisible text property Date: Thu, 06 Jan 2022 17:48:10 -0500 Message-ID: <87pmp41nx1.fsf@eflor.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::82c (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::82c; envelope-from=enrico@eflor.net; helo=mail-qt1-x82c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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=1641509342; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3bxRE1TvEuI3dUb85+ljWwEhvSXn6cPQKghIUyUX8JI=; b=jv3L7VFFOt9FpTbL4+7GxE5ULx2BbAIuyXokrkiHnGJthCgy/NJwE2vj8LhuITUxzVAzVH DXbGxQPuDgC5+Z2CW52Q8BD6TEqci0oH26gU1VFfAxxMUfXdQR5wMSpPz/sMpnZwhzQlUs P0kevpm78IncJEDj+FtUTvply0W0DGY5s+vuGphfL1DsqRVmD8+Q3TJa2aSAgWWbxMLxgj 2DFF/PKUlrhMekZNLzWCgcChh4Y8Wg9xsQEADNnNS9SWtbHpcI/rzdmLM3Fc96D/aH84bG RaXDPFAIZrGn6SztqtjJWdtpIrXAjKfV9l26KZAaXwdxYwL4zTcXnR++NDZU7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641509342; a=rsa-sha256; cv=none; b=b9ZDNcKcxvsUrzQQt6nblYoExSKDR4f2B1DGmLOWNTUIMC8auL1Tp7KfpjKJVShLLdHlGv gMS3i+ofuiiNjNj+cGgI2iWhi8ZO+XrqOaj0BVALDmMj5Z0Y4f7dhS1b0MaqDcqUN7eumn y7sisH95jZhqyuM/43ZVPAxCv9Lh/imt7IWgUPq8/drRX/0Eu15l9VMBZnfZFq/zrV4Mpx RtIzLErq+STTxBPt043Egq76oQlfg5wY41irLQbHgC6tKPY4Alp0+oIcEN4dbPb41bztSY 5WXW3wWBNlv44ZSUf2Hxmyk0a8RMq8bkqx3pmXpp4Aut3M0aIYc0FhotUUqhPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=eflor-net.20210112.gappssmtp.com header.s=20210112 header.b=s372V2LU; 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: -2.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eflor-net.20210112.gappssmtp.com header.s=20210112 header.b=s372V2LU; 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: 0F99036783 X-Spam-Score: -2.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: BihcmKFMZmqb --=-=-= Content-Type: text/plain In a minor mode I wrote for myself, I use add-text-properties to make certain things invisible. This does not work in org-mode, and I don't understand why. For instance, the following has no effect in when the buffer is in org-mode (and only when it's in org mode): (add-text-properties 1 3 '(invisible t)) Any other text property I try to add does not give me any problem. I have also tried to achieve the same by adding things to buffer-invisibility-spec, but again, the following has no effect whatsoever, if in org-mode: (add-text-properties 1 3 '(invisible hide-this-stuff)) (add-to-invisibility-spec '(hide-this-stuff)) Can anyone give me a hint as to what is going on? Thank you. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEERVv7soLxAz8JCV7Vj/ouJc5xpgYFAmHXcaoRHGVucmljb0Bl Zmxvci5uZXQACgkQj/ouJc5xpgYwkg//bTmtcS7EBO1O1rbwSL2ZU2ARyQk6VA72 cQwpnnuYK9xr4GbGAq2fSYLiMiUXN/GUgQ+TrzJsTjHsOJEfxmilI8+XxDVG4oqD vf7P5EcV+1bwV8UX1fktPKOv5fRijhMK6vF4uuKZ/zVaSJTkoH5P3XfnBWtZE3+n tgzbJunF0T1DJ8TOhhy5wEuaUOqTe+7mvOBPhChY0189YH56ksOj3lm2BuqRW6w0 kWiX3qL7GnXgBSyD4UuA+mxDy0LcxFxv84wujlTHgvxBOi2t5pes1l/QafvfuAOp oeraJEVkwmtMmkr72RiNJQlTCwUNYur87SYChZ6pAgZ+OrNo1btoHD/xplbrJzFG 8DEOHBmIjyUtVM+s96TyDsj0rntYyHl1WogC2h2TaL7OmTddp5g9A2g89awwGC5t EIx4dMdy83ljjJu+17i+XfhE1GYngDq1XKuKFPq2r/v6mIQyaFJRIv+siadOCt1M nw+nKW0raZMhea69hdJ/hUDd5bXaRi/JBxTTuc781ML0Fg0s/8iHE4Y8daF9Rmqs bDEi4qNbWnapI4iawGPWSpCqcxaiRSMqmlw5kjsI69Z2itowjlWHoXTBM2yKVThp SLRpEaEdEZEEKdEGclmTtpGooDAudwbLRggwG+X+7rtsDfIPog36oLmHFHhmUo3z XF1Rz8rxpcs= =/APN -----END PGP SIGNATURE----- --=-=-=--