File: hyrolo-logic.el.html
INSTALLATION:
See also hyrolo.el. These functions are separated from hyrolo.el since many
users may never want or need them. They can be automatically loaded when
desired by adding the following to one of your Emacs init files:
(autoload 'hyrolo-fgrep-logical "hyrolo-logic" "Rolo search with logical operators." t)
FEATURES:
1. One command, hyrolo-fgrep-logical which prompts for a logical search
expression string and displays any matching entries. A sample expression
might be:
(and (or (not time card) (xor "french balloons" spanish)) teacher pet)
By default, only sub-entries with matches are shown, not entire
hierarchies of entries, for more intuitive results. Use a prefix argument
Either double quotes or parentheses may be used to group multiple
words as a single argument.
2. Logical hyrolo-and, hyrolo-or, hyrolo-not, and hyrolo-xor rolo
entry string filter functions. They take any number of string or
boolean arguments and may be nested. NOTE THAT THESE FUNCTIONS
SHOULD NEVER BE CALLED DIRECTLY UNLESS THE FREE VARIABLES start
and end ARE BOUND BEFOREHAND.
3. Logical hyrolo-r-and, hyrolo-r-or, hyrolo-r-not, and hyrolo-r-xor
rolo entry regexp filter functions. They take any number of string or
boolean arguments and may be nested. NOTE THAT THESE FUNCTIONS
SHOULD NEVER BE CALLED DIRECTLY UNLESS THE FREE VARIABLES start
and end ARE BOUND BEFOREHAND.
EXAMPLE PROGRAMMATIC USAGE:
(hyrolo-logic (hyrolo-and (hyrolo-not "Tool-And-Die") "secretary"))
would find all non-Tool-And-Die Corporation secretaries in your rolo.
The logical matching routines are not at all optimal, but then most
rolo files are not terribly lengthy either, so results are often
displayed quickly.
Defined variables (0)
Defined functions (12)
hyrolo-and | (START END &rest PAT-LIST) |
hyrolo-fgrep-logical | (EXPR &optional COUNT-ONLY INCLUDE-SUB-ENTRIES NO-SUB-ENTRIES-OUT KOUTLINE-FLAG) |
hyrolo-logic | (SEXP &optional IN-BUFS COUNT-ONLY INCLUDE-SUB-ENTRIES NO-SUB-ENTRIES-OUT KOUTLINE-FLAG) |
hyrolo-map-entries | (SEXP HYROLO-BUF DISPLAY-BUF HDR-POS &optional COUNT-ONLY INCLUDE-SUB-ENTRIES) |
hyrolo-map-kotl | (SEXP HYROLO-BUF DISPLAY-BUF HDR-POS &optional COUNT-ONLY INCLUDE-SUB-ENTRIES) |
hyrolo-not | (START END &rest PAT-LIST) |
hyrolo-or | (START END &rest PAT-LIST) |
hyrolo-r-and | (START END &rest PAT-LIST) |
hyrolo-r-not | (START END &rest PAT-LIST) |
hyrolo-r-or | (START END &rest PAT-LIST) |
hyrolo-r-xor | (START END &rest PAT-LIST) |
hyrolo-xor | (START END &rest PAT-LIST) |