GNU bug report logs -
#72303
When emacs-pgtk fails to find a Wayland display available, it fails to run instead of opening in -nw mode
Previous Next
Reported by: Gunnar Wolf <gwolf <at> gwolf.org>
Date: Fri, 26 Jul 2024 05:02:01 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72303 in the body.
You can then email your comments to 72303 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72303
; Package
emacs
.
(Fri, 26 Jul 2024 05:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gunnar Wolf <gwolf <at> gwolf.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 26 Jul 2024 05:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
I have Emacs installed in all of my systems. Paricularly, I have
emacs-pgtk all systems where I often use a graphical environment (and
emacs-nox in those where I don't).
Back when I used X11, if I started Emacs and had no $DISPLAY set, it
would open in a terminal. With emacs-pgtk, the behavior is not the
same:
$ emacs foobar
(emacs:3988): Gtk-WARNING **: 19:19:10.887: cannot open display:
$
This impacted me because I neede to use a remote machine to do work
via scripts (i.e. dch, debcommit) that call /usr/bin/editor and I
found impossible to hand-specify emacs to use -nw; I ended up
installing emacs-nox, but I don't find it to be an acceptable,
transparent-enough solution.
I think emacs-pgtk should behave just as emacs-gtk, falling back to
the console if a windowed environment is not found.
Thank you in advance!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72303
; Package
emacs
.
(Fri, 26 Jul 2024 05:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72303 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 25 Jul 2024 20:37:40 -0600
> From: Gunnar Wolf <gwolf <at> gwolf.org>
>
> Package: emacs
>
> I have Emacs installed in all of my systems. Paricularly, I have
> emacs-pgtk all systems where I often use a graphical environment (and
> emacs-nox in those where I don't).
>
> Back when I used X11, if I started Emacs and had no $DISPLAY set, it
> would open in a terminal. With emacs-pgtk, the behavior is not the
> same:
>
> $ emacs foobar
>
> (emacs:3988): Gtk-WARNING **: 19:19:10.887: cannot open display:
> $
>
> This impacted me because I neede to use a remote machine to do work
> via scripts (i.e. dch, debcommit) that call /usr/bin/editor and I
> found impossible to hand-specify emacs to use -nw; I ended up
> installing emacs-nox, but I don't find it to be an acceptable,
> transparent-enough solution.
>
> I think emacs-pgtk should behave just as emacs-gtk, falling back to
> the console if a windowed environment is not found.
This is a known problem with the PGTK build, for which unfortunately
there's no known solution. See bug#63555 and bug#65886.
Po Lu, it sounds like we need a PROBLEMS entry for this issue, as it
comes up very frequently.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72303
; Package
emacs
.
(Fri, 26 Jul 2024 14:20:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72303 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Thu, 25 Jul 2024 20:37:40 -0600
>> From: Gunnar Wolf <gwolf <at> gwolf.org>
>>
>> Package: emacs
>>
>> I have Emacs installed in all of my systems. Paricularly, I have
>> emacs-pgtk all systems where I often use a graphical environment (and
>> emacs-nox in those where I don't).
>>
>> Back when I used X11, if I started Emacs and had no $DISPLAY set, it
>> would open in a terminal. With emacs-pgtk, the behavior is not the
>> same:
>>
>> $ emacs foobar
>>
>> (emacs:3988): Gtk-WARNING **: 19:19:10.887: cannot open display:
>> $
>>
>> This impacted me because I neede to use a remote machine to do work
>> via scripts (i.e. dch, debcommit) that call /usr/bin/editor and I
>> found impossible to hand-specify emacs to use -nw; I ended up
>> installing emacs-nox, but I don't find it to be an acceptable,
>> transparent-enough solution.
>>
>> I think emacs-pgtk should behave just as emacs-gtk, falling back to
>> the console if a windowed environment is not found.
>
> This is a known problem with the PGTK build, for which unfortunately
> there's no known solution. See bug#63555 and bug#65886.
>
> Po Lu, it sounds like we need a PROBLEMS entry for this issue, as it
> comes up very frequently.
Now taken care of, thanks.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sun, 04 Aug 2024 08:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gunnar Wolf <gwolf <at> gwolf.org>
:
bug acknowledged by developer.
(Sun, 04 Aug 2024 08:18:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 72303-done <at> debbugs.gnu.org (full text, mbox):
> Cc: 72303 <at> debbugs.gnu.org
> Date: Fri, 26 Jul 2024 08:48:18 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > Date: Thu, 25 Jul 2024 20:37:40 -0600
> > From: Gunnar Wolf <gwolf <at> gwolf.org>
> >
> > Package: emacs
> >
> > I have Emacs installed in all of my systems. Paricularly, I have
> > emacs-pgtk all systems where I often use a graphical environment (and
> > emacs-nox in those where I don't).
> >
> > Back when I used X11, if I started Emacs and had no $DISPLAY set, it
> > would open in a terminal. With emacs-pgtk, the behavior is not the
> > same:
> >
> > $ emacs foobar
> >
> > (emacs:3988): Gtk-WARNING **: 19:19:10.887: cannot open display:
> > $
> >
> > This impacted me because I neede to use a remote machine to do work
> > via scripts (i.e. dch, debcommit) that call /usr/bin/editor and I
> > found impossible to hand-specify emacs to use -nw; I ended up
> > installing emacs-nox, but I don't find it to be an acceptable,
> > transparent-enough solution.
> >
> > I think emacs-pgtk should behave just as emacs-gtk, falling back to
> > the console if a windowed environment is not found.
>
> This is a known problem with the PGTK build, for which unfortunately
> there's no known solution. See bug#63555 and bug#65886.
>
> Po Lu, it sounds like we need a PROBLEMS entry for this issue, as it
> comes up very frequently.
With the PROBLEMS entry now added, I'm closing this bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Sep 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.