From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Tony E. Bennett" <tony.e.bennett@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: part of table name in remote(NAME, ...) is mangled by org-edit-special
Date: Mon, 15 Apr 2019 12:30:34 +0200 [thread overview]
Message-ID: <871s23sgqd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAGyPOvBCuabAp8o=zRoKaaZc8=eGYd95_0P+qOdPoX-UW9kHvw@mail.gmail.com> (Tony E. Bennett's message of "Sun, 14 Apr 2019 14:03:35 -0400")
Hello,
"Tony E. Bennett" <tony.e.bennett@gmail.com> writes:
> A reference to a table name such as '2019-Q1-X' is rewritten to '2019-@1$17-X'
> by org-edit-special. And also for '2019_Q1_X'. v9.2.3
>
> Test case:
>
> |---+----+--------|
> | # | Q1 | 600.00 |
> |---+----+--------|
>
> #+TBLFM: @1$3=remote(2019-*Q1*-X,$total)
>
> #+NAME: 2019-Q1-X
> |----+--------|
>
> | _ | total |
> | * | 600.00 |
> |----+--------|
>
> With cursor in 1st table, invoke org-edit-special with: C-x '
>
> Then save the edit with C-c C-c and notice TBLFM is now:
>
> #+TBLFM: @1$3=remote(2019-*@1$17*-X,$total)
>
> A workaround is to use 1Q instead of Q1 in table name.
Try setting `org-table-use-standard-references' to nil.
I think this should be the default.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2019-04-15 10:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-14 18:03 part of table name in remote(NAME, ...) is mangled by org-edit-special Tony E. Bennett
2019-04-15 10:30 ` Nicolas Goaziou [this message]
2019-04-15 16:43 ` Tony E. Bennett
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=871s23sgqd.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=tony.e.bennett@gmail.com \
/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).