From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Using xwidget to play youtube videos Date: Mon, 22 Feb 2016 18:26:21 +0200 Message-ID: <83povolniq.fsf@gnu.org> References: <87y4auctlw.fsf@gnus.org> <87k2md8pf7.fsf@gnus.org> <87si0z7rkk.fsf@mbork.pl> <87fuwmm18o.fsf@esperi.org.uk> <874md1z9d1.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456158406 26269 80.91.229.3 (22 Feb 2016 16:26:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 16:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 17:26:41 2016 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 1aXtJn-0001DA-Iv for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 17:26:39 +0100 Original-Received: from localhost ([::1]:49971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXtJm-0001qp-Po for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 11:26:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXtJi-0001qK-9x for emacs-devel@gnu.org; Mon, 22 Feb 2016 11:26:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXtJf-0002R6-2G for emacs-devel@gnu.org; Mon, 22 Feb 2016 11:26:34 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXtJe-0002Qz-Uw; Mon, 22 Feb 2016 11:26:30 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1252 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXtJe-00065H-5t; Mon, 22 Feb 2016 11:26:30 -0500 In-reply-to: (joakim@verona.se) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:200460 Archived-At: > From: joakim@verona.se > Date: Mon, 22 Feb 2016 10:27:48 +0100 > > > First of all, it seems like all the xwidget functions are geared towards > > only being displayed in an xwidget buffer. The xwidget functions rename > > buffers willy-nilly when just inserting an xwidget into a buffer, and > > that should not happen. There are also hard-coded callbacks in the > > xwidgets for adjusting the size and ... stuff ... that don't make any > > sense in anything but xwidget buffers, either. > > There are a lot of functions that are gearead toward managing a xwidget > instance in a buffer which behaves like image mode. They only work in > that particular use case. Those functions could have their own prefix I > suppose. Could you please mention this fact in the doc strings of functions that are supposed to be used on that case only? > Also I was probably sloppy in some cases and wrote functions that > assumed a webkit browser buffer rather than taking a xwidget > instance as an argument. It would be good to see if these can be fixed. Thanks.