emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: Decimal numbers using commata not recognised
@ 2013-09-09  7:55 Andreas Röhler
  2013-09-09  8:22 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Röhler @ 2013-09-09  7:55 UTC (permalink / raw)
  To: emacs-orgmode

Given the table below

cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000

M-x org-table-convert-region

->

| cash       20 | 000          short term debt     89 | 000 |
| cash       20 | 000          short term debt     89 | 000 |
| cash       20 | 000          short term debt     89 | 000 |
| cash       20 | 000          short term debt     89 | 000 |
| cash       20 | 000          short term debt     89 | 000 |
| cash       20 | 000          short term debt     89 | 000 |


Decimal numbers using commata not recognised by
org-table-convert-region


Thanks,

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: Decimal numbers using commata not recognised
  2013-09-09  7:55 BUG: Decimal numbers using commata not recognised Andreas Röhler
@ 2013-09-09  8:22 ` Bastien
  2013-09-09 13:25   ` Andreas Röhler
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-09-09  8:22 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: emacs-orgmode

Hi Andreas,

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Decimal numbers using commata not recognised by
> org-table-convert-region

Did you try to customize `org-table-number-regexp'?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: Decimal numbers using commata not recognised
  2013-09-09  8:22 ` Bastien
@ 2013-09-09 13:25   ` Andreas Röhler
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Röhler @ 2013-09-09 13:25 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Am 09.09.2013 10:22, schrieb Bastien:
> Hi Andreas,
>
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Decimal numbers using commata not recognised by
>> org-table-convert-region
>
> Did you try to customize `org-table-number-regexp'?
>

Hi Bastiens,

okay, for me that customization would be fine probably - even if a respectable regexp is waiting :)

The question showed up today at Emacs help, OP asked for a quick way to make up a sheet.

So, if org-table would be smart enough to detect the common dot-or-comma issue here, maybe that's a plus.

Thanks all,

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-09 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09  7:55 BUG: Decimal numbers using commata not recognised Andreas Röhler
2013-09-09  8:22 ` Bastien
2013-09-09 13:25   ` Andreas Röhler

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).