all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* part of table name in remote(NAME, ...) is mangled by org-edit-special
@ 2019-04-14 18:03 Tony E. Bennett
  2019-04-15 10:30 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Tony E. Bennett @ 2019-04-14 18:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

Hello,

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.


*--tony*

[-- Attachment #2: Type: text/html, Size: 2072 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-15 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-04-15 16:43   ` Tony E. Bennett

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.