From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Enhancement for Org-mode tables Date: Thu, 28 Sep 2006 00:02:31 +0200 Message-ID: <84da4dab49a09f0a921c6cb652d9a360@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GShUB-0003Ij-At for emacs-orgmode@gnu.org; Wed, 27 Sep 2006 18:02:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GShU9-0003IX-Sm for emacs-orgmode@gnu.org; Wed, 27 Sep 2006 18:02:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GShU9-0003IU-NA for emacs-orgmode@gnu.org; Wed, 27 Sep 2006 18:02:33 -0400 Received: from [194.134.35.146] (helo=smtp06.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GShZ5-000656-AV for emacs-orgmode@gnu.org; Wed, 27 Sep 2006 18:07:40 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eddward DeVilla Cc: emacs-orgmode Hi Eddward, On Sep 27, 2006, at 18:51, Eddward DeVilla wrote: > Hello, > > Currently org-mode will adjust the justification in a column if it > thinks it is a numeric field. I use hexidecimal a lot and got some > wierd results. Eventually I found the option to adjust it and have > set my own RE of (org-table-number-regexp > "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%]*\\|\\(0[xX]\\)?[0-9a-fA- > F][0-9a-fA-F]*\\)$"). > I made it based on the general number RE in the code. Right now, I'm > just worried that some day the general number RE might become > better/more general and I might miss out. > > Would it possible to add hex to the general number option, or to make > a general+hex option? Sure, I will use your extended version as the future default, good idea, thanks. BTW, [0-9a-fA-F][0-9a-fA-F]* is the same as [0-9a-fA-F]+ in regular expressions. - Carsten