all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tony E. Bennett" <tony.e.bennett@gmail.com>
To: emacs-orgmode@gnu.org
Subject: part of table name in remote(NAME, ...) is mangled by org-edit-special
Date: Sun, 14 Apr 2019 14:03:35 -0400	[thread overview]
Message-ID: <CAGyPOvBCuabAp8o=zRoKaaZc8=eGYd95_0P+qOdPoX-UW9kHvw@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2019-04-14 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-14 18:03 Tony E. Bennett [this message]
2019-04-15 10:30 ` part of table name in remote(NAME, ...) is mangled by org-edit-special Nicolas Goaziou
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGyPOvBCuabAp8o=zRoKaaZc8=eGYd95_0P+qOdPoX-UW9kHvw@mail.gmail.com' \
    --to=tony.e.bennett@gmail.com \
    --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 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.