emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel E. Doherty <ded-law@ddoherty.net>
To: Org-mode List <emacs-orgmode@gnu.org>
Subject: Table Alignment in presence of \vert{}
Date: Sun, 07 Apr 2013 08:00:54 -0500	[thread overview]
Message-ID: <874nfijy0p.wl%ded-law@ddoherty.net> (raw)


All,

I am writing an app for bookkeeping that uses regexp's in org tables.
They are working great except that they always come up misaligned when
the regexp has a \vert{} in it for alternation.

Also when tabbing through the file the alignment gets confused as well
and appears to miscalculate the length of the entry, taking display of
\vert into account.

Try tabbing through the following:

#+TBLNAME: modes
|----------------+-------------------------------------------------|
| Name           | Matcher                                         |
|----------------+-------------------------------------------------|
| ATM Withdrawal | /atm withdrawal/                                |
| Auto Debit     | /(ach\s+(debit\vert{}item))\vert{}transfer fee/ |
| Bank Item      | /interest payment\vert{}atm\s+.*fee/            |
| Check          | /check image\vert{}^check/                      |
| Debit Card     | /visa check card\vert{}point of sale/           |
| Transfer       | /(online bnkg\vert{}od coverage) trans(fer)?/   |
|----------------+-------------------------------------------------|


Maybe this is a known problem, but I thought I would report it since
it comes up alot for me.

My org-version is 7.8.11 and Emacs 24.2.1

Thanks

             reply	other threads:[~2013-04-07 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 13:00 Daniel E. Doherty [this message]
2013-04-07 21:33 ` Table Alignment in presence of \vert{} Bastien

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=874nfijy0p.wl%ded-law@ddoherty.net \
    --to=ded-law@ddoherty.net \
    --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).