emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to document/comment a complex org table formula
@ 2021-07-04 19:14 Uwe Brauer
  2021-07-05 14:13 ` Eric S Fraga
  2021-07-05 17:12 ` Karl Voit
  0 siblings, 2 replies; 14+ messages in thread
From: Uwe Brauer @ 2021-07-04 19:14 UTC (permalink / raw)
  To: emacs-orgmode


Hi 

It turns out that I have to deal with a bit more complex table formula
of the form 

#+begin_src elisp
#+TBLFM: $6=if($2>10,($2-10)*@2$7,0)+ min(10,$2)*@2$2+ min(10,$3)*@2$3 + if($4>10,($4-10)*@2$7,$4)+min(10,$4)*@2$4 +@2$5*$5;f1 
#+end_src

Is there any way to document or comment such a formula, since I am sure
that within days I don't remember why I chose that formula?

Regards

Uwe Brauer  



^ permalink raw reply	[flat|nested] 14+ messages in thread
* how to document/comment a complex org table formula
@ 2021-07-05  5:31 CHARPENTIER Emmanuel via General discussions about Org-mode.
  2021-07-05  6:29 ` Uwe Brauer
  0 siblings, 1 reply; 14+ messages in thread
From: CHARPENTIER Emmanuel via General discussions about Org-mode. @ 2021-07-05  5:31 UTC (permalink / raw)
  To: oub@mat.ucm.es; +Cc: emacs-orgmode@gnu.org

Limbic answer : 
  - create an emacs-lisp function doing what you want
  - comment /ad libitum/
  - call this function in your spreadsheet.

HTH,

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

end of thread, other threads:[~2021-07-08 20:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-04 19:14 how to document/comment a complex org table formula Uwe Brauer
2021-07-05 14:13 ` Eric S Fraga
2021-07-05 14:45   ` Uwe Brauer
2021-07-05 14:55   ` Tim Visher
2021-07-05 15:20     ` Jude DaShiell
2021-07-05 17:10       ` Uwe Brauer
2021-07-05 17:24         ` Jude DaShiell
2021-07-05 15:39     ` Eric S Fraga
2021-07-05 17:08     ` Uwe Brauer
2021-07-05 17:12 ` Karl Voit
2021-07-05 19:35   ` Uwe Brauer
  -- strict thread matches above, loose matches on Subject: below --
2021-07-05  5:31 CHARPENTIER Emmanuel via General discussions about Org-mode.
2021-07-05  6:29 ` Uwe Brauer
2021-07-08 20:19   ` Nick Dokos

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