GNU bug report logs - #26454
[PATCH 2/2] gnu: add emacs-exwm

Previous Next

Package: guix-patches;

Reported by: Feng Shu <tumashu <at> 163.com>

Date: Tue, 11 Apr 2017 23:17:02 UTC

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: tumashu <tumashu <at> 163.com>
To: "Arun Isaac" <arunisaac <at> systemreboot.net>
Cc: 26454 <at> debbugs.gnu.org
Subject: bug#26454: [PATCH 2/2] gnu: add emacs-exwm
Date: Mon, 17 Apr 2017 05:22:02 +0800 (CST)




--
发自我的网易邮箱手机智能版


在 2017-04-17 04:53:46,"Arun Isaac" <arunisaac <at> systemreboot.net> 写道:
>
>> +               (with-output-to-file exwm-default-session
>> +                 (lambda _
>> +                   (format #t
>> +                    "#!~a ~@
>> +                     export DISPLAY=:0 ~@
>> +                     ~a +SI:localuser:$USER ~@
>> +                     exec ~a --exit-with-session ~a -q --eval \"~a\" ~%"
>
>Can we drop the -q flag? If we use the -q flag, the user's ~/.emacs is
>not loaded. That means to use their editor, they'll have to start
>another emacs process leaving the first emacs process just for
>exwm. This need for two emacs processes is not nice.

exwm config can not enable when user use another wm, so in my opinion, putting exwm config in. emacs 
need emacs user do many work to avoid confilt

maybe adding (load ".emacs") to .exwm.el is a more simple

exwm-default-session is for exwm beginner or tester, 
in my opinion

>
>> +                    sh-path xhost-path dbus-launch-path emacs-path
>> +                    (string-append
>> +                     "(if (file-exists-p \\\"~/.exwm.el\\\")"
>> +                     "(load \\\"~/.exwm.el\\\")"
>> +                     "(require 'exwm)"
>> +                     "(require 'exwm-config)"
>> +                     "(exwm-config-default)"
>> +                     "(message \\\"EXWM: ~/.exwm.el is not exist. "
>> +                     "use exwm fallback configure.\\\")"
>> +                     ")"))))
>
>This eval forces the user to put all exwm specific configuration in
>~/.exwm.el. Is it possible to work out some way to let the user keep all
>their configuration in the usual ~/.emacs, but still have some way for
>the default configuration to work out of the box without the user having
>to modify their ~/.emacs ?

i do not know, seem to have no easy way

>
>
>

This bug report was last modified 8 years and 27 days ago.

Previous Next


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