help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] RF help using sort-numeric-fields


From: francois Bourgneuf
Subject: RE: [h-e-w] RF help using sort-numeric-fields
Date: Mon, 30 Jun 2003 16:48:57 +0200

The domunentation says "Called from a program, there are three arguments:
FIELD, BEG and END.  BEG and END specify region to sort". You dont call it
from a program that's why you're not prompted.

First select the region you want to sort (C-space to select beginning then
momve to the end of the region).

Select the number of the field you want the sort to be made (use C-u
[0-9]) - Fields are separated by whitespace and numbered from 1 up.
Then M-x sort-numeric-fields

example :
        before :
There is a 3 on first line
on that line 7 is printed
my numeric is 5 and that's great
I love number 1

I select the whole text.
C-u 4
M-x sort-numeric-fields

After :
I love number 1
There is a 3 on first line
my numeric is 5 and that's great
on that line 7 is printed

Bour9




-----Message d'origine-----
De : address@hidden
[mailto:address@hidden
org]
Envoye : lundi 30 juin 2003 14:36
A : address@hidden
Objet : [h-e-w] RF help using sort-numeric-fields


I'm trying to run the function
    sort-numeric-fields
which the documentation says takes three arguments,
    the field to sort,
    the beginning of the region to sort and
    the end of the region to sort.
I'm entering
    M-x sort-numeric-fields and <return>
expecting to be prompted for the arguments but the function is run as
soon as I enter <return>. I have tried entering arguments after
    M-x sort-numeric-fields
but only <return> is accepted. So I'm unable to tell the function which
fields I wish to sort on.

I'm doing something wrong but do not know what. Can anyone enlighten
me?

TIA,
Neil (J Mackie).


By the end of this year the Radiocommunications Agency and all
responsibility
for regulating the radio spectrum and communications services will become
part of Ofcom - the new converged regulator for the communications sector.
See the Ofcom transitional website at www.Ofcom.org.uk for more details.










reply via email to

[Prev in Thread] Current Thread [Next in Thread]