emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Tobias <i_inbox@tn-home.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Org Table: Field formulas with hline-address on	right-hand side don't work anymore [7.8.09]
Date: Thu, 10 May 2012 12:19:49 +0200	[thread overview]
Message-ID: <06487E01-CD7A-46D5-A811-B85D9838FE9A@gmail.com> (raw)
In-Reply-To: <loom.20120510T091229-790@post.gmane.org>


On 10.5.2012, at 09:15, Tobias wrote:

> First I have to apologize for posting the bug report twice. The first report has
> been sent from my company. I thought that this bug-report does not make it to
> the list because the e-mail address at my company is not subscribed to the list.
> Therefore, I subscribed with my private e-mail address and sent the bug report
> once more.
> 
> Now, some digging about the bug. I have investigated org-table-recalculate and
> the functions called therein.
> 
> The only place where @II is handled correctly is:
> org-table-get-descriptor-line
> This function is only called within:
> org-table-get-range
> This function is called at the end of:
> org-table-expand-lhs-ranges
> But at the beginning of this function the cond condition
> (string-match "^@-?[-+I0-9]+\\$-?[0-9]+$" lhs)
> already filteres out this case. The field descriptor is not regarded as a range
> but as a fixed field.
> I changed
> (string-match "^@-?[-+I0-9]+\\$-?[0-9]+$" lhs)
> into
> (string-match "^@-?[-+0-9]+\\$-?[0-9]+$" lhs)
> without the I in the first character set. This seems to fix the bug. But I am
> not sure about the side effects.


On the other hand (referring to my message in this thread just a few minutes ago) this analysis here is correct and making the change Tobias is proposing probably would work without side effects.  

So I step back from my earlier post and I applied the change Tobias was proposing.

- Carsten

  reply	other threads:[~2012-05-10 10:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08  6:55 Bug: Org Table: Field formulas with hline-address on right-hand side don't work anymore [7.8.09] "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 [this message]
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=06487E01-CD7A-46D5-A811-B85D9838FE9A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=i_inbox@tn-home.de \
    /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).