all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Note about decimal mark for numbers
@ 2012-08-21 17:15 Nicolas Goaziou
  2012-08-21 17:27 ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2012-08-21 17:15 UTC (permalink / raw)
  To: Org Mode List

Hello,

In a recent commit, I've modified `org-table-number-regexp' so it can
recognize numbers with a comma as the decimal mark by default.

The variable is almost exclusively used for column alignment in tables,
so it should be a cosmetic change only. Though, do not hesitate to
report any suspicious behaviour in tables (when working with csv for
example).

Also, remember that `org-table-number-regexp' is customizable, so you
can undo this change locally.


Regards,

-- 
Nicolas Goaziou

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

* Re: Note about decimal mark for numbers
  2012-08-21 17:15 Note about decimal mark for numbers Nicolas Goaziou
@ 2012-08-21 17:27 ` Achim Gratz
  2012-08-21 18:10   ` Jambunathan K
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2012-08-21 17:27 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou writes:
> In a recent commit, I've modified `org-table-number-regexp' so it can
> recognize numbers with a comma as the decimal mark by default.

This should really follow the definitions in the locale...


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Re: Note about decimal mark for numbers
  2012-08-21 17:27 ` Achim Gratz
@ 2012-08-21 18:10   ` Jambunathan K
  2012-08-21 22:32     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Jambunathan K @ 2012-08-21 18:10 UTC (permalink / raw)
  To: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> Nicolas Goaziou writes:
>> In a recent commit, I've modified `org-table-number-regexp' so it can
>> recognize numbers with a comma as the decimal mark by default.
>
> This should really follow the definitions in the locale...

That was my first reaction to it as well.  

But then Org is no office suite.  It's more of a SOHO suite.

> Regards,
> Achim.

-- 

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

* Re: Note about decimal mark for numbers
  2012-08-21 18:10   ` Jambunathan K
@ 2012-08-21 22:32     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2012-08-21 22:32 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Jambunathan K <kjambunathan@gmail.com> writes:

> Achim Gratz <Stromeko@nexgo.de> writes:
>
>> Nicolas Goaziou writes:
>>> In a recent commit, I've modified `org-table-number-regexp' so it can
>>> recognize numbers with a comma as the decimal mark by default.
>>
>> This should really follow the definitions in the locale...
>
> That was my first reaction to it as well.  

Remember the purpose of `org-table-number-regexp' is to help find the
right alignment in tables.  It is _not_ to find numbers when eval'ing
a formula.

So, having both a rigid definition of what is a number for formulas
and a flexible definition when it comes to formatting tables is fine.

2 cts,

-- 
 Bastien

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

end of thread, other threads:[~2012-08-21 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 17:15 Note about decimal mark for numbers Nicolas Goaziou
2012-08-21 17:27 ` Achim Gratz
2012-08-21 18:10   ` Jambunathan K
2012-08-21 22:32     ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.