From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Add :invisible face attribute Date: Sun, 22 Dec 2024 16:28:40 +0100 Message-ID: References: <20241218160813.31108-1-mina86@mina86.com> <87frmgq5c2.fsf@gmail.com> <87jzbsanxw.fsf@localhost> <87frmfbx59.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec , Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 22 16:29:08 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tPNtE-0001RT-Dv for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Dec 2024 16:29:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPNsu-0008OP-TL; Sun, 22 Dec 2024 10:28:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPNss-0008OD-QM for emacs-devel@gnu.org; Sun, 22 Dec 2024 10:28:46 -0500 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPNsr-0004Wj-2Q; Sun, 22 Dec 2024 10:28:46 -0500 Original-Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5d3f65844deso5381072a12.0; Sun, 22 Dec 2024 07:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734881323; x=1735486123; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:face :references:in-reply-to:subject:cc:to:from:sender:from:to:cc:subject :date:message-id:reply-to; bh=XlynGdMydrjPhesERpXT+w2WUQgbLJCBrZEhxwluTF0=; b=gFaR07thHCfJPE7OcJbRNVGhG8nOMH26C0GQu7NSfmHIGUdIoyb7WgcA8UvNgNLa/f 5ZkzbOEIGquKDkbGHdHpu9Lnik1IHDOfNWiGOOuGRmjh2+2qigT6Jrc6kN4QZgpPWpvC SPIOXDPH+AvAnD27Nem70SEIlqi+heAQjhfWknaSRGYyQmDzRhn/tyId6MciHoLP570I qqHdvPg6DMemUfWqICKtgbW46BmGsVSCXObCL3dXKfFKtqUVA8qAYx84Fpg2FFQHb6DH Jv1QyVoJoQ/Ke8srDdZ6N2G0sAPkwrGSB5XXYhoBeE/BAgz8GR0ZyUi8ueTHv5aLCRlM YOlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734881323; x=1735486123; h=content-transfer-encoding:mime-version:message-id:date:face :references:in-reply-to:subject:cc:to:from:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XlynGdMydrjPhesERpXT+w2WUQgbLJCBrZEhxwluTF0=; b=o0NCHZpXbFuCI3MZN8v276Dy2Cp4b6sEPR2BBdvAhuQbhItN7LX/UX3u3YTK4pdeYY GBA5wdd6B0K04U9/YmqBp7zBDNLKX4el/zt4QAOkx6Xjv6gLhoHqeZu2Qli9JvkeKviw cju6g1Nt1frY3dbjPVxxvpOY/8VKji78GT38jUFve8P5XHO1RwFQZTrHUxxKP0kJ6d/u UXTt0tVMQEOcMnGB5kYa00SAUwX7Uo2TQ3SJnyVOQMGSnzfWUoYV0o+fhK/8EpvhQ5+2 qGPNlGWjHvHSM/BKizN/iKMBzuX0+ApLWFo9Juphv2vibFcX2WRKChq/QmGgSlE4KQE3 cnKQ== X-Forwarded-Encrypted: i=1; AJvYcCW9ezEqSQEcxvtheg6+kY3YtBXt7ImEqg8Hdbd7fccTgtWOtFqSFjuEFTO8WQM0NdwSLayVgniBHWsXyw==@gnu.org X-Gm-Message-State: AOJu0YwpL2VOeNcwAfM7/embuvNfQdZeC1rida0yGeFZX1inc/gBuEiR i4v+yOqhZD+yHFnN1B/v+ZS8Ok/W0ci7l8OODGkmX8oMQOp2vTq/Bx99uw== X-Gm-Gg: ASbGncsXb2xVdMoJtCdAcCbuPAd1ryQbyGBAnGt8oyBApqRTAgP/RNX47dnGhBpdicE /n3v4tiZ4y2zxtQiBlD7/91liNQ116oTeHTy6M+J029+QwFuUpsrETDb/XMiOm/fumITVnD/iIc c791F91z6URGzyk1LirqdKff99R32PRELmK1Cg2XVQmU5FZEQL5yow2NUau0vjd1DIiNtcnEjxv IrXVYBFA73J56Bo00WhKa07LrfSAXUvxrEnGUmlo+8+Hjv8hCcfZxzYVNST4jQAv8VQoa8Ld6Th ESGs5g== X-Google-Smtp-Source: AGHT+IETcSw8woqTAxSxLsTFdwQ9iXlwv0vV2DH2aMGlQ3B2V03SB4AxgnJnJVSm6U6M+TZV5GF91A== X-Received: by 2002:a05:6402:501b:b0:5d0:efaf:fb73 with SMTP id 4fb4d7f45d1cf-5d81ddc3ca4mr8331904a12.15.1734881322605; Sun, 22 Dec 2024 07:28:42 -0800 (PST) Original-Received: from erwin (87-205-2-211.static.ip.netia.com.pl. [87.205.2.211]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80701c9d7sm3782055a12.87.2024.12.22.07.28.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 07:28:42 -0800 (PST) In-Reply-To: <87frmfbx59.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWjgIPUupJ7V0jLrom4gmjPs42bY0MdFRLHgE5UPDCbfGm9mH6qmkAJAAACNUlEQVQ4y23SMW/aQBQHcKtb2Zx0abZeIxuTCSELJVmiinboRpGHJktloROQzUQcB2vUXFe35XBYUicRAiYUVSjfru/d+QwlnDz5p/97z+dnVcw5WVQ2zxpcdrQTTiIin3bB6lcaTnaBO5c8eoJG2yBl5El+Ob3fglMW3RUIkQ9xxQ8UBEFQafiVZ/5wZqWExM+LvwEegAY856xZO7MgQkq3jxpO56GXxO5VDQAjpVmWqPLYoSGvIahIuvAVHLeEEDd9DRYAkUcKzscAUgCQ0hwSKBOExuh7kvQQUskY4yjsHqeaCfFjLK6x1AzeeyiRD/C1JW5aGqw5IS5mZre+FVz0RVtoUGPJmBCP/4QPJGKUA1oEMJwAHIv+JljYZYCJi1FRQS2DaUw6sgsQTMfb0Fz9RvjyP3iR01x9RGj0N6HgcefS819CSjidDwIFPSFEDgRg1tUw2oBXAB33T2DV63XbM6AqhZzysm3ZcKZrKBAn5O7Q1rAqGoBKNGRsmUG1n0NKaJtd2RnscTWvnom6fGngDaNrCNl728A+c2gLQP8PFpkEjNWjlGqQfPEhWRqoInSyi2p+drsGDjhAeAeSQI8kfjSwbwCn8gblvIftInzT30HdQT2HlU4gwCbLSQ7VFqVEA0RCtjTwtnjdLlkasNjQwF7x02F2iQSL8XIGB8 VQ71WBKHHf5XCIgLUUtIcGSBPhdZIQorpEBrxsqT3GYgRpmicIqrsEgSZm3FG+iJbHYid0/wGj+iTGCXRsqQAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=mnazarewicz@gmail.com; helo=mail-ed1-x534.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_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.167, 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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326858 Archived-At: >> K=C3=A9vin Le Gouguec writes: >>> Drive-by idea, from another org-hide-leading-stars user who encounters >>> the first bug occasionally (or rather, a variant thereof, when >>> highlighting headings with faces like region or hl-line): > Ihor Radchenko writes: >> IMHO, this is not a bug, but a feature :) On Sun, Dec 22 2024, K=C3=A9vin Le Gouguec wrote: > Yeah, there is some appeal in revealing the actual text when > highlighting it or moving over it (which of course, spelled like that, > brings to mind the reveal-mode integration in authinfo--hide-passwords, > but not sure there's anything interesting to take out of that free > association). > > (Does the :invisible attribute preserve that "feature"?) Yes, in fact :invisible is arguably better because the effect can be configured. You can add :invisible nil to region or hl-line face and then the stars are show; or you can leave :invisible unspecified and the stars remain hidden. --=20 Best regards =E3=83=9F=E3=83=8F=E3=82=A6 =E2=80=9C=F0=9D=93=B6=F0=9D=93=B2=F0=9D=93=B7= =F0=9D=93=AA86=E2=80=9D =E3=83=8A=E3=82=B6=E3=83=AC=E3=83=B4=E3=82=A4=E3=83= =84 =C2=ABIf at first you don=E2=80=99t succeed, give up skydiving=C2=BB