From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Shrinking columns after formula recalculation
Date: Sat, 13 Apr 2019 09:48:11 +0200 [thread overview]
Message-ID: <87ftqmny6c.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87bm1dbsjz.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Wed, 10 Apr 2019 14:53:36 -0400")
Hello,
Nick Dokos <ndokos@gmail.com> writes:
> I have a table with column width cookies. I shrink the columns with
> C-u C-c TAB and then I recalculate with C-c C-c on the #TBLFM
> line. The columns then get expanded and I have to do the C-u C-c TAB
> again after every recalculation. Is there a way to have the columns
> stay shrunk?
>
> Example: An unsolved problem in number theory: for what values of n
> is n! - 1 a prime?
>
> | n | n! -1 | prime? |
> |----+-------------------------------------------+--------|
> | / | <10> | |
> | 30 | 265252859812191058636308479999999 | 1 |
> | 31 | 8222838654177922817725562879999999 | 0 |
> | 32 | 263130836933693530167218012159999999 | 1 |
> | 33 | 8683317618811886495518194401279999999 | 1 |
> | 34 | 295232799039604140847618609643519999999 | 0 |
> | 35 | 10333147966386144929666651337523199999999 | 0 |
>
> #+TBLFM: @3$2..@>$2 = fact($1) -1 :: @3$3..@>$3 = prime($2, 10)
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2019-04-13 7:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 18:53 Shrinking columns after formula recalculation Nick Dokos
2019-04-13 7:48 ` Nicolas Goaziou [this message]
2019-04-15 2:50 ` Nick Dokos
2019-04-15 10:24 ` Nicolas Goaziou
2019-04-15 12:47 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftqmny6c.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.