unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tom <tom@somewhere.com>
To: help-gnu-emacs@gnu.org
Subject: simple first emacs script
Date: Wed, 15 Dec 2010 12:55:24 +0000	[thread overview]
Message-ID: <2V2Oo.37337$hW6.28446@newsfe08.ams2> (raw)

[-- Attachment #1: Type: text/plain, Size: 3156 bytes --]

I am about 2/3 way through the introduction to emacs lisp, and thought 
it would help my learning if I wrote tried writing a simple script to do 
something useful to me with the lessons I have covered so far so far.  I 
should point out I am surgeon not a computer scientist and know nothing 
more about programming than what is contained in the introduction to 
emacs lisp.
I end up with this:

(defun nirs-data-clean (number-of-channels)
"Cleans the output files from the INVOS monitor removing all columns 
apart from StO2 values, and the date and time stamps. Sto2 columns to be 
retained are specified by the NUMBER-OF-CHANNELS variable.  It assumes 
that channels are always used in numerical order, i.e. channel 1 always, 
then 2, then 3 then 4."
(interactive "nEnter number of channels (1-4): ")
(barf-if-buffer-read-only)
(require 'csv-mode)
(push-mark (point-max))
(goto-char (point-min))
(if (or (eq number-of-channels 1)
	(eq number-of-channels 2)
	(eq number-of-channels 3)
	(eq number-of-channels 4))
     (or (when (eq number-of-channels 1)
	  (csv-kill-fields '(4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 
23 24 25 26 27 28 29 30 31 32 33 34) (point) (mark)))
	(when (eq number-of-channels 2)
	  (csv-kill-fields '(4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 
24 25 26 27 28 29 30 31 32 33 34) (point) (mark)))
	(when (eq number-of-channels 3)
	  (csv-kill-fields '(4 5 6 7 8 9 11 12 13 14 15 16 18 19 20 21 22 23 24 
25 26 27 28 29 30 31 32 33 34) (point) (mark)))
	(when (eq number-of-channels 4)
	  (csv-kill-fields '(4 5 6 7 8 9 11 12 13 14 15 16 18 19 20 21 22 23 25 
26 27 28 29 30 31 32 33 34) (point) (mark))
	  (message "%s is not a valid number of channels.  Please enter a 
number between 1 and 4." number-of-channels))))
(when (y-or-n-p "Replace 0 StO$_2$ values with na: ")
     (progn (goto-char (point-min))
	   (while (re-search-forward "[^[:digit:]][0][^[:digit:]]" nil t)
	     (replace-match "na ")))))

The idea is to automatically clean unwanted columns from csv (space 
separated) data file and ask me if I want to replace 0 values with na. 
I appreciate this is very messy, and I should be able to specify ranges 
of field rather than listing every single one (but I couldn't get that 
to work), but it works kind of.  When I evaluate it and run it for the 
first time it works, but if I undo the changes to the file and run it 
again it often only takes out the 4th column, if I reopen the file or 
re-evaluate the script it usually works again but I can't seem to work 
the pattern of working and not working - as I can't see the pattern I 
can't learn where I am going wrong.

I have attached a small sample data file with 4 channels being used to 
illustrate the kind of file this is supposed to work on.

I assume I have made an obvious mistake but I don't have the experience 
to know what it is.  Any general comments about simple/better ways to 
clean this script would be welcome, for example would I be better making 
the regexp replace a yes/no arg to the function so if I call this script 
from another script I can specify a y/n argument (I don't know how to do 
this anyway though).

Tom

[-- Attachment #2: 101108N.R14 --]
[-- Type: text/plain, Size: 27398 bytes --]

08.11.10 14:57:17  67    0   4      -2.9254      -2.3866  0   0  72    0   4      -3.3003      -2.7971  0   0  63    0   4      -2.8989      -2.2108  0   0  75    0   4      -3.6963      -3.3294  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:24  69    0   4      -2.9621      -2.4101  0   0  73    0   4      -3.3033      -2.7983  0   0  63    0   4      -2.8936      -2.2066  0   0  75    0   4      -3.7303      -3.3724  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:30  69    0   4      -2.7329      -2.2557  0   0  74    0   4      -3.3159      -2.8015  0   0  63    0   4      -2.8896      -2.2074  0   0  76    0   4       -3.741      -3.3823  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:36  71    0   4      -2.9537      -2.4044  0   0  75    0   4      -3.3085      -2.8036  0   0  64    0   4      -2.8861      -2.2033  0   0  72    0   4       -3.676      -3.3543  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:43  73    0   4      -2.9509      -2.4047  0   0  76    0   4      -3.3151      -2.8131  0   0  65    0   4       -2.889      -2.2082  0   0  74    0   4      -3.7061      -3.3797  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:49  75    0   4      -2.9304      -2.3887  0   0  76    0   4      -3.3261      -2.8273  0   0  63    0   4      -2.8832       -2.208  0   0  74    0   4      -3.6884      -3.3698  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:57:55  74    0   4      -2.9003      -2.3646  0   0  75    0   4      -3.3277       -2.832  0   0  63    0   4      -2.8847      -2.2112  0   0  73    0   4      -3.6876      -3.3781  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:02  75    0   4      -2.8762       -2.348  0   0  74    0   4      -3.3355      -2.8432  0   0  62    0   4      -2.8635      -2.1954  0   0  72    0   4      -3.6862      -3.3857  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:08  72    0   4      -2.8286      -2.3068  0   0  74    0   4      -3.3396      -2.8499  0   0  61    0   4      -2.8588      -2.1947  0   0  73    0   4      -3.7164      -3.4112  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:15  71    0   4      -2.8161      -2.2968  0   0  73    0   4      -3.3412      -2.8519  0   0  59    0   4       -2.861      -2.1985  0   0  74    0   4      -3.7183      -3.4086  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:21  71    0   4      -2.8015      -2.2887  0   0  72    0   4       -3.338      -2.8518  0   0  58    0   4      -2.8703       -2.206  0   0  74    0   4      -3.7138      -3.4102  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:27  68    0   4      -2.8104      -2.2935  0   0  71    0   4      -3.3392      -2.8508  0   0  57    0   4      -2.8903      -2.2192  0   0  73    0   4      -3.6995      -3.3984  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:34  71    0   4      -2.8104      -2.2937  0   0  71    0   4      -3.3386      -2.8442  0   0  57    0   4      -2.9186      -2.2374  0   0  72    0   4      -3.6615      -3.3678  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:40  70    0   4       -2.817      -2.3025  0   0  72    0   4      -3.3677       -2.868  0   0  59    0   4      -2.9554      -2.2621  0   0  72    0   4      -3.6442      -3.3529  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:46  70    0   4      -2.8401      -2.3185  0   0  73    0   4      -3.3967      -2.8887  0   0  60    0   4      -2.9572      -2.2624  0   0  72    0   4      -3.6748      -3.3788  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:53  70    0   4      -2.8539      -2.3277  0   0  74    0   4      -3.4318      -2.9183  0   0  62    0   4       -2.966      -2.2697  0   0  74    0   4      -3.7079      -3.4021  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:58:59  73    0   4      -2.8681       -2.342  0   0  75    0   4      -3.4473       -2.934  0   0  64    0   4       -2.979      -2.2834  0   0  74    0   4      -3.7121      -3.4094  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:05  72    0   4      -2.8718      -2.3429  0   0  75    0   4      -3.4475      -2.9362  0   0  64    0   4      -2.9821      -2.2851  0   0  73    0   4      -3.7008      -3.4025  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:12  74    0   4      -2.8698      -2.3404  0   0  76    0   4      -3.4461       -2.936  0   0  65    0   4      -2.9665      -2.2722  0   0  73    0   4      -3.7019      -3.4011  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:18  74    0   4      -2.8557      -2.3283  0   0  77    0   4      -3.4366      -2.9295  0   0  65    0   4      -2.9637      -2.2709  0   0  73    0   4      -3.7009      -3.3997  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:24  73    0   4      -2.8321      -2.3101  0   0  77    0   4      -3.4126      -2.9116  0   0  66    0   4      -2.9569      -2.2671  0   0  73    0   4      -3.6999      -3.3974  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:31  73    0   4      -2.8171      -2.2951  0   0  76    0   4      -3.3806      -2.8819  0   0  65    0   4      -2.9406      -2.2551  0   0  72    0   4       -3.678      -3.3855  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:37  73    0   4      -2.8092      -2.2919  0   0  75    0   4      -3.3859      -2.8922  0   0  64    0   4      -2.9173      -2.2386  0   0  72    0   4       -3.687      -3.3922  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:43  74    0   4        -2.81      -2.2901  0   0  75    0   4      -3.3926      -2.8987  0   0  64    0   4      -2.9223      -2.2441  0   0  73    0   4      -3.7253      -3.4225  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:50  72    0   4      -2.7986      -2.2817  0   0  74    0   4      -3.3823      -2.8913  0   0  64    0   4      -2.9115      -2.2381  0   0  73    0   4      -3.6989      -3.4054  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 14:59:56  71    0   4      -2.8065      -2.2867  0   0  73    0   4       -3.387      -2.8981  0   0  63    0   4      -2.9005      -2.2308  0   0  73    0   4      -3.7087       -3.411  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:02  71    0   4      -2.8055      -2.2839  0   0  73    0   4      -3.3927      -2.9042  0   0  61    0   4      -2.9139      -2.2439  0   0  74    0   4      -3.7099       -3.412  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:09  70    0   4       -2.796      -2.2786  0   0  73    0   4       -3.368      -2.8866  0   0  61    0   4      -2.9006      -2.2343  0   0  73    0   4      -3.6826      -3.3921  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:15  70    0   4      -2.7993      -2.2791  0   0  72    0   4      -3.3751      -2.8883  0   0  60    0   4      -2.9171      -2.2468  0   0  73    0   4      -3.6917      -3.3943  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:21  69    0   4      -2.8031      -2.2811  0   0  71    0   4      -3.3907      -2.9039  0   0  60    0   4      -2.9495      -2.2707  0   0  74    0   4      -3.6977      -3.3957  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:28  70    0   4      -2.8014      -2.2789  0   0  71    0   4      -3.3965      -2.9056  0   0  61    0   4      -2.9823      -2.2931  0   0  73    0   4      -3.6989      -3.4004  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:34  69    0   4      -2.7876      -2.2692  0   0  71    0   4      -3.3769      -2.8892  0   0  62    0   4      -2.9697      -2.2819  0   0  74    0   4      -3.7139      -3.4126  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:40  69    0   4      -2.7855      -2.2673  0   0  70    0   4      -3.3676       -2.883  0   0  61    0   4      -2.9559      -2.2712  0   0  73    0   4      -3.7021      -3.4029  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:47  69    0   4      -2.7921       -2.272  0   0  70    0   4      -3.3812      -2.8929  0   0  61    0   4      -2.9581      -2.2734  0   0  74    0   4      -3.7249      -3.4155  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:00:53  69    0   4      -2.7993      -2.2779  0   0  70    0   4      -3.3923      -2.9034  0   0  61    0   4      -2.9675      -2.2804  0   0  73    0   4      -3.7236      -3.4236  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:00  70    0   4      -2.8125      -2.2892  0   0  70    0   4      -3.4108      -2.9178  0   0  62    0   4      -2.9788      -2.2895  0   0  73    0   4      -3.7241      -3.4223  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:06  71    0   4      -2.8267      -2.2996  0   0  70    0   4      -3.4234       -2.925  0   0  62    0   4      -2.9952      -2.3017  0   0  74    0   4       -3.722      -3.4167  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:12  71    0   4      -2.8285      -2.3022  0   0  71    0   4      -3.4175      -2.9155  0   0  63    0   4      -3.0016      -2.3052  0   0  74    0   4      -3.7148      -3.4108  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:18  72    0   4      -2.8268      -2.3017  0   0  72    0   4      -3.4242      -2.9218  0   0  64    0   4      -2.9955      -2.3018  0   0  73    0   4      -3.7007      -3.4105  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:25  73    0   4       -2.833      -2.3064  0   0  73    0   4      -3.4451      -2.9422  0   0  65    0   4      -3.0006      -2.3057  0   0  74    0   4      -3.7622      -3.4558  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:31  73    0   4      -2.8265      -2.3024  0   0  74    0   4      -3.4433      -2.9401  0   0  65    0   4      -2.9839      -2.2942  0   0  73    0   4       -3.733      -3.4329  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:38  73    0   4      -2.8262      -2.3024  0   0  74    0   4      -3.4426      -2.9414  0   0  65    0   4      -2.9788      -2.2908  0   0  73    0   4      -3.7269      -3.4354  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:44  74    0   4      -2.8333       -2.308  0   0  75    0   4      -3.4536        -2.95  0   0  66    0   4       -2.993      -2.3017  0   0  73    0   4      -3.7322      -3.4464  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:50  74    0   4      -2.8352      -2.3116  0   0  76    0   4      -3.4686      -2.9617  0   0  66    0   4      -2.9907      -2.3032  0   0  73    0   4      -3.7216      -3.4334  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:01:57  76    0   4       -2.867      -2.3394  0   0  76    0   4       -3.517      -2.9986  0   0  66    0   4      -3.0082      -2.3177  0   0  76    0   4      -3.8239      -3.5004  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:03  77    0   4      -2.8807      -2.3518  0   0  77    0   4      -3.5242      -3.0046  0   0  66    0   4       -2.997      -2.3068  0   0  75    0   4       -3.805       -3.488  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:09  76    0   4      -2.8714      -2.3445  0   0  79    0   4      -3.5094      -2.9927  0   0  66    0   4      -2.9912      -2.3018  0   0  77    0   4      -3.8063      -3.4905  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:16  77    0   4      -2.8658      -2.3384  0   0  80    0   4      -3.5121      -2.9965  0   0  66    0   4      -2.9822      -2.2941  0   0  76    0   4      -3.7856      -3.4762  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:22  77    0   4      -2.8531      -2.3304  0   0  80    0   4      -3.4822      -2.9729  0   0  66    0   4      -2.9765      -2.2891  0   0  75    0   4      -3.7534      -3.4513  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:28  80    0   4      -2.8507      -2.3285  0   0  80    0   4      -3.4815      -2.9765  0   0  65    0   4      -2.9793      -2.2907  0   0  75    0   4      -3.7587      -3.4546  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:35  77    0   4      -2.8512      -2.3275  0   0  81    0   4      -3.4948      -2.9887  0   0  65    0   4      -2.9979       -2.307  0   0  74    0   4      -3.7474      -3.4505  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:41  78    0   4      -2.8578      -2.3332  0   0  81    0   4      -3.5073      -2.9967  0   0  66    0   4      -3.0193      -2.3256  0   0  75    0   4      -3.7672      -3.4638  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:47  78    0   4      -2.8552       -2.332  0   0  80    0   4      -3.4992      -2.9906  0   0  66    0   4      -3.0192      -2.3244  0   0  75    0   4      -3.7629      -3.4565  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:02:54  78    0   4      -2.8521      -2.3279  0   0  80    0   4      -3.4981      -2.9897  0   0  66    0   4       -3.012      -2.3192  0   0  76    0   4      -3.7938      -3.4765  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:00  78    0   4      -2.8488      -2.3267  0   0  80    0   4      -3.5088      -3.0015  0   0  66    0   4      -3.0249      -2.3312  0   0  76    0   4      -3.8126       -3.499  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:06  77    0   4       -2.839      -2.3185  0   0  80    0   4      -3.5126      -3.0042  0   0  67    0   4      -3.0384       -2.344  0   0  75    0   4      -3.8222      -3.5062  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:13  77    0   4      -2.8165      -2.3005  0   0  79    0   4      -3.4722      -2.9619  0   0  67    0   4      -3.0358      -2.3424  0   0  75    0   4      -3.7906      -3.4794  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:19  76    0   4      -2.7944      -2.2828  0   0  78    0   4       -3.448      -2.9428  0   0  66    0   4      -3.0146      -2.3256  0   0  74    0   4      -3.7585       -3.457  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:25  76    0   4      -2.7678      -2.2613  0   0  77    0   4      -3.4121       -2.913  0   0  66    0   4       -3.006      -2.3196  0   0  74    0   4      -3.7452      -3.4483  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:32  75    0   4       -2.749      -2.2503  0   0  76    0   4      -3.3761      -2.8823  0   0  66    0   4      -2.9957      -2.3125  0   0  74    0   4      -3.7516      -3.4504  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:38  72    0   4      -2.7313       -2.239  0   0  75    0   4      -3.3506      -2.8579  0   0  65    0   4      -2.9932      -2.3109  0   0  74    0   4      -3.7322      -3.4373  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:44  72    0   4      -2.7263      -2.2338  0   0  73    0   4        -3.33      -2.8426  0   0  64    0   4      -2.9748      -2.2976  0   0  73    0   4      -3.6916      -3.4071  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:51  71    0   4      -2.7246      -2.2337  0   0  72    0   4      -3.3252      -2.8378  0   0  64    0   4      -2.9822      -2.3028  0   0  73    0   4       -3.711      -3.4185  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:03:57  69    0   4       -2.732      -2.2417  0   0  71    0   4      -3.3147      -2.8289  0   0  63    0   4      -2.9959      -2.3142  0   0  74    0   4      -3.7196      -3.4206  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:03  70    0   4      -2.7115      -2.2248  0   0  70    0   4      -3.3041      -2.8196  0   0  62    0   4      -2.9994      -2.3177  0   0  74    0   4      -3.7004      -3.4071  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:10  68    0   4      -2.7035      -2.2169  0   0  69    0   4      -3.2991      -2.8146  0   0  63    0   4      -3.0137      -2.3276  0   0  73    0   4      -3.6819      -3.3961  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:16  67    0   4      -2.7058      -2.2185  0   0  68    0   4      -3.3001      -2.8124  0   0  63    0   4      -3.0305      -2.3368  0   0  72    0   4      -3.6647      -3.3879  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:22  67    0   4      -2.7059      -2.2178  0   0  68    0   4      -3.3032      -2.8135  0   0  63    0   4      -3.0423      -2.3444  0   0  72    0   4      -3.6711      -3.3931  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:29  67    0   4      -2.7077      -2.2185  0   0  67    0   4      -3.3035      -2.8148  0   0  64    0   4      -3.0358      -2.3379  0   0  71    0   4      -3.6541      -3.3801  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:35  65    0   4      -2.7074        -2.22  0   0  66    0   4      -3.3047      -2.8166  0   0  64    0   4      -3.0249      -2.3291  0   0  71    0   4      -3.6373      -3.3706  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:42  66    0   4      -2.7237       -2.232  0   0  66    0   4       -3.323      -2.8318  0   0  64    0   4       -3.022      -2.3288  0   0  71    0   4      -3.6838      -3.4011  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:48  66    0   4      -2.7285      -2.2243  0   0  66    0   4      -3.3311      -2.8382  0   0  65    0   4      -3.0328      -2.3339  0   0  76    0   4      -3.9515      -3.6021  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:04:54  68    0   4      -2.7269      -2.2277  0   0  66    0   4      -3.3122      -2.8217  0   0  64    0   4      -3.0169      -2.3215  0   0  76    0   4      -3.8994      -3.5572  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:01  67    0   4      -2.7482      -2.2495  0   0  67    0   4       -3.328      -2.8278  0   0  66    0   4      -3.0327      -2.3359  0   0  73    0   4      -3.7202      -3.4457  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:07  68    0   4      -2.7579       -2.261  0   0  70    0   4       -3.337      -2.8318  0   0  67    0   4      -3.0739      -2.3621  0   0  71    0   4      -3.6748       -3.417  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:13  69    0   4      -2.7848      -2.2801  0   0  73    0   4      -3.3737      -2.8588  0   0  69    0   4      -3.0661      -2.3554  0   0  74    0   4       -3.712      -3.4437  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:20  73    0   4      -2.8103      -2.2996  0   0  77    0   4      -3.4046      -2.8849  0   0  70    0   4      -3.0692      -2.3571  0   0  74    0   4      -3.7271      -3.4499  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:26  75    0   4      -2.8201      -2.3067  0   0  79    0   4      -3.4242      -2.9043  0   0  70    0   4      -3.0688      -2.3574  0   0  74    0   4      -3.7441      -3.4658  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:32  77    0   4      -2.8243      -2.3095  0   0  81    0   4      -3.4208      -2.9058  0   0  71    0   4       -3.058      -2.3496  0   0  72    0   4      -3.7145      -3.4531  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:39  81    0   4      -2.8334      -2.3152  0   0  82    0   4       -3.438      -2.9207  0   0  72    0   4      -3.0547      -2.3474  0   0  72    0   4        -3.73       -3.467  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:45  81    0   4       -2.854      -2.3343  0   0  83    0   4      -3.4822      -2.9582  0   0  72    0   4      -3.0744       -2.364  0   0  74    0   4       -3.804      -3.5254  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:51  82    0   4      -2.8865      -2.3644  0   0  85    0   4      -3.5113      -2.9838  0   0  72    0   4      -3.0894      -2.3756  0   0  75    0   4      -3.8412      -3.5541  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:05:58  82    0   4      -2.8793      -2.3573  0   0  85    0   4      -3.4824      -2.9606  0   0  72    0   4      -3.0826      -2.3676  0   0  76    0   4      -3.8193      -3.5384  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:04  83    0   4      -2.8621      -2.3474  0   0  85    0   4      -3.4784      -2.9607  0   0  73    0   4      -3.0871      -2.3709  0   0  75    0   4       -3.784      -3.5124  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:10  84    0   4      -2.8574      -2.3415  0   0  86    0   4      -3.4637      -2.9494  0   0  73    0   4      -3.0875      -2.3702  0   0  74    0   4      -3.7445      -3.4836  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:17  83    0   4      -2.8568      -2.3419  0   0  86    0   4      -3.4567      -2.9464  0   0  74    0   4        -3.08      -2.3655  0   0  73    0   4       -3.752      -3.4947  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:23  85    0   4      -2.8639      -2.3426  0   0  85    0   4      -3.4748       -2.965  0   0  75    0   4      -3.0878      -2.3731  0   0  73    0   4      -3.7552      -3.4926  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:29  84    0   4       -2.856       -2.338  0   0  85    0   4      -3.4622      -2.9551  0   0  75    0   4      -3.0751      -2.3645  0   0  75    0   4      -3.7609      -3.4949  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:36  83    0   4      -2.8478      -2.3303  0   0  85    0   4      -3.4483      -2.9435  0   0  74    0   4      -3.0448      -2.3422  0   0  73    0   4       -3.732      -3.4745  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:42  84    0   4       -2.838       -2.324  0   0  85    0   4      -3.4309      -2.9315  0   0  74    0   4      -3.0282      -2.3314  0   0  72    0   4      -3.7028      -3.4541  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:48  83    0   4      -2.8276      -2.3164  0   0  84    0   4      -3.4256      -2.9283  0   0  73    0   4      -3.0364      -2.3386  0   0  73    0   4      -3.7484      -3.4783  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:06:55  84    0   4      -2.8139      -2.3057  0   0  83    0   4      -3.4184      -2.9204  0   0  73    0   4      -3.0546      -2.3558  0   0  73    0   4      -3.7393      -3.4766  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:01  84    0   4      -2.7963      -2.2897  0   0  83    0   4      -3.3893      -2.8932  0   0  72    0   4      -3.0602      -2.3621  0   0  73    0   4      -3.7206      -3.4646  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:07  82    0   4      -2.7732      -2.2755  0   0  83    0   4      -3.3737      -2.8811  0   0  72    0   4      -3.0539      -2.3574  0   0  72    0   4      -3.7042      -3.4524  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:14  81    0   4      -2.7745      -2.2763  0   0  82    0   4      -3.3704      -2.8803  0   0  71    0   4      -3.0538      -2.3564  0   0  74    0   4      -3.7182      -3.4671  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:20  82    0   4      -2.7662      -2.2729  0   0  81    0   4       -3.357      -2.8732  0   0  70    0   4      -3.0324      -2.3406  0   0  72    0   4      -3.6973      -3.4541  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:27  77    0   4      -2.7668      -2.2728  0   0  80    0   4      -3.3588      -2.8771  0   0  70    0   4      -3.0329      -2.3425  0   0  72    0   4      -3.6937      -3.4567  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:33  77    0   4      -2.7669      -2.2747  0   0  79    0   4      -3.3547      -2.8753  0   0  70    0   4      -3.0241      -2.3367  0   0  71    0   4      -3.6833      -3.4457  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:39  78    0   4      -2.7652      -2.2716  0   0  79    0   4      -3.3565      -2.8773  0   0  68    0   4      -3.0339      -2.3445  0   0  73    0   4      -3.6956      -3.4433  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:45  79    0   4      -2.7775      -2.2818  0   0  78    0   4      -3.3635      -2.8825  0   0  68    0   4       -3.019      -2.3331  0   0  74    0   4      -3.7409      -3.4826  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:52  78    0   4      -2.7902        -2.29  0   0  78    0   4       -3.379      -2.8932  0   0  68    0   4      -3.0668      -2.3628  0   0  75    0   4      -3.7425      -3.4794  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:07:58  77    0   4      -2.7842      -2.2863  0   0  77    0   4      -3.3449      -2.8618  0   0  69    0   4      -3.0753      -2.3669  0   0  74    0   4      -3.7178      -3.4592  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0
08.11.10 15:08:05  78    0   4      -2.7882      -2.2909  0   0  76    0   4      -3.3442       -2.858  0   0  70    0   4      -3.0893      -2.3769  0   0  75    0   4      -3.7027      -3.4443  0   0  AB0912040885-0  AB0912040757-0  AB0912040628-0  AB0912040780-0

             reply	other threads:[~2010-12-15 12:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 12:55 Tom [this message]
2010-12-15 14:51 ` simple first emacs script Pascal J. Bourguignon
2010-12-15 17:28   ` Tom
2010-12-15 18:37     ` Pascal J. Bourguignon
2010-12-16 15:21       ` Tom
2010-12-16 21:55       ` Stefan Monnier
2010-12-17 22:13         ` Thien-Thi Nguyen

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='2V2Oo.37337$hW6.28446@newsfe08.ams2' \
    --to=tom@somewhere.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).