emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "\"Tobias Nähring\"" <i_inbox@tn-home.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09]
Date: Tue, 8 May 2012 08:55:18 +0200 (CEST)	[thread overview]
Message-ID: <1209384792.845778.1336460118982.JavaMail.open-xchange@email.1und1.de> (raw)

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

Emacs  : GNU Emacs 23.4.1 (i686-pc-cygwin, GTK+ Version 2.24.8)

of 2012-01-29 on fiona

Package: Org-mode version 7.8.09



This bug concerns org-tables.



Field formulas with hline-address on right-hand side don't work anymore.



See the formula below the next table.

There, the address on the right-hand side is @II$1.

The result in @3$1 should be 3.

Nevertheless, re-calculation delivers nothing. The entry of @3$1 remains on
the old value (whatever was entered before).

If one replaces "@II$1" with "@3$1" within the formula one gets the right
result.



|---|

| 1 |

| 2 |

|---|

| 0 |

#+TBLFM: @II$1=vsum(@I$1..@II$1)



I already tried to turn on “Debug Formulas” but this did not help. This
gave just no change in the reaction of the re-calculate command.



Note, that on the other hand the formula below the next table works. As
expected, the 1 in field @1$1 is replaced with the 3 from field @II$1.



|---|

| 1 |

| 2 |

|---|

| 3 |

#+TBLFM: @1$1=@II$1





Pityingly, I can't easily reproduce the former version of orgmode where
this

worked. (I installed over the former version without backup. I should not
have done this.)

Please, inform me if this version number is really important for

the bug-fix. Maybe, I find the time to put more effort in this. I.e.,
install former version until I get one where the field formulas work.



A fast fix would be great since I need the hline-references in field
formulas very much (large variable number of columns in tables, calculate
maximum norm of column sections and stuff like that…,). I have old
org-files where I need to re-calculate stuff like that.



current state:

==============

(setq

org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)

org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)

org-metaup-hook '(org-babel-load-in-session-maybe)

org-after-todo-state-change-hook '(org-clock-out-if-current)

org-export-latex-format-toc-function 'org-export-latex-format-toc-default

org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe

                                     org-babel-hide-result-toggle-maybe)

org-src-mode-hook '(org-src-babel-configure-edit-buffer

                                    org-src-mode-configure-edit-buffer)

org-confirm-shell-link-function 'y-or-n-p

org-export-first-hook '(org-beamer-initialize-open-trackers)

org-agenda-before-write-hook '(org-agenda-add-entry-text)

org-babel-pre-tangle-hook '(save-buffer)

org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers

                                 org-cycle-show-empty-lines


org-optimize-window-after-visibility-change)

org-descriptive-links nil

org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)

org-mode-hook '((lambda nil

                                 (org-defkey org-mouse-map [mouse-3] (quote
org-mouse-3-menu))

                                 (setq
pcomplete-default-completion-function

                                  (quote (lambda nil (hippie-expand nil))))

                                 )

                               #[nil "\300\301\302\303\304$\207"

                                  [org-add-hook change-major-mode-hook
org-show-block-all append

                                   local]

                                  5]

                               #[nil "\300\301\302\303\304$\207"

                                  [org-add-hook change-major-mode-hook
org-babel-show-result-all

                                   append local]

                                  5]

                               org-babel-result-hide-spec
org-babel-hide-all-hashes)

org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)

org-confirm-elisp-link-function 'yes-or-no-p

org-export-interblocks '((src org-babel-exp-non-block-elements))

org-clock-out-hook '(org-clock-remove-empty-clock-drawer)

org-occur-hook '(org-first-headline-recenter)

org-from-is-user-regexp "\\<U-ITIHQ\\\\Tobias\\.Naehring\\>"

org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)

org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc


org-beamer-auto-fragile-frames


org-beamer-place-default-actions-for-lists)

org-metadown-hook '(org-babel-pop-to-session-maybe)

org-export-blocks '((src org-babel-exp-src-block nil)

                                    (export-comment
org-export-blocks-format-comment t)

                                    (ditaa org-export-blocks-format-ditaa
nil)

                                    (dot org-export-blocks-format-dot nil))

)



Best regards,

Tobias


[-- Attachment #2: Type: text/html, Size: 10010 bytes --]

             reply	other threads:[~2012-05-08  6:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08  6:55 "Tobias Nähring" [this message]
2012-05-08 17:15 ` Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09] Achim Gratz
2012-05-09  5:46   ` Achim Gratz
2012-05-10  7:15     ` Tobias
2012-05-10 10:19       ` Carsten Dominik
2012-05-10 10:04     ` Carsten Dominik
2012-05-10 17:50       ` Achim Gratz
2012-05-10 18:57         ` Carsten Dominik
2012-05-10 19:32           ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2012-05-07  8:46 Tobias Nähring

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.orgmode.org/

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

  git send-email \
    --in-reply-to=1209384792.845778.1336460118982.JavaMail.open-xchange@email.1und1.de \
    --to=i_inbox@tn-home.de \
    --cc=emacs-orgmode@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/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).