Next: , Up: Selecting records   [Contents][Index]


5.1 Buffer from selection

Creating new recfiles based on selections can be done by creating a wholly new buffer using the buffer from selection commands in rec-mode.

x s
M-x rec-cmd-new-buffer-from-sex

Creates a new buffer from a selection expression. See Selection Expressions in GNU Recutils Manual. Prompts the user for a selection expression and then displays a new buffer containing records that match the expression.

x q
M-x rec-cmd-new-buffer-from-fast-string

Creates a new buffer from a fast string search. Prompts the user for a string and then displays a new buffer which contains all records whose any field contains this string.

In both of these commands, if the recfile has a record descriptor, it is copied as well.