unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-29 --with-pgtk vs --with-x
@ 2022-09-11  5:25 Pedro Andres Aranda Gutierrez
  2022-09-11  5:38 ` Po Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2022-09-11  5:25 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

Hi,
following the discussion of the state of the GTK port, I gave it a chance
yesterday and have reverted to the X driver for my Linux boxes. The reason
for me to drop pgtk for the moment was that I had a 2 second delay between
clicking on a menu item and the menu appearing. Some people will tell me to
use the key bindings and disable the menu... I use a lot of snippets and
having them on the menu helps me apply my neurons to other tasks than
learning snippet triggers by heart ;-)

Don't know what to do when the first pure Wayland distributions appear.
Maybe other users are in the same situation and 'statement from the oracle'
may help us all...

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  5:25 emacs-29 --with-pgtk vs --with-x Pedro Andres Aranda Gutierrez
@ 2022-09-11  5:38 ` Po Lu
  2022-09-11  7:14   ` Pedro Andres Aranda Gutierrez
  2022-09-11  5:56 ` Pankaj Jangid
  2022-09-14  4:12 ` Richard Stallman
  2 siblings, 1 reply; 10+ messages in thread
From: Po Lu @ 2022-09-11  5:38 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Hi, following the discussion of the state of the GTK port, I gave it a
> chance yesterday and have reverted to the X driver for my Linux
> boxes. The reason for me to drop pgtk for the moment was that I had a
> 2 second delay between clicking on a menu item and the menu
> appearing. Some people will tell me to use the key bindings and
> disable the menu... I use a lot of snippets and having them on the
> menu helps me apply my neurons to other tasks than learning snippet
> triggers by heart ;-)

I've heard of that bug before, but I cannot reproduce it.

What happens if you comment out this part of gtkutil.c, around line
3305?

      {
        pgtk_menu_set_in_use (true);
        set_frame_menubar (f, true);
      }


> Don't know what to do when the first pure Wayland distributions
> appear. Maybe other users are in the same situation and 'statement
> from the oracle' may help us all...

I think "Pure Wayland distributions" will probably not appear in the
near future, and we will see the situation remain as it is now, with
both X and Wayland sessions being offered.



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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  5:25 emacs-29 --with-pgtk vs --with-x Pedro Andres Aranda Gutierrez
  2022-09-11  5:38 ` Po Lu
@ 2022-09-11  5:56 ` Pankaj Jangid
  2022-09-11  6:04   ` Pedro Andres Aranda Gutierrez
  2022-09-14  4:12 ` Richard Stallman
  2 siblings, 1 reply; 10+ messages in thread
From: Pankaj Jangid @ 2022-09-11  5:56 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> following the discussion of the state of the GTK port, I gave it a chance
> yesterday and have reverted to the X driver for my Linux boxes. The reason
> for me to drop pgtk for the moment was that I had a 2 second delay between
> clicking on a menu item and the menu appearing. Some people will tell me to
> use the key bindings and disable the menu... I use a lot of snippets and
> having them on the menu helps me apply my neurons to other tasks than
> learning snippet triggers by heart ;-)
>
> Don't know what to do when the first pure Wayland distributions appear.
> Maybe other users are in the same situation and 'statement from the oracle'
> may help us all...

Debian 11 distro's default setting is to use Wayland. Is that what you
mean by pure Wayland?

And both the builds working fine on my system. I tried --with-pgtk and
without it.

Side note: Recently I have switched back to non PGTK build because
set-frame-width and set-frame-height has very erratic behaviour with
PGTK.



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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  5:56 ` Pankaj Jangid
@ 2022-09-11  6:04   ` Pedro Andres Aranda Gutierrez
  0 siblings, 0 replies; 10+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2022-09-11  6:04 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

Pankaj> Debian 11 distro's default setting is to use Wayland. Is that what
you
mean by pure Wayland?

Yup... maybe. There is some confusion in what the implications of this
'default setting is to use Wayland' are. When calling upon the oracle, I
was expecting to steer a discussion which can end up as yet another Q(&A)
for the FAQ. After many years of Linux use, my understanding is still
shadowy on this... mainly because most of the articles I stumbled upon are
too high level. So having a 'this are the implications of Wayland for
Emacs' kind of _short_ document may be helpful.

/PA

On Sun, 11 Sept 2022 at 07:56, Pankaj Jangid <pankaj@codeisgreat.org> wrote:

> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>
> > following the discussion of the state of the GTK port, I gave it a chance
> > yesterday and have reverted to the X driver for my Linux boxes. The
> reason
> > for me to drop pgtk for the moment was that I had a 2 second delay
> between
> > clicking on a menu item and the menu appearing. Some people will tell me
> to
> > use the key bindings and disable the menu... I use a lot of snippets and
> > having them on the menu helps me apply my neurons to other tasks than
> > learning snippet triggers by heart ;-)
> >
> > Don't know what to do when the first pure Wayland distributions appear.
> > Maybe other users are in the same situation and 'statement from the
> oracle'
> > may help us all...
>
> Debian 11 distro's default setting is to use Wayland. Is that what you
> mean by pure Wayland?
>
> And both the builds working fine on my system. I tried --with-pgtk and
> without it.
>
> Side note: Recently I have switched back to non PGTK build because
> set-frame-width and set-frame-height has very erratic behaviour with
> PGTK.
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 2790 bytes --]

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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  5:38 ` Po Lu
@ 2022-09-11  7:14   ` Pedro Andres Aranda Gutierrez
  2022-09-11  7:46     ` Po Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2022-09-11  7:14 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

Commenting those lines makes the yasnippets and mode menus disappear.

/PA

On Sun, 11 Sept 2022 at 07:38, Po Lu <luangruo@yahoo.com> wrote:

> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>
> > Hi, following the discussion of the state of the GTK port, I gave it a
> > chance yesterday and have reverted to the X driver for my Linux
> > boxes. The reason for me to drop pgtk for the moment was that I had a
> > 2 second delay between clicking on a menu item and the menu
> > appearing. Some people will tell me to use the key bindings and
> > disable the menu... I use a lot of snippets and having them on the
> > menu helps me apply my neurons to other tasks than learning snippet
> > triggers by heart ;-)
>
> I've heard of that bug before, but I cannot reproduce it.
>
> What happens if you comment out this part of gtkutil.c, around line
> 3305?
>
>       {
>         pgtk_menu_set_in_use (true);
>         set_frame_menubar (f, true);
>       }
>
>
> > Don't know what to do when the first pure Wayland distributions
> > appear. Maybe other users are in the same situation and 'statement
> > from the oracle' may help us all...
>
> I think "Pure Wayland distributions" will probably not appear in the
> near future, and we will see the situation remain as it is now, with
> both X and Wayland sessions being offered.
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 2322 bytes --]

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

* Re: emacs-29 --with-pgtk vs --with-x
@ 2022-09-11  7:23 Payas Relekar
  0 siblings, 0 replies; 10+ messages in thread
From: Payas Relekar @ 2022-09-11  7:23 UTC (permalink / raw)
  To: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Pankaj> Debian 11 distro's default setting is to use Wayland. Is that what
> you
> mean by pure Wayland?
>
> Yup... maybe. There is some confusion in what the implications of this
> 'default setting is to use Wayland' are. When calling upon the oracle, I
> was expecting to steer a discussion which can end up as yet another Q(&A)
> for the FAQ. After many years of Linux use, my understanding is still
> shadowy on this... mainly because most of the articles I stumbled upon are
> too high level. So having a 'this are the implications of Wayland for
> Emacs' kind of _short_ document may be helpful.

For what its worth, distros offering Wayland as default session all
still have X11 session as an option at login. Even without it, all major
DEs will be supporting X11 via Xwayland for foreseeable future (a decade
or more). Even Gnome/GTK, the posterchild of breaking backwards
compatibility have support for X11 in GTK+4 (not yet released) and not
settled on whether to deprecate it for GTK+5 (way off into future).

As such, for any meaningful plans, even for Emacs lifetimes, it is not
worth thinking about *pure* Wayland distros just yet.

Thank you,
Payas

--



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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  7:14   ` Pedro Andres Aranda Gutierrez
@ 2022-09-11  7:46     ` Po Lu
  0 siblings, 0 replies; 10+ messages in thread
From: Po Lu @ 2022-09-11  7:46 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Commenting those lines makes the yasnippets and mode menus disappear.

Yes, I know, but does it make the lag disappear as well?



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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-11  5:25 emacs-29 --with-pgtk vs --with-x Pedro Andres Aranda Gutierrez
  2022-09-11  5:38 ` Po Lu
  2022-09-11  5:56 ` Pankaj Jangid
@ 2022-09-14  4:12 ` Richard Stallman
  2022-09-14  6:21   ` Po Lu
  2 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2022-09-14  4:12 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Don't know what to do when the first pure Wayland distributions appear.

Could we write a statement describing the developing problems on behalf
of GNU Emacs development?  It might have some effect.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-14  4:12 ` Richard Stallman
@ 2022-09-14  6:21   ` Po Lu
  2022-09-17  3:40     ` Richard Stallman
  0 siblings, 1 reply; 10+ messages in thread
From: Po Lu @ 2022-09-14  6:21 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Pedro Andres Aranda Gutierrez, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Could we write a statement describing the developing problems on behalf
> of GNU Emacs development?  It might have some effect.

Yes, I will be happy to do that once I get some more time.



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

* Re: emacs-29 --with-pgtk vs --with-x
  2022-09-14  6:21   ` Po Lu
@ 2022-09-17  3:40     ` Richard Stallman
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2022-09-17  3:40 UTC (permalink / raw)
  To: Po Lu; +Cc: paaguti, emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Could we write a statement describing the developing problems on behalf
  > > of GNU Emacs development?  It might have some effect.

  > Yes, I will be happy to do that once I get some more time.

Thank you, that will be very useful.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

end of thread, other threads:[~2022-09-17  3:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-11  5:25 emacs-29 --with-pgtk vs --with-x Pedro Andres Aranda Gutierrez
2022-09-11  5:38 ` Po Lu
2022-09-11  7:14   ` Pedro Andres Aranda Gutierrez
2022-09-11  7:46     ` Po Lu
2022-09-11  5:56 ` Pankaj Jangid
2022-09-11  6:04   ` Pedro Andres Aranda Gutierrez
2022-09-14  4:12 ` Richard Stallman
2022-09-14  6:21   ` Po Lu
2022-09-17  3:40     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2022-09-11  7:23 Payas Relekar

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).