Skip to content

Bost/search-notes

Repository files navigation

search-notes

Installation: run make. See also Makefile.

# Fix the 'loading code: version mismatch' error
rm -rf ./compiled/ ./scribblings/compiled/
raco pkg install --auto ansi-color
# raco test ./  # optionally
isGuix=$(command -v guix > /dev/null 2>&1 && echo t || echo f)
[ ${isGuix} = t ] && destDir=$dotf/bin || destDir=~/bin
[ ! -d ${destDir} ] && mkdir $destDir || :
raco exe -o $destDir/search-notes main.rkt
[ ${isGuix} = t ] && gxhre --cores=${cores} || :

See main.rkt -> command-line -> #:usage-help

TODO When inside source-block BEGIN_SRC END_SRC then the block is continuous text. When outside of the source-block then the block is between two org-mode '* ...', '* ...' sections

TODO Two search patterns means

  • search for block(s)
  • then search within the found block(s)

TODO Find org-mode racket parser / language: https://github.com/tgbugs/laundry

For word boundaries etc. see: https://docs.racket-lang.org/guide/regexp-chars.html#%28part._.P.O.S.I.X_character_classes%29

About

No description, website, or topics provided.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE-APACHE
Unknown
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published