GNU bug report logs - #73805
[PATCH 2/2] gnu: fix emacs-exwm

Previous Next

Package: guix-patches;

Reported by: Adam Quandour <adam.quandour <at> gmail.com>

Date: Mon, 14 Oct 2024 18:31:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Quandour <adam.quandour <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Adam Quandour <adam.quandour <at> gmail.com>
Subject: [PATCH 2/2] gnu: fix emacs-exwm
Date: Mon, 14 Oct 2024 21:30:03 +0300
* gnu/packages/emacs-xyz.scm (emacs-exwm): Fix the package.

EXWM project team removed exwm-config-example. Now exwm will not work if
the user doesn't have any configuration in ~/.emacs (or any other emacs init
file). I suggest leaving exwm-enable and a link to the project's wiki
page. So the user will have at least a fullscreen emacs window to work with.
---
 gnu/packages/emacs-xyz.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4726657..f2a52d3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20446,10 +20446,12 @@ (define-public emacs-exwm
                                (load-file "~/.exwm"))
                               ((not (featurep 'exwm))
                                (require 'exwm)
-                               (require 'exwm-config)
-                               (exwm-config-example)
+                               (exwm-enable)
                                (message (concat "exwm configuration not found. "
-                                                "Falling back to default configuration...")))))))
+                                                "Falling back to minimal configuration. "
+                                                "An example configuration can be found here "
+                                                "https://github.com/emacs-exwm/exwm"
+                                                "/wiki/Configuration-Example")))))))
                 (chmod exwm-executable #o555)))))))
     (home-page "https://github.com/ch11ng/exwm")
     (description
-- 
2.46.0





This bug report was last modified 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.