Org-mode mailing list
 help / color / mirror / Atom feed
* Unexpected behavior when editing table formulas in dedicated buffer
@ 2020-09-27 12:46 Panagiotis Vlantis
  0 siblings, 0 replies; only message in thread
From: Panagiotis Vlantis @ 2020-09-27 12:46 UTC (permalink / raw)
  To: emacs-orgmode


I noticed that when editing table formulas in a separate buffer (using 
org-table-edit-formulas) which contain assignments to named fields whose 
name includes underscores (e.g., $foo_bar), these lines are not included 
in the generated #+TBLFM directive. This is probably because the regular 
expression in org-table-fedit-finish does not expect named fields with 
underscores although the manual indicates that they are allowed 
characters (Tables > The Spreadsheet > Advances Features).

Going by the manual, it would appear that this

"^\\(@[-+I<>0-9.$@]+\\|@?[0-9]+\\|\\$\\([a-zA-Z0-9]+\\|[<>]+\\)\\) *= 
*\\(.*\\(\n[ \t]+.*$\\)*\\)"

should be replaced by this

*= *\\(.*\\(\n[ \t]+.*$\\)*\\)"

in the body of org-table-fedit-finish.

Best regards,
Panagiotis Vlantis

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-27 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 12:46 Unexpected behavior when editing table formulas in dedicated buffer Panagiotis Vlantis

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ \
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone