emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-table-toggle-column-width turn on for either all tables
@ 2021-09-10 17:19 Uwe Brauer
  2021-09-10 17:51 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2021-09-10 17:19 UTC (permalink / raw)
  To: emacs-orgmode


Hi

I find 

(org-table-toggle-column-width &optional ARG)

Very very useful, but in the current org version I have to toggle this
for each and every table. 

So I was wondering, when opening an org file 

    1. Would it be possible to have all tables in an org-file have their
       column toggled.

    2. Or with a special variable for single tables, just some of them?

Regards

Uwe Brauer 



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

* Re: org-table-toggle-column-width turn on for either all tables
  2021-09-10 17:19 org-table-toggle-column-width turn on for either all tables Uwe Brauer
@ 2021-09-10 17:51 ` Nick Dokos
  2021-09-10 19:41   ` Uwe Brauer
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2021-09-10 17:51 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Hi
>
> I find 
>
> (org-table-toggle-column-width &optional ARG)
>
> Very very useful, but in the current org version I have to toggle this
> for each and every table. 
>
> So I was wondering, when opening an org file 
>
>     1. Would it be possible to have all tables in an org-file have their
>        column toggled.

You mean shrunk? If so, there is a #+STARTUP option for that:

#+STARTUP: shrink

>
>     2. Or with a special variable for single tables, just some of them?
>
I don't know of any such variable.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler



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

* Re: org-table-toggle-column-width turn on for either all tables
  2021-09-10 17:51 ` Nick Dokos
@ 2021-09-10 19:41   ` Uwe Brauer
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2021-09-10 19:41 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]


> Uwe Brauer <oub@mat.ucm.es> writes:

> You mean shrunk? If so, there is a #+STARTUP option for that:

> #+STARTUP: shrink

Very nice, thanks precisely what I was looking for.


> I don't know of any such variable.

That is not necessary, since only column with explicit 
width options are shrunk. That is all what is needed.

|          | <18>                       | <18>                    |     |      | 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

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

end of thread, other threads:[~2021-09-10 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-10 17:19 org-table-toggle-column-width turn on for either all tables Uwe Brauer
2021-09-10 17:51 ` Nick Dokos
2021-09-10 19:41   ` Uwe Brauer

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).