I have installed a local version of emacs in /usr/local/share in addition to the emacs-pgtk package
The local version created the attached file org.gnu.emacs.defaults.gschema.xml in /usr/local/share/glib-2.0/schemas/
This is actually a duplicate of the file from emacs-pgtk in /usr/share/glib-2.0/schemas
There is also the file gschemas.compiled in /usr/local/share/glib-2.0/schemas
XDG_DATA_DIRS is set to
~$ echo $XDG_DATA_DIRS
/usr/share/gnome:/usr/local/share/:/usr/share/
Now, the command
gsettings list-recursively
without specifying a SCHEMA, does not produce any output
It seems to work ok when specifying a SCHEMA e.g
gsettings list-recursively org.gnome.desktop.default-applications
If I delete /usr/local/share/glib-2.0/schemas/gschemas.compiled then the command without a SCHEMA works again