l...@gnu.org (Ludovic Courtès) writes: > Federico Beffa <be...@ieee.org> skribis: > >> I've found that setting the environment variable GSETTINGS_SCHEMA_DIR >> solves the problem. >> >> $ >> GSETTINGS_SCHEMA_DIR=/gnu/store/5shj344c9vrh4fx93r9lfjjrrr97fmjv-gtk+-3.10.1/share/glib-2.0/schemas >> emacs >> >> Can the schema location be fixed at configure/compile time? > > We could use ‘wrap-program’ to set that variable for Emacs, but we need > to address that problem more generally.
This 'wrap-program' strategy of setting environment variables before running a program has problems. In this case, it means that every program run within Emacs will inherit that GSETTINGS_SCHEMA_DIR value. Along the same lines, I've noticed that when running WindowMaker, all of the programs within my X session include a WindowMaker-specific directory at the front of PATH. It would be good to find another solution. Mark