emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Eddward DeVilla <eddward@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Enhancement for Org-mode tables
Date: Thu, 28 Sep 2006 00:02:31 +0200	[thread overview]
Message-ID: <84da4dab49a09f0a921c6cb652d9a360@science.uva.nl> (raw)
In-Reply-To: <b71b18520609270951o13ac27d4p96737889294b5c3b@mail.gmail.com>

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

      reply	other threads:[~2006-09-27 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 16:51 Enhancement for Org-mode tables Eddward DeVilla
2006-09-27 22:02 ` Carsten Dominik [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=84da4dab49a09f0a921c6cb652d9a360@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=eddward@gmail.com \
    --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).