unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Richard Stallman <rms@gnu.org>
Cc: Michal Nazarewicz <mina86@mina86.com>, emacs-devel@gnu.org
Subject: Re: [RFC] Add :invisible face attribute
Date: Mon, 23 Dec 2024 09:19:32 +0300	[thread overview]
Message-ID: <Z2kA9O8IsarnHcAn@lco2> (raw)
In-Reply-To: <E1tOrSl-0001Y7-G4@fencepost.gnu.org>

* Richard Stallman <rms@gnu.org> [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



  parent reply	other threads:[~2024-12-23  6:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-18 16:08 [RFC] Add :invisible face attribute Michal Nazarewicz
2024-12-18 16:52 ` Eli Zaretskii
2024-12-18 18:05   ` Michal Nazarewicz
2024-12-21 17:46   ` Jim Porter
2024-12-21 18:28     ` Ihor Radchenko
2024-12-21 18:52       ` Jim Porter
2024-12-21  4:51 ` Richard Stallman
2024-12-21 16:09   ` Michal Nazarewicz
2024-12-21 18:05     ` Kévin Le Gouguec
2024-12-21 18:30       ` Ihor Radchenko
2024-12-22 14:38         ` Kévin Le Gouguec
2024-12-22 15:28           ` Michal Nazarewicz
2024-12-22 15:20       ` Michal Nazarewicz
2024-12-23  6:19   ` Jean Louis [this message]
2024-12-23  6:22   ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z2kA9O8IsarnHcAn@lco2 \
    --to=bugs@gnu.support \
    --cc=emacs-devel@gnu.org \
    --cc=mina86@mina86.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).