Skip to content

Instantly share code, notes, and snippets.

@h4k1m0u
Last active February 7, 2026 12:35
Show Gist options
  • Select an option

  • Save h4k1m0u/a7c7790e05c037bec614197da36c4d1e to your computer and use it in GitHub Desktop.

Select an option

Save h4k1m0u/a7c7790e05c037bec614197da36c4d1e to your computer and use it in GitHub Desktop.
Notes about the Scheme language

Installation

$ sudo apt install guile-3.0

Help

From the command line:

$ sudo apt install guile-3.0-doc
$ info --vi-keys guile  # to use vim keybindings in info 
  • h: Show shortcuts.
  • [ and ]: Go to the previous/next node.
  • g and G: Go to the start/end of the document.
  • Tab: Jump to hyperlinks (in order).
  • Alt-g and ': Follow the hyperlink, and return to where we were.
  • j and k: Scroll one line down/up.
  • u and d: Scroll half a page up/down.
  • /<text>: Search for occurrences of text.
  • n and N: Jump to the next/previous occurrence.

Gimp script-fu

  • Run TinyScheme from terminal: gimp-console -b -.
  • PDB (Procedure Database): internal registry of all Gimp functions that can be called.
  • E.g.: (gimp-image-scale image new-width new-height)
  • Image: While gimp image (canvas, layers...).
  • Drawable: Usually one layer (active one).
  • Browse plugins:
$ apt-get source gimp
$ cd <gimp>/plug-ins/script-fu
  • Functions (script-fu ...): for registering plugins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment