From: Tobias <i_inbox@tn-home.de>
To: 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 07:15:16 +0000 (UTC) [thread overview]
Message-ID: <loom.20120510T091229-790@post.gmane.org> (raw)
In-Reply-To: 871umthpo3.fsf@Rainer.invalid
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.
Best regards,
Tobias
next prev parent reply other threads:[~2012-05-10 7: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 [this message]
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
-- 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=loom.20120510T091229-790@post.gmane.org \
--to=i_inbox@tn-home.de \
--cc=emacs-orgmode@gnu.org \
/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).