From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: GSettings schemas Date: Tue, 23 Sep 2014 14:39:25 -0400 Message-ID: <87tx3yi3ky.fsf@yeeloong.lan> References: <87y4tliahf.fsf@gnu.org> <87r3zabohm.fsf@gnu.org> <8738bp16k4.fsf@gnu.org> <87lhpgoxjp.fsf@gnu.org> <87fvfm8m4f.fsf@gnu.org> <87fvfm595n.fsf@gnu.org> <874mw0umtv.fsf_-_@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWV21-0003vW-KC for guix-devel@gnu.org; Tue, 23 Sep 2014 14:41:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWV1w-0001bc-Eg for guix-devel@gnu.org; Tue, 23 Sep 2014 14:41:45 -0400 In-Reply-To: <874mw0umtv.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 22 Sep 2014 09:38:20 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Federico Beffa ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Federico Beffa skribis: > >> I've found that setting the environment variable GSETTINGS_SCHEMA_DIR >> solves the problem. >> >> $ GSETTINGS_SCHEMA_DIR=3D/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 =E2=80=98wrap-program=E2=80=99 to set that variable for Emac= s, 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