From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] xwidget updated (1d8b8a2 -> 5f46725) Date: Mon, 29 Dec 2014 14:46:04 +0100 Message-ID: <21665.23324.489517.38260@a1i15.kph.uni-mainz.de> References: <20141226164113.11620.38682@vcs.savannah.gnu.org> <831tnjlpts.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1419860843 8044 80.91.229.3 (29 Dec 2014 13:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 13:47:23 +0000 (UTC) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 29 14:47:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y5afD-0001z6-OU for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 14:47:15 +0100 Original-Received: from localhost ([::1]:33419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5afD-0001TE-0B for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 08:47:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5aeR-0000na-JH for emacs-devel@gnu.org; Mon, 29 Dec 2014 08:46:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5aeQ-0007jT-M2 for emacs-devel@gnu.org; Mon, 29 Dec 2014 08:46:27 -0500 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:36212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5aeJ-0007dj-4U; Mon, 29 Dec 2014 08:46:19 -0500 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id sBTDk6eE017375; Mon, 29 Dec 2014 14:46:06 +0100 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id sBTDk6db028799; Mon, 29 Dec 2014 14:46:06 +0100 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id sBTDk4NX028794; Mon, 29 Dec 2014 14:46:04 +0100 In-Reply-To: X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 134.93.134.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180818 Archived-At: >>>>> On Mon, 29 Dec 2014, joakim wrote: >> 3) A few places (for example, xdisp.c:handle_single_display_spec) >> process xwidget display elements even on non-GUI frames -- does >> that mean xwidget.c will be compiled even in --without-x >> configurations of Emacs? If not, you need to condition that code >> on HAVE_WINDOW_SYSTEM, like we do with images, for example. > No the code shouldn't be compiled if we dont > HAVE_WINDOW_SYSTEM. Thanks for the catch! Currently compilation in the xwidget branch also fails when configure was executed with the --without-xwidgets option: In toplevel form: xwidget-test.el:33:7:Error: Symbol's function definition is void: get-buffer-xwidgets Makefile:273: recipe for target 'xwidget-test.elc' failed Maybe byte-compilation of this file (or of all xwidget*.el) should be made conditional on the HAVE_XWIDGETS flag? >> 12) A question about configuration: are xwidgets only supported in >> a GTK3 compiled Emacs, or also in other builds? > xwidgets were originally developed on GTK2, then ported to GTK3. The > code only works on GTK3 now, so theres lots of potential cleanup. > AFAICS theres no real obstacle for getting xwidgets to work on > whatever windowing system. Off screen rendering, and some other > things would be needed, but I think most modern toolkits support > that. > OTOH, I think it would perhaps be easier to just use GTK3 on the > target build. Is there any chance to get the code working for lucid or motif? (The gtk2 and gtk3 builds still suffer from crashes when an X connection is closed in a multi-tty setup.) Ulrich