SXML Support - Emacs users

G-Golf offers two files to support editing and maintaining GtkWidget template and GtkBuilder ui (xml) files as sxml files instead. Currently, these files are in the examples/adw-1/adw1-demo/ui directory.

sxml-ui.el

Emacs users should import this file in their .emacs file.

This is an attempt to provide both indentation and font-lock support, so ui files editing becomes a more pleasant experience. It is a first draft and definitely an experimental attempt. Better then nothing (much better imo), but suggestions to improve this first and quite ’naive’ draft would be welcome.

Makefile

Offered as an example of the simplest possible way to convert all *.scm files of a directory to their corresponding *.ui files.