aboutsummaryrefslogtreecommitdiff
path: root/NEWS
blob: 1bda0dc8241bca499cece5dd4be170d36a74dfd6 (plain)
1
2
3
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Cfpeek NEWS -- history of user-visible changes. 2012-03-30
Copyright (C) 2011, 2012 Sergey Poznyakoff
See the end of file for copying conditions.

Please send cfpeek bug reports to <bug-cfpeek@gnu.org.ua>


Version 1.1, 2012-03-30

* New command line option --init (-i)

* New format flags: down=N, child=S, sibling=S

* New guile primitives:

- (grecs-node-ident-locus node [full])

Returns the location of the node's identifier.  See below for the meaning
of [full].

- (grecs-node-value-locus node [full])

Returns the location of the node's value.

* Full vs. simplified locations.

There are two flavors of source locations: simplified and full ones.  A
simplified location consists of a file name and line number.  When returned
from a Guile primitive, they are packed in a cons.  A simplified location
shows an approximate location of the object in the configuration file.

A full location provides the exact location of the object.  It consists of
a pair of triplets, which mark the beginning and end of the object.  Each
triplet consists of a file name, line number and column number.  When 
returned from a Guile primitive, each triplet is represented as a list of 
three elements and both triplets are packed in a cons, the start location 
being its car, and the end location being its cdr.

The three functions that return node locations, grecs-node-locus,
grecs-node-ident-locus and grecs-node-value-locus, return simplified
locations by default.  If #t is supplied as the optional second
argument, these functions return full locations.



Version 1.0, 2011-05-27

Initial revision


=========================================================================
Copyright information:

Copyright (C) 2011, 2012 Sergey Poznyakoff

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.

Local variables:
mode: outline
paragraph-separate: "[	]*$"
eval: (add-hook 'write-file-hooks 'time-stamp)
time-stamp-start: "changes. "
time-stamp-format: "%:y-%02m-%02d"
time-stamp-end: "\n"
end:

Return to:

Send suggestions and report system problems to the System administrator.