You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone had luck getting emacsclient to work? I often switch networks, which VcXsrv does not handle well -- usually disconnecting emacs and losing in-progress work.
If I modify wsl-2_4-*.ps1 to instead start emacs --daemon instead of emacs, the daemon launches successfully:
Warning: due to a long standing Gtk+ bug
https://gitlab.gnome.org/GNOME/gtk/issues/221
Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
Loading ~/.emacs.d/init-custom.el (source)...
Loading ~/.emacs.d/init-custom.el (source)...done
[Treemacs] Warning: coudn’t find default background colour for icons, falling back on #2d2d31.
[Treemacs] Warning: couldn’t find hl-line-mode’s background color for icons, falling back on #2d2d31.
[yas] Prepared just-in-time loading of snippets (but no snippets found).
Starting Emacs daemon.
With an additional modified version of wsl-2_4-*.ps1 to start emacsclient . instead of emacs:
Used the --create-frame (alias is just -c) option to Create a new frame instead of trying to use the current Emacs frame to make sure a frame is created.
You can probably change the line in the first script from
Has anyone had luck getting emacsclient to work? I often switch networks, which VcXsrv does not handle well -- usually disconnecting emacs and losing in-progress work.
If I modify
wsl-2_4-*.ps1
to instead startemacs --daemon
instead ofemacs
, the daemon launches successfully:With an additional modified version of wsl-2_4-*.ps1 to start
emacsclient .
instead ofemacs
:I don't see a window (or any debugging information). Using
emacsclient -d
with the display's IP similarly has no effect.Using just☹️
wsl emacsclient .
will launch effectively give meemacs -nw
just fine. I just can't get it to use an X displayThe text was updated successfully, but these errors were encountered: