From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Add :invisible face attribute Date: Mon, 23 Dec 2024 09:19:32 +0300 Message-ID: References: <20241218160813.31108-1-mina86@mina86.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: Michal Nazarewicz , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 23 07:20:39 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 1tPbny-0009QX-SY for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Dec 2024 07:20:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPbn8-0007YT-4p; Mon, 23 Dec 2024 01:19:46 -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 1tPbn6-0007YG-28 for emacs-devel@gnu.org; Mon, 23 Dec 2024 01:19:44 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPbn4-0006uk-FP; Mon, 23 Dec 2024 01:19:43 -0500 Original-Received: from localhost ([::ffff:41.75.183.124]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000007DC8B.00000000676900FA.0010D033; Sun, 22 Dec 2024 23:19:38 -0700 Mail-Followup-To: Richard Stallman , Michal Nazarewicz , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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:326900 Archived-At: * Richard Stallman [2024-12-21 07:54]: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > Introduce :invisible face attribute which makes foreground to be the > > same as background rendering the text invisible; or when :invert-video > > is also in effect, background is the same as foreground. > > Why is this feature worth having> What is useful about it? It would be useful to me: I have tables made out of Box Drawing Characters which I display in the Org file and which I would like to use for multi-column display of some information. Here is not a proper, though similar example: ╔════════════════════════╦════════╦══════════════════════════════╦═══════╗ ║ Total number of people ║ 242775 ║ Total Hyperdocuments ║ 64891 ║ ╠════════════════════════╬════════╬══════════════════════════════╬═══════╣ ║ People in last week ║ 18 ║ Hyperdocuments in last week ║ 186 ║ ╠════════════════════════╬════════╬══════════════════════════════╬═══════╣ ║ People in last month ║ 175 ║ Hyperdocuments in last month ║ 879 ║ ╚════════════════════════╩════════╩══════════════════════════════╩═══════╝ In some cases I do not want Box Drawing Characters be displayed, then I would make them simply invisible on the top level of Emacs instead of changing the underlying library to display " " space. I was in fact thinking that invisible property already exists in Emacs. Just these days I started using tables with the " " space to solve that problem. It looks as below: Total number of people 242775 Total Hyperdocuments 64891 People in last week 18 Hyperdocuments in last week 186 People in last month 175 Hyperdocuments in last month 879 Property invisible helps to remove some for display or demonstration unwanted characters. Jean Louis