emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Org Table: Field formulas with hline-address on right-hand side


From: Tobias Nähring
Subject: [O] 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)

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(@address@hidden)

 

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: @address@hidden

 

 

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

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]