From: gokhalen@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: M-x Sort-Columns in scientific format
Date: Tue, 14 Aug 2007 20:05:51 -0000 [thread overview]
Message-ID: <1187121951.300518.99740@d55g2000hsg.googlegroups.com> (raw)
In-Reply-To: <1187119705.788877.164940@o61g2000hsh.googlegroups.com>
On Aug 14, 3:28 pm, weber <hug...@gmail.com> wrote:
> On 14 ago, 15:07, gokha...@gmail.com wrote:
>
>
>
> > If I have a file with two fields:
>
> > BB 2
> > AA 1
> > CC 3
>
> > And I do Mx sort-columns on the last column I get
>
> > AA 1
> > BB 2
> > CC 3
>
> > Which is good. Now, if I change the numbers to scientific format:
>
> > BB 8.0E-5
> > AA 1.0E-4
> > CC 7.0E-5
>
> > I get the following, with Mx sort-columns
>
> > AA 1.0E-4
> > CC 7.0E-5
> > BB 8.0E-5
>
> > Which is not what should happen. Emacs is ignoring the exponent. Is
> > there a way to turn scientific number more on? How do I get Mx Sort-
> > Columns in scientific format?
>
> > I am using the windows version of emacs.
>
> > Thanks.
>
> sort-numeric-fields command works here!
> Cheers,
> weber
Well,
sort-numeric-fields on the last column gives me
BB AA 1.0E-4
CC 7.0E-5
8.0E-5
Which is garbled.
next prev parent reply other threads:[~2007-08-14 20:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 18:07 M-x Sort-Columns in scientific format gokhalen
2007-08-14 19:28 ` weber
2007-08-14 20:05 ` gokhalen [this message]
2007-08-14 20:44 ` weber
2007-08-14 22:58 ` Mark Elston
2007-08-15 13:36 ` gokhalen
2007-08-15 14:37 ` weber
2007-08-15 22:21 ` Kenneth Jacker
2007-08-15 23:40 ` Pascal Bourguignon
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1187121951.300518.99740@d55g2000hsg.googlegroups.com \
--to=gokhalen@gmail.com \
--cc=help-gnu-emacs@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.
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).