Subject: bug#73805: closed (Re: [bug#73805] [PATCH 2/2] gnu: fix emacs-exwm)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 15 Oct 2024 07:23:02 +0000

Your bug report

#73805: [PATCH 2/2] gnu: fix emacs-exwm

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73805: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73805
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#73805] [PATCH 2/2] gnu: fix emacs-exwm
From: Nicolas Goaziou <[email-masked]>
To: Adam Quandour <[email-masked]>
Cc: [email-masked]
Date: Tue, 15 Oct 2024 09:22:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Adam Quandour <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-exwm): Fix the package.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH 2/2] gnu: fix emacs-exwm
From: Adam Quandour <[email-masked]>
To: [email-masked]
Cc: Adam Quandour <[email-masked]>
Date: Mon, 14 Oct 2024 21:30:03 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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