From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch. Date: Sat, 10 Apr 2010 08:12:42 +0200 Message-ID: <4BC016DA.60400@swipnet.se> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <87ljcwaxfv.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270879989 28591 80.91.229.12 (10 Apr 2010 06:13:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 06:13:09 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 08:13:08 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 1O0TwJ-0002ta-Lw for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 08:13:07 +0200 Original-Received: from localhost ([127.0.0.1]:59666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0TwI-0004VZ-AW for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 02:13:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0Tw8-0004VB-FA for emacs-devel@gnu.org; Sat, 10 Apr 2010 02:12:56 -0400 Original-Received: from [140.186.70.92] (port=50593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0Tw6-0004Ur-Ct for emacs-devel@gnu.org; Sat, 10 Apr 2010 02:12:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0Tw5-0000Iy-17 for emacs-devel@gnu.org; Sat, 10 Apr 2010 02:12:54 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]:42328) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0Tw4-0000Ik-Rt for emacs-devel@gnu.org; Sat, 10 Apr 2010 02:12:53 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 3BA0BE6D7 for ; Sat, 10 Apr 2010 08:12:51 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhM4AEK0v0tV4S1uPGdsb2JhbACHZZNdDAEBAQE1LbhthQoE X-IronPort-AV: E=Sophos;i="4.52,181,1270418400"; d="scan'208";a="506263554" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb3.telenor.se with ESMTP; 10 Apr 2010 08:12:43 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8EAC77FA01A; Sat, 10 Apr 2010 08:12:42 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <87ljcwaxfv.fsf@mail.jurta.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:123424 Archived-At: Juri Linkov skrev 2010-04-10 03.36: >> Tabs may seem like a good idea to switch between different >> window-configurations, but there can actually be other uses for it. >> And even for that use, there can be different choices in terms of which >> tabs to show, ... >> All that needs to be written in Lisp. > > In the `x-tabs' branch, creating and switching tabs in the tab-bar is > implemented in Lisp in tab-bar.el where tabs can be used for anything. > > The most useful application of tabs for switching window-configurations > is implemented in the separate file tab.el. > > I think the `gtk-tabs' branch should do something like that. > Something like what? Switching window configurations or used for anything? Having tabs in Gtk+ is mostly to have the look and feel of the current user selected UI-theme, but also to behave like tabs in other applications. Your implementation is more like a tool bar and probably more general (arrows in a Gtk-tab would look funny for example). But as with the native tool bar, the look and feel clashes with the selected theme. Maybe you shouldn't call it tab-bar at all, but something like action-bar. It is buttons you can use for different actions. That is not what tabs does in current GUI-applications. Jan D.