From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Why Emacs should have a good web-browser Date: Wed, 8 Jul 2009 16:05:50 -0700 (PDT) Message-ID: <44436.130.55.118.19.1247094350.squirrel@webmail.lanl.gov> References: <87r5wqvqsn.fsf@stupidchicken.com> <87ocrueqdz.fsf@stupidchicken.com> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247094378 30065 80.91.229.12 (8 Jul 2009 23:06:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 23:06:18 +0000 (UTC) Cc: Chong Yidong , ferkiwi+a@gmail.com, joakim@verona.se, emacs-devel@gnu.org To: "Lennart Borgman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 01:06:10 2009 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 1MOgDF-0003Om-Eo for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 01:06:05 +0200 Original-Received: from localhost ([127.0.0.1]:44779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOgDE-0004pM-Tc for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 19:06:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOgDA-0004oV-8s for emacs-devel@gnu.org; Wed, 08 Jul 2009 19:06:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOgD5-0004eD-Gz for emacs-devel@gnu.org; Wed, 08 Jul 2009 19:05:59 -0400 Original-Received: from [199.232.76.173] (port=34426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOgD5-0004du-8c for emacs-devel@gnu.org; Wed, 08 Jul 2009 19:05:55 -0400 Original-Received: from proofpoint1.lanl.gov ([204.121.3.25]:55646) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOgD4-00023E-MH for emacs-devel@gnu.org; Wed, 08 Jul 2009 19:05:54 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint1.lanl.gov (8.14.3/8.14.3) with ESMTP id n68N5oqa003301; Wed, 8 Jul 2009 17:05:50 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 5D3D21A8DF15; Wed, 8 Jul 2009 17:05:50 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 496671A8DF0F; Wed, 8 Jul 2009 17:05:50 -0600 (MDT) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id 477811518033; Wed, 8 Jul 2009 17:05:50 -0600 (MDT) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Wed, 8 Jul 2009 16:05:50 -0700 (PDT) In-Reply-To: User-Agent: SquirrelMail/1.4.8-5.7.lanl5.newsieve X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-07-08_13:2009-07-03, 2009-07-08, 2009-07-08 signatures=0 X-MIME-Autoconverted: from 8bit to quoted-printable by proofpoint1.lanl.gov id n68N5oqa003301 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:112209 Archived-At: >> On a technical note, I think it makes more sense to associate embedded >> applications with Emacs windows, rather than buffers as you're >> apparently trying to do. =C2=A0Otherwise, we run into the problem of >> handling >> the situation where the same buffer is displayed in more than one >> window. =C2=A0Basically, we should have a way to say "the contents of = this >> window are handled by an embedded program, rather than by Emacs". >> =C2=A0WDYT? > > You perhaps still need some buffer elements otherwise the embedded > application would go away when you closed a window. That could maybe > be ok, but it is not the way use to behave in Emacs. > > Other than that I think it is a good suggestion. I would say that there should be an "embed object" (sort of like a proces= s object), and you can do (set-window-embed window embed) which fails if EMBED is already associated with some other window. You would of course have `window-embed' and `embed-window' which would tell you that association, so that you could do (set-window-embed (embed-windo= w embed) nil) to detach it and move it around. (One could also write it as `set-embed-window', which might make the single-valuedness of the "embed's window" property clearer. But I think it's important to consider it a property of the window because it overrides everything else that window could ever do.) Davis --=20 This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.