unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jeff Walsh <fejfighter@gmail.com>
To: eliz@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: emacs for pure Gtk3
Date: Tue, 28 Apr 2020 13:19:04 +1000	[thread overview]
Message-ID: <1588043944.2848.14@gmail.com> (raw)

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

> 
*From*: Eli Zaretskii *Subject*: Re: emacs for pure Gtk3 *Date*: Mon, 
27 Apr 2020 18:03:54 +0300
> >/ Date: Mon, 27 Apr 2020 21:37:27 +0900 (JST)/
> >/ Cc: address@hidden/
> >/ From: Yuuki Harano <address@hidden>/
> >/ /
> >/ >   . You don't seem to have a copyright assignment on file.  This 
> would/
> >/ >     be a significant contribution to Emacs, for which we must 
> have/
> >/ >     such an assignment from you before bringing this code into 
> the/
> >/ >     Emacs repository.  Would you be willing to start the legal/
> >/ >     paperwork now?  If so, I will send you the form to fill./
> >/ /
> >/ Yes.  Please send me it./
> 
> Form sent off-list.
> 
> >/ By the way, this fork contains much code written by @fejfighter./
> >/ He said "for now: Yes I do agree to assign my code to the FSF." 
> here,/
> >/ <https://github.com/masm11/emacs/pull/11#issuecomment-600856858> ./
> >/ What to do?/
> 
> He should fill the form I sent to you, separately, and email it
> according to instructions.

No worries, happy to do so.

> 
> >/ Because I was not going to merge to mainline when I started 
> porting,/
> >/ older commit messages are in Japanese.  If you don't like Japanese/
> >/ messages, I can make one big commit instead of existing commits./
> 
> That's probably the best.  But there's time before that happens, and
> you can meanwhile keep the original log messages while the code is on
> the branch.
> 
> >/ Since pgtk emacs is configured with '--without-x', existing X code/
> >/ is disabled.  If configured with '--with-x', the existing X 
> support/
> >/ should be enabled as before./
> 
> Would configuring --with-x disable Pgtk support code?  That is, do the
> X and Pgtk support contradict each other, and cannot live in the same
> binary?  Or maybe I don't have a clear idea what exactly gets disabled
> when building with Pgtk -- can you elaborate?
> 
/I think this may need a little more work in configure.ac/
/In essence it's not that different to --with-ns or --with-w32./
/it just happens to re-use a chunk of the gtkutil.c code where 
possible./
/
/
/Effectively it selects pgtkterm.h instead of xterm.h/



> >/ Pgtk emacs supports X window system too through Gtk library./
> >/ It can handle Wayland, X window system, and TTY in the same 
> session./
> >/ But segmentation fault may occur when running on X and Wayland/
> >/ in the same session./
> 
> I guess those segfaults need to be fixed, because having a GUI Emacs
> that can only run on Wayland would be a limitation that users might be
> unhappy about?

it will run on wayland or xwayland or X11 from the same binary, but not 
on wayland and X11 concurrently.

I'm not sure of a use-case for this, but I'm hoping someone is able to 
provide one.

> 
> >/ I don't know about Lisp threads.  I have never supported it 
> explicitly./
> >/ Pgtk emacs may not support it./
> 
> Well, for starters see if test/src/thread-tests.el runs and succeeds
> in your Pgtk build.

I get:

make lisp/thread-tests
make[1]: Entering directory '/home/fejfighter/dev/emacs-gtk/test'
  GEN      lisp/thread-tests.log
Running 3 tests (2020-04-28 12:52:55+1000, selector `(not (tag 
:unstable))')
  skipped  1/3  thread-tests-list-threads-error-when-not-configured 
(0.000133 sec)
   passed  2/3  thread-tests-thread-list-send-error (0.000488 sec)
   passed  3/3  thread-tests-thread-list-show-backtrace (0.014913 sec)

Ran 3 tests, 2 results as expected, 0 unexpected, 1 skipped (2020-04-28 
12:52:55+1000, 0.015803 sec)

1 skipped results:
  SKIPPED  thread-tests-list-threads-error-when-not-configured

make[1]: Leaving directory '/home/fejfighter/dev/emacs-gtk/test'


which matches a master build checkout from 
e49d3a45cd4a0554aa98c45f0976ed513c500951 (approx 1300 Aus EST)



> 
> >/ Gtk supports w32, but I have never tested on w32./
> 
> This would be nice, but is much less important, IMO.  The most
> important task is to keep users of Posix systems happy with the Pgtk
> build.
> 
> Thanks.

FWIW, this seems to work fine with gtk-broadway, the in-browser 
implementation of GTK3, aside from keystroke-clashes with firefox.
it may be some indication of a minimally "X'd" emacs, but a w32 version 
would be better proof.

Regards,

Jeff Walsh
(fejfighter)






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

             reply	other threads:[~2020-04-28  3:19 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28  3:19 Jeff Walsh [this message]
2020-04-28  7:27 ` emacs for pure Gtk3 Eli Zaretskii
2020-05-08  6:54 ` Jostein Kjønigsen
2020-05-08  6:59   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-04-27 11:54 Jeff Walsh
2020-04-28  8:32 ` martin rudalics
2020-04-26  7:56 Yuuki Harano
2020-04-26  8:52 ` 조성빈
2020-04-26  9:35   ` Yuuki Harano
2020-04-26  9:52   ` Yuuki Harano
2020-04-26 14:01 ` Eli Zaretskii
2020-04-27 12:37   ` Yuuki Harano
2020-04-27 15:03     ` Eli Zaretskii
2020-04-28 13:42       ` Yuuki Harano
2020-04-28 14:34         ` Eli Zaretskii
2020-04-28 20:09           ` Alan Third
2020-04-29  8:34           ` Yuuki Harano
2020-04-29  6:16         ` Po Lu
2020-04-29  7:46           ` Yuuki Harano
2020-04-29  8:05             ` Po Lu
2020-04-27 15:35     ` Yuuki Harano
2020-11-17 14:50   ` Yuuki Harano
2020-11-17 15:24     ` Eli Zaretskii
2020-11-17 17:24       ` Robert Pluim
2020-11-24 13:12         ` Yuuki Harano
2020-11-24 14:41           ` Robert Pluim
2020-11-25 12:24             ` Yuuki Harano
2020-11-25 13:30               ` Robert Pluim
2020-11-24 19:25           ` martin rudalics
2020-11-25 12:19             ` Yuuki Harano
2020-11-25 13:22               ` martin rudalics
2020-11-25 18:35               ` martin rudalics
2020-11-25 23:06                 ` Tim Cross
2020-11-26 15:44                   ` martin rudalics
2020-11-26 13:39                 ` Yuuki Harano
2020-11-26 15:45                   ` martin rudalics
2020-11-27 12:59                     ` Yuuki Harano
2020-11-27 15:42                       ` martin rudalics
2020-11-27 15:52                         ` Yuuki Harano
2020-11-25 17:31           ` Eric Abrahamsen
2020-11-27 16:07             ` Yuuki Harano
2020-11-27 17:47               ` Eric Abrahamsen
2020-12-07 23:50                 ` Eric Abrahamsen
2020-12-11  3:40                   ` 황병희
2021-01-02 22:43           ` Dmitry Gutov
2021-01-03  1:18             ` 황병희
2021-01-03  3:11               ` Jose A. Ortega Ruiz
2021-01-03  8:13                 ` 황병희
2021-01-03  9:53             ` Daniele Nicolodi
2021-01-03 12:02               ` Dmitry Gutov
2021-01-10 14:10             ` Yuuki Harano
2021-01-11  2:52               ` Dmitry Gutov
2021-01-11  2:59                 ` Thien-Thi Nguyen
2021-01-11  3:06                   ` Dmitry Gutov
2021-01-11 11:58                 ` Yuuki Harano
2021-01-11 15:01                   ` Dmitry Gutov
2020-11-20 12:04       ` Yuuki Harano
2020-11-20 12:16         ` Eli Zaretskii
2020-11-25  2:17         ` Zhu Zihao
2020-11-25 10:02           ` Robert Pluim
2020-11-19  3:18     ` 황병희
2020-11-20  4:23       ` Tim Cross
2020-11-20  4:39         ` Eric Abrahamsen
2020-11-20  7:11           ` Tim Cross
2020-11-20  7:29             ` Jean Louis
2020-11-21 23:35               ` Tim Cross
2020-11-22  1:49                 ` 황병희
2020-11-20 16:33             ` Eric Abrahamsen
2020-04-26 18:00 ` martin rudalics
2020-04-26 18:43   ` Stefan Monnier
2020-04-27 15:43   ` Yuuki Harano
2020-04-28  8:32     ` martin rudalics
2020-04-27  2:33 ` 황병희
2020-04-27  8:37 ` Po Lu via Emacs development discussions.
2020-04-27 16:08   ` Yuuki Harano
2020-04-27 23:47     ` Po Lu
2020-04-27 23:49       ` Po Lu
2020-04-28  0:05       ` Dmitry Gutov
2020-04-28  6:08         ` Po Lu
2020-04-28  7:37           ` Eli Zaretskii
2020-04-29  6:13             ` Po Lu
2020-04-29  6:28   ` Po Lu
2020-04-29  8:12     ` Yuuki Harano
2020-04-30  0:15       ` Po Lu
2020-04-28  0:51 ` Daniele Nicolodi
2020-04-29  1:14 ` Andrew Cohen
2020-04-29 13:01 ` Robert Pluim
2020-04-29 15:03   ` martin rudalics
2020-04-29 15:17   ` Yuuki Harano
2020-04-29 16:58     ` Robert Pluim

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1588043944.2848.14@gmail.com \
    --to=fejfighter@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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).