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: Gtk tabs in emacs, new branch. Date: Sat, 10 Apr 2010 09:42:14 -0700 (PDT) Message-ID: <50923.130.55.132.80.1270917734.squirrel@webmail.lanl.gov> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <4BC011F5.9010505@swipnet.se> <4BC0A2EC.3060807@swipnet.se> 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: 8bit X-Trace: dough.gmane.org 1270917822 4650 80.91.229.12 (10 Apr 2010 16:43:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 16:43:42 +0000 (UTC) Cc: Stefan Monnier , "Emacs Dev \[emacs-devel\]" To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 18:43:41 2010 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.69) (envelope-from ) id 1O0dmV-0005Wr-9Y for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 18:43:41 +0200 Original-Received: from localhost ([127.0.0.1]:47560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0dmU-0004wc-3X for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 12:43:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0dlI-0004kC-2e for emacs-devel@gnu.org; Sat, 10 Apr 2010 12:42:24 -0400 Original-Received: from [140.186.70.92] (port=58388 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0dlF-0004j7-Kj for emacs-devel@gnu.org; Sat, 10 Apr 2010 12:42:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0dlC-0001Vl-95 for emacs-devel@gnu.org; Sat, 10 Apr 2010 12:42:21 -0400 Original-Received: from proofpoint1.lanl.gov ([204.121.3.25]:58119) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0dlC-0001V6-0V for emacs-devel@gnu.org; Sat, 10 Apr 2010 12:42:18 -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 o3AGgFgU029734; Sat, 10 Apr 2010 10:42:15 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 11637163B524; Sat, 10 Apr 2010 10:42:15 -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 F062F163B51F; Sat, 10 Apr 2010 10:42:14 -0600 (MDT) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id EE71F1CA8184; Sat, 10 Apr 2010 10:42:14 -0600 (MDT) Original-Received: from 130.55.132.80 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Sat, 10 Apr 2010 09:42:14 -0700 (PDT) In-Reply-To: <4BC0A2EC.3060807@swipnet.se> User-Agent: SquirrelMail/1.4.8-5.el5_4.10.lanl1 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=2010-04-10_01:2010-02-06, 2010-04-10, 2010-04-10 signatures=0 X-detected-operating-system: by eggs.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:123444 Archived-At: > You guys seem to think that tabs are just extra buttons to be pressed. In > Gtk+ they are not. When you press on a tab an whole new Gtk widget (with > associated X window) covering the whole frame is switched in. So the old > contents is not shown. Doing window configuration switch as fast as we > can helps, but it still isn't good. Workable, but not good. This isn't necessary, is it? I'm sure that GTK+ tabs can govern (switch) an area that isn't a top-most window. Then, if we want to, we can just make the "content" part of that area have 0 size (so that the user-visible line of tabs is in fact the whole area they control) and merely react to the tab switch events however we want. This might cause the tab-switch-redraw to be slower than it would be if GTK+ merely blits in some double-buffered image it remembered from the last time that tab was foremost, but I've never noticed that things like C-x 1 were slow enough to be a bother (except over very slow remote X11 connections), so this shouldn't be either. Davis -- 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.