all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tumashu <tumashu@163.com>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 26454@debbugs.gnu.org
Subject: bug#26454: [PATCH 2/2] gnu: add emacs-exwm
Date: Mon, 17 Apr 2017 05:22:02 +0800 (CST)	[thread overview]
Message-ID: <1cab4195.254.15b78a4dee0.Coremail.tumashu@163.com> (raw)
In-Reply-To: <a15986a2.AEEAJj31a04AAAAAAAAAAAO0QTIAAAACwQwAAAAAAAW9WABY89nj@mailjet.com>






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


在 2017-04-17 04:53:46,"Arun Isaac" <arunisaac@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

>
>
>

  reply	other threads:[~2017-04-16 21:23 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 22:58 bug#26453: [PATCH 1/2] gnu: add emacs-xelb Feng Shu
2017-04-11 22:58 ` bug#26454: [PATCH 2/2] gnu: add emacs-exwm Feng Shu
2017-04-12  9:35   ` Arun Isaac
2017-04-12 18:13     ` Alex Kost
2017-04-12 20:05       ` Arun Isaac
2017-04-13  1:14         ` tumashu
2017-04-13  5:21           ` Arun Isaac
2017-04-14 11:54             ` Feng Shu
2017-04-14 13:27               ` Arun Isaac
2017-04-14 15:13                 ` Feng Shu
2017-04-14 17:24                   ` Arun Isaac
2017-04-15  2:37                     ` tumashu
2017-04-15 12:29                       ` Feng Shu
2017-04-15 21:13                         ` Arun Isaac
     [not found]                         ` <e0ed6d82.AEAAJGDHDFkAAAAAAAAAAAO1LyIAAAACwQwAAAAAAAW9WABY8o0b@mailjet.com>
2017-04-15 23:41                           ` Feng Shu
2017-04-16  7:09                             ` Arun Isaac
2017-04-16  8:04                               ` Feng Shu, Arun Isaac
2017-04-16 20:53                                 ` Arun Isaac
2017-04-16 21:22                                   ` tumashu [this message]
2017-04-17  2:14                                     ` tumashu
2017-04-17 13:47                                       ` Arun Isaac
2017-04-18  8:20                                         ` Ludovic Courtès
2017-04-18 13:38                                           ` Arun Isaac
2017-04-18 20:39                                             ` Arun Isaac
2017-04-23  9:54                                         ` tumashu
2017-04-28 18:57                                           ` Arun Isaac
2017-04-14 21:47                   ` Ludovic Courtès
2017-04-16  9:32                 ` Ludovic Courtès
2017-04-16 11:06                   ` Arun Isaac
2017-04-16 21:09                     ` tumashu
2017-04-13  5:25           ` Arun Isaac
2017-04-13 21:04             ` Ludovic Courtès
2017-04-14  5:40               ` Arun Isaac
2017-04-16  9:03         ` Alex Kost
2017-04-16  9:29           ` Arun Isaac
2017-04-17 13:27   ` bug#26454: [PATCH 1/2] gnu: Add emacs-xelb Arun Isaac
2017-04-12  9:34 ` bug#26453: [PATCH 1/2] gnu: add emacs-xelb Arun Isaac
2017-04-12 10:12 ` Arun Isaac
     [not found] ` <cu7zifmezqp.fsf@systemreboot.net>
2017-04-13  5:26   ` Arun Isaac
     [not found] <20170417132743.5683-1-arunisaac@systemreboot.net>
2017-04-17 13:27 ` bug#26454: [PATCH 2/2] gnu: Add emacs-exwm Arun Isaac
     [not found] ` <c675c264.AEMAJSAD6iUAAAAAAAAAAAO1LyIAAAACwQwAAAAAAAW9WABY9MMd@mailjet.com>
2017-04-17 14:41   ` Feng Shu
2017-04-17 17:23     ` Arun Isaac
2017-04-17 21:51       ` Feng Shu

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1cab4195.254.15b78a4dee0.Coremail.tumashu@163.com \
    --to=tumashu@163.com \
    --cc=26454@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.