emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel E. Doherty <ded-law@ddoherty.net>
To: Bastien <bzg@altern.org>
Cc: Org-mode List <emacs-orgmode@gnu.org>
Subject: Re: Alignment Regexp Should Recognize Currencies
Date: Sat, 22 Oct 2011 09:07:42 -0500	[thread overview]
Message-ID: <87d3dpjf0x.wl%ded-law@ddoherty.net> (raw)
In-Reply-To: <87ehy5gvbo.fsf@gnu.org>

Bastien,

I thought this issue was going to die.  Thanks for reviving it.  I am
still interested and would love to hear Carsten's views.

Maybe numeric fields could have the grouping character (,) and currency
symbols stripped before being used for coumputation?

Regards,

At Sat, 22 Oct 2011 12:43:55 +0200,
bzg wrote:
> 
> Hi Daniel,
> 
> Daniel E. Doherty <ded-law@ddoherty.net> writes:
> 
> > I noticed that the regular expression for recognizing what columns are
> > numeric in a table for purposes of right-aligning does not pick up
> > dollar values with commas.
> >
> > For example, $23,821,415.18 would be treated as "text" and left-aligned,
> > which I don't believe is what one would expect.
> 
> To me, values that are right-aligned are those who are ready for further
> computation, and letting $3 be right-aligned would be confusing.
> 
> But I understand your need.
> 
> Carsten, what do you think?
> 
> -- 
>  Bastien

      reply	other threads:[~2011-10-22 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09 15:01 Alignment Regexp Should Recognize Currencies Daniel E. Doherty
2011-10-22 10:43 ` Bastien
2011-10-22 14:07   ` Daniel E. Doherty [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=87d3dpjf0x.wl%ded-law@ddoherty.net \
    --to=ded-law@ddoherty.net \
    --cc=bzg@altern.org \
    --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).