From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=22Tobias_N=C3=A4hring=22?= 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) Message-ID: <1209384792.845778.1336460118982.JavaMail.open-xchange@email.1und1.de> Reply-To: =?UTF-8?Q?=22Tobias_N=C3=A4hring=22?= Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_845777_1456757538.1336460118895" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SReKS-0008PK-HX for emacs-orgmode@gnu.org; Tue, 08 May 2012 02:55:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SReKP-0004ho-To for emacs-orgmode@gnu.org; Tue, 08 May 2012 02:55:24 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SReKP-0004g0-GR for emacs-orgmode@gnu.org; Tue, 08 May 2012 02:55:21 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org ------=_Part_845777_1456757538.1336460118895 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3Dvsum(@I$1..@II$1) I already tried to turn on =E2=80=9CDebug Formulas=E2=80=9D but this did no= t 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=3D@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=E2=80=A6,). I have old org-files where I need to re-calculate stuff like that. current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (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 "\\" 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 ------=_Part_845777_1456757538.1336460118895 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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 an= ymore.

 

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 remai= ns 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=3Dvsum(@I$1..@II$1)

 

I already tried to turn on =E2=80=9CDebug Formulas=E2=80=9D but this d= id not help. This gave just no change in the reaction of the re-calculate c= ommand.

 

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

 

|---|

| 1 |

| 2 |

|---|

| 3 |

#+TBLFM: @1$1=3D@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 f= ormulas very much (large variable number of columns in tables, calculate ma= ximum norm of column sections and stuff like that=E2=80=A6,). I have old or= g-files where I need to re-calculate stuff like that.

 

current state:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

(setq

org-export-latex-after-initial-vars-hook '(org-beamer-after-initia= l-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-ta= b-command-maybe

           = 0;            &= #160;            org-babe= l-hide-result-toggle-maybe)

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

           = 0;            &= #160;           org-src-mode-c= onfigure-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-d= rawers

           = 0;            &= #160;        org-cycle-show-empty-lines

           = 0;            &= #160;        org-optimize-window-after-visibi= lity-change)

org-descriptive-links nil

org-export-preprocess-before-normalizing-links-hook '(org-remove-f= ile-link-modifiers)

org-mode-hook '((lambda nil

           = 0;            &= #160;        (org-defkey org-mouse-map [mouse= -3] (quote org-mouse-3-menu))

           = 0;            &= #160;        (setq pcomplete-default-completi= on-function

           = 0;            &= #160;         (quote (lambda nil (hippie= -expand nil))))

           = 0;            &= #160;        )

           = 0;            &= #160;      #[nil "\300\301\302\303\304$\207= 4;

           = 0;            &= #160;         [org-add-hook change-major= -mode-hook org-show-block-all append

           = 0;            &= #160;          local]

           = 0;            &= #160;         5]

           = 0;            &= #160;      #[nil "\300\301\302\303\304$\207= 4;

           = 0;            &= #160;         [org-add-hook change-major= -mode-hook org-babel-show-result-all

           = 0;            &= #160;          append local]

           = 0;            &= #160;         5]

           = 0;            &= #160;      org-babel-result-hide-spec org-babel-hi= de-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-bea= mer-select-beamer-code)

org-export-latex-final-hook '(org-beamer-amend-header org-beamer-f= ix-toc

           = 0;            &= #160;           = 0;             =     org-beamer-auto-fragile-frames

           = 0;            &= #160;           = 0;             =     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)

           = 0;            &= #160;           (export-commen= t org-export-blocks-format-comment t)

           = 0;            &= #160;           (ditaa org-exp= ort-blocks-format-ditaa nil)

           = 0;            &= #160;           (dot org-expor= t-blocks-format-dot nil))

)

 

Best regards,

Tobias

 

------=_Part_845777_1456757538.1336460118895--