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: An Emacs plug-in for a browser (Firefox?) Date: Mon, 08 Sep 2008 23:33:23 +0200 Message-ID: References: <48C0FC53.4020806@gmail.com> <6fa54e4e0809050420i5132ace5red5a011b69ecd1ed@mail.gmail.com> <8763p795cq.fsf@cyd.mit.edu> <87iqt6q0na.fsf@cyd.mit.edu> <6fa54e4e0809081007l68f1df2ei71450cf3483f2d17@mail.gmail.com> <48C5778F.2020203@emf.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220909697 3267 80.91.229.12 (8 Sep 2008 21:34:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 21:34:57 +0000 (UTC) Cc: Thomas Lord , rms@gnu.org, pmr@pajato.com, Chong Yidong , lennart.borgman@gmail.com, Antoine Levitt , emacs-devel@gnu.org, raman@users.sourceforge.net, phil@shellarchive.co.uk To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 23:35:51 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcoOl-0007cy-5V for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 23:35:51 +0200 Original-Received: from localhost ([127.0.0.1]:55114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcoNl-0000iz-C5 for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 17:34:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcoMv-0000XN-S4 for emacs-devel@gnu.org; Mon, 08 Sep 2008 17:33:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcoMu-0000WP-7l for emacs-devel@gnu.org; Mon, 08 Sep 2008 17:33:57 -0400 Original-Received: from [199.232.76.173] (port=36956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcoMt-0000WD-Tq for emacs-devel@gnu.org; Mon, 08 Sep 2008 17:33:55 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:49357 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcoMo-0007JX-WB; Mon, 08 Sep 2008 17:33:51 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m88LXaRc029216; Mon, 8 Sep 2008 23:33:36 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 08 Sep 2008 16:34:09 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103707 Archived-At: Stefan Monnier writes: >> Emacs has the concept that two windows can look at the same buffer. > > This is a general problem for the XEmbed thingy, whether it displays > a browser or something else. There are various ways to punt on the > problem: only draw in one of the two windows put a grey rectangle in the > other, or do a vnc-style "let's copy the pixmap pof the first onto the > other, so even if there's only one active, the other is at least > displayed right". My patch currently does the "grey rectangle" variant. This is not so bad as it might appear, at least for the use-cases I'm interested in, which is buffers with many gtk widgets, many views on the buffers, but not necesarily the same part in each view. I agree that usability with multiple views on a buffer with a large xembed widget would be a quite unstellar experience, at least with my patch. > But it doesn't matter that much in practice: people will just have to > live with the limitation, but it doesn't make the idea unusable. > You won't get some of the power you usually expect from Emacs, but then > again, you never had this power in Firefox anyway, so it's not like you > lost anything. > > > Stefan -- Joakim Verona