emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I would like invisible table in Org mode
@ 2024-12-21 16:29 Jean Louis
  2024-12-21 18:03 ` William Denton
  2024-12-24 11:25 ` Ihor Radchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Jean Louis @ 2024-12-21 16:29 UTC (permalink / raw)
  To: Emacs Org Mode

I would like native Org mode within Emacs to show me invisible table.

Is that possible?

Jean Louis


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
  2024-12-21 16:29 I would like invisible table in Org mode Jean Louis
@ 2024-12-21 18:03 ` William Denton
       [not found]   ` <Z2kG76dEO_c8Frm9@lco2>
  2024-12-24 11:25 ` Ihor Radchenko
  1 sibling, 1 reply; 7+ messages in thread
From: William Denton @ 2024-12-21 18:03 UTC (permalink / raw)
  To: Jean Louis; +Cc: Emacs Org Mode

On Saturday, December 21st, 2024 at 11:29, Jean Louis <bugs@gnu.support> wrote:

> I would like native Org mode within Emacs to show me invisible table.
> 
> Is that possible?

Can you explain more?  What do you mean by an invisible table?  


Cheers,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
       [not found]   ` <Z2kG76dEO_c8Frm9@lco2>
@ 2024-12-23 17:21     ` William Denton
  2024-12-23 20:32       ` Jean Louis
  0 siblings, 1 reply; 7+ messages in thread
From: William Denton @ 2024-12-23 17:21 UTC (permalink / raw)
  To: Jean Louis; +Cc: Emacs Org Mode

On Monday, December 23rd, 2024 at 01:45, Jean Louis <bugs@gnu.support> wrote:

> Instead of following:
> 
> | Column | | Column |
> |-----------------------+-----------+-------------------|
> | The dog is happy | | The dog is happy |
> | I am very happy | | I am very happy |
> | The dog is very happy | | The sun is bright |
> 
> To get following:
> 
> Column Column
> 
> The dog is happy The dog is happy
> I am very happy I am very happy
> The dog is very happy The sun is bright

There's no way in native Org to do that, and I've never seen any package or customization that would do that.  I have no idea if it's possible somehow, but it's a great idea.


Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
  2024-12-23 17:21     ` William Denton
@ 2024-12-23 20:32       ` Jean Louis
  0 siblings, 0 replies; 7+ messages in thread
From: Jean Louis @ 2024-12-23 20:32 UTC (permalink / raw)
  To: William Denton; +Cc: Emacs Org Mode

* William Denton <william@williamdenton.org> [2024-12-23 20:21]:
> On Monday, December 23rd, 2024 at 01:45, Jean Louis <bugs@gnu.support> wrote:
> 
> > Instead of following:
> > 
> > | Column | | Column |
> > |-----------------------+-----------+-------------------|
> > | The dog is happy | | The dog is happy |
> > | I am very happy | | I am very happy |
> > | The dog is very happy | | The sun is bright |
> > 
> > To get following:
> > 
> > Column Column
> > 
> > The dog is happy The dog is happy
> > I am very happy I am very happy
> > The dog is very happy The sun is bright
> 
> There's no way in native Org to do that, and I've never seen any package or customization that would do that.  I have no idea if it's possible somehow, but it's a great idea.

Thanks. 

There is that invisible face, and of Org table has face then it could
be set invisible, but I think then whole table would disappear.

You can mark text and try M-x facemenu-set-invisible

-- 
Jean Louis


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
  2024-12-21 16:29 I would like invisible table in Org mode Jean Louis
  2024-12-21 18:03 ` William Denton
@ 2024-12-24 11:25 ` Ihor Radchenko
  2024-12-24 20:34   ` Jean Louis
  1 sibling, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2024-12-24 11:25 UTC (permalink / raw)
  To: Jean Louis; +Cc: Emacs Org Mode

Jean Louis <bugs@gnu.support> writes:

> I would like native Org mode within Emacs to show me invisible table.
>
> Is that possible?

Yes, why not?
If we make table fontification more granular in
`org-set-font-lock-defaults' and apply a separate face to | separators
in the table lines, that face could be set to `org-hide'.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
  2024-12-24 11:25 ` Ihor Radchenko
@ 2024-12-24 20:34   ` Jean Louis
  2024-12-25  7:50     ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Jean Louis @ 2024-12-24 20:34 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Emacs Org Mode

* Ihor Radchenko <yantar92@posteo.net> [2024-12-24 14:24]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > I would like native Org mode within Emacs to show me invisible table.
> >
> > Is that possible?
> 
> Yes, why not?
> If we make table fontification more granular in
> `org-set-font-lock-defaults' and apply a separate face to | separators
> in the table lines, that face could be set to `org-hide'.

I think that Emacs' invisible face is actually hiding lines, so that
one is not suitable, probably not suitable for hiding of tables'
lines. As only tables character boxes or lines are to be hidden but
not their content.

That would optimize layouts for 2 columns, 3 columns, or more, better
utilizing the available screen space for presenting data.

I use Org mode daily for my dashboard, but it's quite lengthy and not
wide, basically half of Emacs and more than half on the right side is
empty. 

Lines of tables do not look as nice and I find it rather distracting
in cases where only the content is important.

-- 
Jean Louis


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: I would like invisible table in Org mode
  2024-12-24 20:34   ` Jean Louis
@ 2024-12-25  7:50     ` Ihor Radchenko
  0 siblings, 0 replies; 7+ messages in thread
From: Ihor Radchenko @ 2024-12-25  7:50 UTC (permalink / raw)
  To: Jean Louis; +Cc: Emacs Org Mode

Jean Louis <bugs@gnu.support> writes:

>> Yes, why not?
>> If we make table fontification more granular in
>> `org-set-font-lock-defaults' and apply a separate face to | separators
>> in the table lines, that face could be set to `org-hide'.
>
> I think that Emacs' invisible face is actually hiding lines, so that
> one is not suitable, probably not suitable for hiding of tables'
> lines. As only tables character boxes or lines are to be hidden but
> not their content.

I was specifically talking about `org-hide' face. It is not an invisible
face. It simply makes foreground match background.

And I did not talk about applying it to the whole table rows. Just to
"|" separators.

> That would optimize layouts for 2 columns, 3 columns, or more, better
> utilizing the available screen space for presenting data.

Completely hiding text is possible. But please do it in third-party
packages.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-25  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21 16:29 I would like invisible table in Org mode Jean Louis
2024-12-21 18:03 ` William Denton
     [not found]   ` <Z2kG76dEO_c8Frm9@lco2>
2024-12-23 17:21     ` William Denton
2024-12-23 20:32       ` Jean Louis
2024-12-24 11:25 ` Ihor Radchenko
2024-12-24 20:34   ` Jean Louis
2024-12-25  7:50     ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).