From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: left aligned changes to right alignment in table after adding one row - possible bug? Date: Mon, 13 Oct 2014 16:55:13 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiuE-0006Ck-01 for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 12:55:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdiu7-00057Y-I6 for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 12:55:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:52526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdiu7-00057C-Bp for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 12:55:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xdiu5-00030W-OZ for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 18:55:25 +0200 Received: from 137.110.39.109 ([137.110.39.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 18:55:25 +0200 Received: from ccberry by 137.110.39.109 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 18:55:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug krugs.de> writes: > > > #+PROPERTY: header-args :exports both > > * Changing alignment when one row is added > Despite of all values are strings, the alignment changes in the below > example. Is this a bug or am I missing something? > One of these two maybe: ,----[ C-h v org-table-number-regexp RET ] | org-table-number-regexp is a variable defined in `org-table.el'. | Its value is | "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|[<>]?[-+]?0[xX][0-9a- | [wrapped] fA-F.]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$" | | Documentation: | Regular expression for recognizing numbers in table columns. | If a table column contains mostly numbers, it will be aligned to the | right. If not, it will be aligned to the left. | | The default value of this option is a regular expression which allows | anything which looks remotely like a number as used in scientific | context. For example, all of the following will be considered a | number: | 12 12.2 2.4e-08 2x10^12 4.034+-0.02 2.7(10) >3.5 | | Other options offered by the customize interface are more restrictive. | | You can customize this variable. | | [back] `---- ,----[ C-h v org-table-number-fraction RET ] | org-table-number-fraction is a variable defined in `org-table.el'. | Its value is 0.5 | | Documentation: | Fraction of numbers in a column required to make the column align right. | In a column all non-white fields are considered. If at least | this fraction of fields is matched by `org-table-number-regexp', | alignment to the right border applies. | | You can customize this variable. | | [back] `---- With the added row, the fraction is exceeded in the last two columns. HTH, Chuck