From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d07qv-0005qW-Q5 for guix-patches@gnu.org; Mon, 17 Apr 2017 10:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d07qs-0000i5-M3 for guix-patches@gnu.org; Mon, 17 Apr 2017 10:42:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d07qs-0000hr-AT for guix-patches@gnu.org; Mon, 17 Apr 2017 10:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d07qs-0006tT-3n for guix-patches@gnu.org; Mon, 17 Apr 2017 10:42:02 -0400 Subject: bug#26454: [PATCH 2/2] gnu: Add emacs-exwm. Resent-Message-ID: From: "Feng Shu" References: <20170417132743.5683-1-arunisaac@systemreboot.net> Date: Mon, 17 Apr 2017 22:41:07 +0800 In-Reply-To: (Arun Isaac's message of "Mon, 17 Apr 2017 18:57:43 +0530") Message-ID: <87ziff5c70.fsf@163.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 26454@debbugs.gnu.org Arun Isaac writes: > + '(unless (featurep 'exwm) > + (require 'exwm) > + (require 'exwm-config) > + (exwm-config-default) > + (message "exwm configuration not found. Falling back to default configuration."))))) If exwm's config put ~/.emacs, emacs will not start properly in other desktop environment. user should hack and let exwm's config not enable when current wm is not exwm, I don't know how to deal with this problem. If possible, I suggest to do like this, user can use ~/.emacs or ~/.exwm.el to config exwm. if one need to switch different wm frequently, ~/.exwm.el may a better solution (progn (when (file-exists-p "~/.exwm.el") (load "~/.exwm.el")) (unless (featurep 'exwm) (require 'exwm) (require 'exwm-config) (exwm-config-default) (message "exwm configuration not found. Falling back to default configuration."))))) > + (chmod exwm-executable #o555) > + #t)))))) > + (home-page "https://github.com/ch11ng/exwm")+ (description "EXWM (Emacs X Window Manager) is a full-featured tiling X > +window manager for Emacs built on top of XELB.") > + (license license:gpl3+))) --