Re: [O] [BUG] hline references on left side of table formula

2013-11-07 Thread Achim Gratz
Rick Frankel writes: > Ok, i see what's happening in your examples (a testing org file > attached), though i question the usefullness of most of the results ;). I tend to agree, but as the test case shows anything that does work and produces the intended results will eventually have at least one u

Re: [O] [BUG] hline references on left side of table formula

2013-11-07 Thread Rick Frankel
On 2013-11-06 15:14, Achim Gratz wrote: Achim Gratz writes: [...] with these formulas: #+TBLFM: $=vsum(@-II..@-I) whoops, press C-c C-c in the wrong buffer. I meant these formulas: #+TBLFM: @$=vsum(@-II..@-I) #+TBLFM: @II=vsum(@-II..@-I) #+TBLFM: @III=vsum(@-II..@-I) #+TBLFM: @=vsum(@-II..

Re: [O] [BUG] hline references on left side of table formula

2013-11-07 Thread Rick Frankel
On 2013-11-07 00:59, Michael Brand wrote: On Wed, Nov 6, 2013 at 7:50 PM, Rick Frankel wrote: + (not (string-match "\.\.@" (car x This would be the same as + (not (string-match "..@" (car x but you meant + (not (string-match "\\.\\.@

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Michael Brand
Hi Rick On Wed, Nov 6, 2013 at 7:50 PM, Rick Frankel wrote: > + (not (string-match "\.\.@" (car x This would be the same as > + (not (string-match "..@" (car x but you meant > + (not (string-match "\\.\\.@" (car x Michael

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Achim Gratz
Achim Gratz writes: [...] > with these formulas: > #+TBLFM: $=vsum(@-II..@-I) whoops, press C-c C-c in the wrong buffer. I meant these formulas: #+TBLFM: @$=vsum(@-II..@-I) #+TBLFM: @II=vsum(@-II..@-I) #+TBLFM: @III=vsum(@-II..@-I) #+TBLFM: @=vsum(@-II..@-I) #+TBLFM: @II..$2=vsum(@-II..@-I)

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Achim Gratz
Rick Frankel writes: > What he is saying, is that references like =@II$2=, or =@II+1$2= do not > work correctly on the left-hand side of a table format (verified by > carsten in a previous thread) which is why i created the patch to > disallow hline-relative references on th LHS. They are working,

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Rick Frankel
On 2013-11-06 03:23, Bastien wrote: lom...@voila.fr writes: I was interested to use hline references on the left side. However I found out that it is not completely unsupported. When the left side consist of: * single cells references, it does not work * ranged cells, it works for me (org 8.0.

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Bastien
Hi, lom...@voila.fr writes: > I was interested to use hline references on the left side. However I found > out that it > is not completely unsupported. > When the left side consist of: > * single cells references, it does not work > * ranged cells, it works for me (org 8.0.3) (I'm not sure I fu

Re: [O] [BUG] hline references on left side of table formula

2013-10-01 Thread lompik
Hi, I was interested to use hline references on the left side. However I found out that it is not completely unsupported. When the left side consist of: * single cells references, it does not work * ranged cells, it works for me (org 8.0.3) The patch below tranforms the single cell references to

Re: [O] [BUG] hline references on left side of table formula

2013-09-02 Thread Carsten Dominik
Hi Rick, hline-relative references on the left side of a table are currently not supported. The fact that this is expanded is a bug. A patch catching this case would be very welcome. Regards - Carsten On May 1, 2013, at 7:27 PM, Rick Frankel wrote: > Hi- > > I don't know if this is a bug

[O] [BUG] hline references on left side of table formula

2013-05-01 Thread Rick Frankel
Hi- I don't know if this is a bug or feature :), but if an hline reference (@I, etc) is used on the left side of a calculation, it applies to ALL columns in the row even if the column is specfied. Here are some examples to show the results. I would expect all three versions to generate the same