emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Oleg Sivokon <olegsivokon@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: TBLFM regexp doesn't account for possible white space after the pipe [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]
Date: Fri, 08 May 2015 10:52:28 +0200	[thread overview]
Message-ID: <87k2wjh2nn.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87vbg42hrd.fsf@gmail.com> (Oleg Sivokon's message of "Fri, 08 May 2015 00:35:18 +0300")

Hello,

Oleg Sivokon <olegsivokon@gmail.com> writes:

> When evaluating a formula, the regular expression used to locate the
> formula will miss, if there is a white space after the rightmost pipe in
> the last row, i.e.
>
> |1|*
> #+tblfm: vsum($1)
>
> asterisk is where the extra space character appears.

Good catch.

> Attached is my attempt at patching it.

Thank you.

However, I applied a different patch as table lines are not required to
end on a vertical bar either.

Anyway, it should be fixed in 6ac8db9dbabd83152612c65a9cd505390a1915d1.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-05-08  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 21:35 Bug: TBLFM regexp doesn't account for possible white space after the pipe [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)] Oleg Sivokon
2015-05-08  8:52 ` Nicolas Goaziou [this message]

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=87k2wjh2nn.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=olegsivokon@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).