all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs Server PGTK
@ 2023-04-21 11:20 Björn Bidar
  2023-04-21 11:58 ` Eli Zaretskii
  2023-04-22  1:17 ` Po Lu
  0 siblings, 2 replies; 6+ messages in thread
From: Björn Bidar @ 2023-04-21 11:20 UTC (permalink / raw)
  To: emacs-devel


Hello,

Does PGTK support/work with Emacs Server?

I'm not sure if this is a bug.

GDK_BACKEND is set to wayland.

Starting Emacs with --fg-daemon and then calling emacsclient results in:
(emacs:17806): Gtk-WARNING **: 14:13:47.304: cannot open display: :1


Executing just emacs, then M-x server-start and then emacsclient -nc
results in now new frame being opened but the existing frame being
resused.

I tested Hyprland and Kwin_wayland.

Br,

Björn Bidar



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

* Re: Emacs Server PGTK
  2023-04-21 11:20 Emacs Server PGTK Björn Bidar
@ 2023-04-21 11:58 ` Eli Zaretskii
  2023-04-22  1:17 ` Po Lu
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2023-04-21 11:58 UTC (permalink / raw)
  To: Björn Bidar; +Cc: emacs-devel

> From: Björn Bidar <bjorn.bidar@thaodan.de>
> Date: Fri, 21 Apr 2023 14:20:32 +0300
> 
> 
> Hello,
> 
> Does PGTK support/work with Emacs Server?
> 
> I'm not sure if this is a bug.
> 
> GDK_BACKEND is set to wayland.
> 
> Starting Emacs with --fg-daemon and then calling emacsclient results in:
> (emacs:17806): Gtk-WARNING **: 14:13:47.304: cannot open display: :1
> 
> 
> Executing just emacs, then M-x server-start and then emacsclient -nc
> results in now new frame being opened but the existing frame being
> resused.
> 
> I tested Hyprland and Kwin_wayland.

With what Emacs version did you test that?  Please show the details of
your build and environment as collected by report-emacs-bug.



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

* Re: Emacs Server PGTK
  2023-04-21 11:20 Emacs Server PGTK Björn Bidar
  2023-04-21 11:58 ` Eli Zaretskii
@ 2023-04-22  1:17 ` Po Lu
  2023-04-22 11:08   ` Björn Bidar
  1 sibling, 1 reply; 6+ messages in thread
From: Po Lu @ 2023-04-22  1:17 UTC (permalink / raw)
  To: Björn Bidar; +Cc: emacs-devel

Björn Bidar <bjorn.bidar@thaodan.de> writes:

> Hello,
>
> Does PGTK support/work with Emacs Server?
>
> I'm not sure if this is a bug.
>
> GDK_BACKEND is set to wayland.
>
> Starting Emacs with --fg-daemon and then calling emacsclient results in:
> (emacs:17806): Gtk-WARNING **: 14:13:47.304: cannot open display: :1
>
>
> Executing just emacs, then M-x server-start and then emacsclient -nc
> results in now new frame being opened but the existing frame being
> resused.
>
> I tested Hyprland and Kwin_wayland.
>
> Br,
>
> Björn Bidar

Which emacsclient are you using?  One from Emacs 29, or one from Emacs
28?



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

* Re: Emacs Server PGTK
  2023-04-22  1:17 ` Po Lu
@ 2023-04-22 11:08   ` Björn Bidar
  2023-04-23  0:32     ` Po Lu
  0 siblings, 1 reply; 6+ messages in thread
From: Björn Bidar @ 2023-04-22 11:08 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> Björn Bidar <bjorn.bidar@thaodan.de> writes:
>
>> Hello,
>>
>> Does PGTK support/work with Emacs Server?
>>
>> I'm not sure if this is a bug.
>>
>> GDK_BACKEND is set to wayland.
>>
>> Starting Emacs with --fg-daemon and then calling emacsclient results in:
>> (emacs:17806): Gtk-WARNING **: 14:13:47.304: cannot open display: :1
>>
>>
>> Executing just emacs, then M-x server-start and then emacsclient -nc
>> results in now new frame being opened but the existing frame being
>> resused.
>>
>> I tested Hyprland and Kwin_wayland.
>>
>> Br,
>>
>> Björn Bidar
>
> Which emacsclient are you using?  One from Emacs 29, or one from Emacs
> 28?

Emacs 30.50.x



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

* Re: Emacs Server PGTK
  2023-04-22 11:08   ` Björn Bidar
@ 2023-04-23  0:32     ` Po Lu
  2023-04-23  9:44       ` Björn Bidar
  0 siblings, 1 reply; 6+ messages in thread
From: Po Lu @ 2023-04-23  0:32 UTC (permalink / raw)
  To: Björn Bidar; +Cc: emacs-devel

Björn Bidar <bjorn.bidar@thaodan.de> writes:

> Emacs 30.50.x

Right... what is the value of the `$DISPLAY' environment variable where
you run emacsclient?



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

* Re: Emacs Server PGTK
  2023-04-23  0:32     ` Po Lu
@ 2023-04-23  9:44       ` Björn Bidar
  0 siblings, 0 replies; 6+ messages in thread
From: Björn Bidar @ 2023-04-23  9:44 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Po Lu <luangruo@yahoo.com> writes:

>> Emacs 30.50.x
>
> Right... what is the value of the `$DISPLAY' environment variable
> where
> you run emacsclient?

I can XWayland too so it was DISPLAY=:1.

Should Emacs check which GDK backend is used first?



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

end of thread, other threads:[~2023-04-23  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 11:20 Emacs Server PGTK Björn Bidar
2023-04-21 11:58 ` Eli Zaretskii
2023-04-22  1:17 ` Po Lu
2023-04-22 11:08   ` Björn Bidar
2023-04-23  0:32     ` Po Lu
2023-04-23  9:44       ` Björn Bidar

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.