guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26454: [PATCH 2/2] gnu: Add emacs-exwm.


From: Feng Shu
Subject: bug#26454: [PATCH 2/2] gnu: Add emacs-exwm.
Date: Mon, 17 Apr 2017 22:41:07 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Arun Isaac <address@hidden> 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+)))

-- 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]