Next: , Previous: , Up: Navigation mode   [Contents][Index]


2.6 Statistics

The following commands allow to count records in the current buffer based on some provided criteria.

I
M-x rec-cmd-show-info

Show the number of records in the buffer categorized by type.

#
M-x rec-cmd-count

Count the number of records in the buffer having the same type as the current record. With a numeric prefix N, ask for a selection expression and count the number of records in the buffer satisfying the expression.

Note that rec-mode tries to guess a reasonable default for the selection expression, depending on the type of the field and its value. If the user press RET then the provided default selection expression is used.

%
M-x rec-cmd-statistics

If the field under the cursor contains an enumerated value, show the percentages of records in the current record set having fields with each of the possible values of the enumerated type.