From: Jan Nieuwenhuizen <janneke@gnu.org>
To: "André A. Gomes" <andremegafone@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: EXWM
Date: Wed, 20 Oct 2021 09:27:19 +0200 [thread overview]
Message-ID: <878ryo40mg.fsf@gnu.org> (raw)
In-Reply-To: <878ryqe10m.fsf@gmail.com> ("André A. Gomes"'s message of "Mon, 18 Oct 2021 19:44:09 +0300")
André A. Gomes writes:
> Jan Nieuwenhuizen <janneke@gnu.org> writes:
>
>> I just tried adding my ~/.exwm into my init.el and running a nested
>> emacs and now I get a GUI dialog:
>>
>> Replace existing window manager? Y/N
>>
>> Not great! Not very suprisingly, the extra unnecessary initialization
>> /does/ hurt here.
>
> Isn't exwm doing precisely what it's supposed to do? Isn't it fair that
> the newly spawned (nested) Emacs has the right to take control over the
> "older" Emacs?
Of course; that's my point exactly! Emacs cannot know, and thus cannot
help but doing the annoying thing: throwing a dialogue. That is what
this code
--8<---------------cut here---------------start------------->8---
(cond ((file-exists-p "~/.exwm") (load-file "~/.exwm"))
((not (featurep (quote exwm)))
(require (quote exwm))
(require (quote exwm-config))
(exwm-config-default)
(message (concat "exwm configuration not found. "
"Falling back to default configuration..."))))
--8<---------------cut here---------------end--------------->8---
helps to prevent in a very nice way. Let's please keep it!
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
next prev parent reply other threads:[~2021-10-20 7:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 14:33 EXWM André A. Gomes
2021-10-08 9:57 ` EXWM Arun Isaac
2021-10-08 10:21 ` EXWM Jan Nieuwenhuizen
2021-10-08 10:55 ` EXWM Arun Isaac
2021-10-10 13:16 ` EXWM Ludovic Courtès
2021-10-15 7:15 ` EXWM André A. Gomes
2021-10-15 6:54 ` EXWM André A. Gomes
2021-10-08 10:59 ` EXWM Arun Isaac
2021-10-15 7:38 ` EXWM André A. Gomes
2021-10-16 16:03 ` EXWM Arun Isaac
2021-10-18 5:29 ` EXWM Jan Nieuwenhuizen
2021-10-18 16:44 ` EXWM André A. Gomes
2021-10-20 7:27 ` Jan Nieuwenhuizen [this message]
2021-10-22 10:25 ` EXWM André A. Gomes
2021-10-22 10:37 ` EXWM Arun Isaac
2021-10-22 10:52 ` EXWM André A. Gomes
2021-10-22 18:55 ` EXWM Ricardo Wurmus
2021-10-22 19:36 ` EXWM André A. Gomes
2021-10-22 20:15 ` EXWM André A. Gomes
2021-10-23 15:02 ` EXWM André A. Gomes
-- strict thread matches above, loose matches on Subject: below --
2022-01-01 19:19 EXWM calcium
2022-01-03 20:03 ` EXWM André A. Gomes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878ryo40mg.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=andremegafone@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).