From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 APeACoT43mFlFQAAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 16:49:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sB3pB4T43mEXLQAA9RJhRA (envelope-from ) for ; Wed, 12 Jan 2022 16:49:24 +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 CE0AAB7DE for ; Wed, 12 Jan 2022 16:49:23 +0100 (CET) Received: from localhost ([::1]:42508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7fsJ-0005Gz-1o for larch@yhetil.org; Wed, 12 Jan 2022 10:49:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7fH4-0003v9-Ps for emacs-orgmode@gnu.org; Wed, 12 Jan 2022 10:10:54 -0500 Received: from [2607:f8b0:4864:20::733] (port=36744 helo=mail-qk1-x733.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7fGx-0007Zo-TE for emacs-orgmode@gnu.org; Wed, 12 Jan 2022 10:10:49 -0500 Received: by mail-qk1-x733.google.com with SMTP id h16so2799441qkp.3 for ; Wed, 12 Jan 2022 07:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eflor-net.20210112.gappssmtp.com; s=20210112; h=from:to:cc:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DaAzg2nzxh/vk/PV8zZMgaPPo2G8TdlrIUP78eUOlz4=; b=626K0NVWHSOMKVtyRHOujWDRys3VAPr38TGFOPpgS9rdxeQ96z3wHpMvaGNZSifcwf Q41mRmqAXb1wuZMO0fh+QxpqP3aa2lNNtIDPU/BkAi9ReAo6wqivfOoly86kLCo8qWWU AFbyzFn0dqx/4xJD2qLzXS7qzdqkooYeTVoVjrAf2JizvLR265WhBQjYCmD+T7EMD22y N5q2bf+2E3BMAhkfeqEGP7x43aPo1qgZR4bVQXy9BAiDirwTQijfYWIGg977V/L2ElNy 3qvKKwmatluJigLoRPA2UeT5TOw7BwaimmMs2hUQxFNomBURA8Le0ZOCbaBUKntgEv6X n7RA== 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:cc:subject:in-reply-to:references :date:message-id:mime-version; bh=DaAzg2nzxh/vk/PV8zZMgaPPo2G8TdlrIUP78eUOlz4=; b=j29a2R+wDfUSmoYuzC7aVyyRUEaURegD3+i+CQA0eKO9/JqW83u/vjOZSnXA15cGVd 0r4/exlJ3Yb8xa9WafifYxCtEDmJBDL+QWYx46cBdLzEVMmGh3kYNDjw9ML3TC17mb9m 0bJCaHKhSajqrDmW7hfO862/+0IeNofqHVpX0FXXv8s6B+ofIzVl9TLVrxBpAr42fsKF v6nXV/a3vRh6qhTcYSEaRto8gmCxaZE3F1LF8H/UHUOzjkKs2Nh0yAgMV8DstLCGUjbM Itdlve6NAbDf3+inhobGIfggv1x6+vJdw/vKUBNRxhOPSCtLPZyAytKWZr1oUgylMYti f+Zg== X-Gm-Message-State: AOAM5326HIyxBmTCIgqbBToRAbr5hd6rxRbwtS9pApVq1Vs6VAo4P6L1 wP9ZCxMYtKMt3HdK+2a6E9DQHg== X-Google-Smtp-Source: ABdhPJwt+RESHbKddXUBpPfUVyjJgnjOCPahVW6AhUapD3RSex0wEwm3FMW4ex3Z8gr1n2csQ9OlCw== X-Received: by 2002:a05:620a:4082:: with SMTP id f2mr87816qko.67.1642000245576; Wed, 12 Jan 2022 07:10:45 -0800 (PST) Received: from localhost ([2601:184:487f:91f0::b9cb]) by smtp.googlemail.com with ESMTPSA id s13sm9123720qkp.107.2022.01.12.07.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 07:10:45 -0800 (PST) From: Enrico Flor To: Ihor Radchenko Subject: Re: Cannot set invisible text property In-Reply-To: <87fsptoxrf.fsf@localhost> References: <87pmp41nx1.fsf@eflor.net> <87fsptoxrf.fsf@localhost> Date: Wed, 12 Jan 2022 10:10:44 -0500 Message-ID: <878rvlrnuz.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::733 (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::733; envelope-from=enrico@eflor.net; helo=mail-qk1-x733.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: , Cc: , emacs-orgmode@gnu.org 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=1642002563; 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=DaAzg2nzxh/vk/PV8zZMgaPPo2G8TdlrIUP78eUOlz4=; b=hpfBbnWPOE9CBLn4A8l8DmQpF3Ave+IGvgbCniR6lfvsP8wANH9yWA7trgRNU0GZLJCDFs j+Gj6DXqn8ZLMvQMAHWya9IQ3SW1FZO/YQgccg0BXNYVdQMJMFx1P9IA58PzRYyfOxl46c Gllag3eyUW6Xd/2f/N+Jp/sBTmK/H784taabj/7druMUaEoFomBQhVpgwOEd3TeyGJRd1S k4ZOy09LEPrGeSeIuRspZaxNZ3BpLeHMBMeF657BevL1YQceFPeOPMkOByq8zOsfxd/Exk KqlxdyfrtYxyrSEn+iM3TzbwnMZCZsk3YLKvmdcIpmxmMopvJ7AtCJGENUR/ww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642002563; a=rsa-sha256; cv=none; b=Q+m3kLaKysz4kjM7S+tfQlhELiLE6rby1nDnoBfAHTB9nkMcpUBzqHh3AjfICHj+Nq5h/b 9o2+BrnRBVT1MakIJgh8oHfO6t5eZqHDOV/UpZa8u/ci8/6xh7ROuVeRLOgXuz2d2qD+vw HzOs/oChVIrRdaUO1/D41npzVzzidpe0+sX9cHzqLmiCJwe2kAkRrtfLFWSwhwyuPZUz3q DSz0VLi4PlDuunADRgX0dTXRWxyIf6dBhoiYJrhdQ7AwJ32P7d4O/BcaZqXgWTCj2p9jw3 S7TleZriR/Fqy27USpOjwEBAOVmETNwKgxMmBtB/vWO/By7HlISb0/Hno6tSjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eflor-net.20210112.gappssmtp.com header.s=20210112 header.b=626K0NVW; 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: -4.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eflor-net.20210112.gappssmtp.com header.s=20210112 header.b=626K0NVW; 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: CE0AAB7DE X-Spam-Score: -4.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: NylpD9jEvovu --=-=-= Content-Type: text/plain Ihor Radchenko writes: > This is because Org makes use of invisible text property during > fontification. You should either apply invisibility in Org through > font-lock, or do it temporarily until next re-fontification via > (with-silent-modifications (add-text-properties 1 3 '(invisible t))) Thank you so much! At some point I figured I had to actually study font-lock and I did solve it, with font-lock-add-keywords. Enrico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEERVv7soLxAz8JCV7Vj/ouJc5xpgYFAmHe73QRHGVucmljb0Bl Zmxvci5uZXQACgkQj/ouJc5xpgYq5xAAgIaBIRkxKRsl+cZgL3A1znQaItQQR2v2 8t1AVba+iyv+JIs4p5Hbt+8zK65KhkNmk7Dju8p6RmZhVWmK4ylAJ/jWPwdPOepT 5GCPVvzakrw4S8dHUpfLPNhvbI4nJv1ltGCWOxtSqN5bObsLjzP390/gRQ8KGJBM NWU8I8seqtOEHSCwbKqnrFpiDinKOIs+EV7L8eoSglsL/l2Wk3LTIudPUa6FKhDP RijCYgCS3H38pjX5BpUujY6sfqYCmAEf4Z/0wQcnhG+U8mFfwpt/CYIJ7ewVrWFz RzEVmWGUcQeohgpRDOohtMGhF4slAu+fcFqGo1kEyDJnGK9ouHUxNAbjOOiZaFve FIJRnXy49x2ctkULl0pC5qdI9EUyBmby7MmMTsix5cg4pOSe2egtaYUaqJrq6hui 9WtkxWk2AY3In/9ENYL6ali+EPu9A0jCMnqgQnkG12gYWUawu7dD3WjD5G2/M1Bi hUDiEltWcD+MnZgJRzifDSHzWjUrO0qAB25v3yM1dDSUjrc0AsXdM0pzog+OY+2n vkHj52nemENcCtax8U/kF2BQIdkZZqOGTz1mtFALZCGDnAS/vhI8/74H5ijnIoBz 8hIqzcwq1xzf66OROD4CmV5Y+WO2HdU9x8+6XWCA7MoZosfnGLsrSDN8NEfLXXgf JKYc5PSzIC8= =SkQC -----END PGP SIGNATURE----- --=-=-=--