From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] xwidget updated (1d8b8a2 -> 5f46725) Date: Fri, 09 Jan 2015 21:17:21 +0100 Message-ID: References: <20141226164113.11620.38682@vcs.savannah.gnu.org> <831tnjlpts.fsf@gnu.org> <21665.23324.489517.38260@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420834678 8378 80.91.229.3 (9 Jan 2015 20:17:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2015 20:17:58 +0000 (UTC) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 09 21:17:48 2015 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 1Y9g0C-00031a-HE for ged-emacs-devel@m.gmane.org; Fri, 09 Jan 2015 21:17:48 +0100 Original-Received: from localhost ([::1]:52089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9g0B-0003cI-Ug for ged-emacs-devel@m.gmane.org; Fri, 09 Jan 2015 15:17:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9g07-0003c0-Nq for emacs-devel@gnu.org; Fri, 09 Jan 2015 15:17:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9g06-00010u-ND for emacs-devel@gnu.org; Fri, 09 Jan 2015 15:17:43 -0500 Original-Received: from mx6.bahnhof.se ([213.80.101.16]:42180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9g02-0000zu-SX; Fri, 09 Jan 2015 15:17:39 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx6-reinject (Postfix) with ESMTP id C8DE0416A9; Fri, 9 Jan 2015 21:17:37 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF1) Original-Received: from mf1.bahnhof.se ([127.0.0.1]) by localhost (mf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id REUEoUCIH+tT; Fri, 9 Jan 2015 21:17:32 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf1.bahnhof.se (Postfix) with ESMTP id 717D2330AF9; Fri, 9 Jan 2015 21:17:31 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 18931529CA0; Fri, 9 Jan 2015 20:17:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tiyq1-Bmb-gS; Fri, 9 Jan 2015 21:17:21 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 251A3529C9E; Fri, 9 Jan 2015 21:17:21 +0100 (CET) In-Reply-To: <21665.23324.489517.38260@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 29 Dec 2014 14:46:04 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.16 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:181113 Archived-At: Ulrich Mueller writes: >>>>>> 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.) I dont know those toolkits very well and I dont know if they support the required feature of offscreen rendering. At any rate it would be a lot of work to implement support for another toolkit. > Ulrich -- Joakim Verona