emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09]
@ 2012-05-07  8:46 Tobias Nähring
  0 siblings, 0 replies; 10+ messages in thread
From: Tobias Nähring @ 2012-05-07  8:46 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 6498 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 Nähring
Engineering / Software Development
--
_________________________________

ITI News & Events
New Version: SimulationX 3.5 <http://www.itisim.com/simulationx/system-simulation/current-version/simulationx-35/> 
SimulationX Info Day Stuttgart, 21 May <http://www.iti.de/aktuelles/events/839-21052012-simulationx-informationstag-stuttgart/> 
VDI Congress "Drivetrain for Vehicles", 19-20 June <http://www.itisim.com/events/858-19th-20th-june-2012-getriebe-in-fahrzeugen/> 

 

www.itisim.com <http://www.itisim.com> 

ITI GmbH
Webergasse 1
01067 Dresden Germany
T +49 (351) 26050 124
F +49 (351) 26050 155
Naehring@itisim.com <mailto:Naehring@itisim.com> 

 

Managing Director/Geschäftsführer
Jens O. Schindler · Dr. Andreas Uhlig

Commercial Register/Handelsregister
Amtsgericht Dresden · HRB 2331
USt.-IdNr.: DE140297717

Diese E-Mail ist streng vertraulich und nur für den
Empfänger bestimmt. Sie kann Informationen 
enthalten, die rechtliche, geschäftliche oder andere 
Vergünstigungen bedeuten.
Sollten Sie nicht der ausdrückliche Empfänger
sein, dürfen Sie diese Informationen nicht benutzen,
veröffentlichen oder vervielfältigen.

The information in this e-mail is strictly confidential, is intended
solely for the addressee, and may be privileged. If you are not the
intended addressee you must not disclose, print or take action
based upon this transmission and should delete it from 
your system.



 


[-- Attachment #1.2: Type: text/html, Size: 19991 bytes --]

[-- Attachment #2: image001.gif --]
[-- Type: image/gif, Size: 11535 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09]
@ 2012-05-08  6:55 "Tobias Nähring"
  2012-05-08 17:15 ` Achim Gratz
  0 siblings, 1 reply; 10+ messages in thread
From: "Tobias Nähring" @ 2012-05-08  6:55 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

end of thread, other threads:[~2012-05-10 19:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07  8:46 Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09] Tobias Nähring
  -- strict thread matches above, loose matches on Subject: below --
2012-05-08  6:55 "Tobias Nähring"
2012-05-08 17:15 ` 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

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