unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73805] [PATCH 2/2] gnu: fix emacs-exwm
@ 2024-10-14 18:30 Adam Quandour
  2024-10-15  7:22 ` bug#73805: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Quandour @ 2024-10-14 18:30 UTC (permalink / raw)
  To: 73805; +Cc: Adam Quandour

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-15  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14 18:30 [bug#73805] [PATCH 2/2] gnu: fix emacs-exwm Adam Quandour
2024-10-15  7:22 ` bug#73805: " Nicolas Goaziou via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).