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 07:51:49 +0200 Message-ID: <4BC011F5.9010505@swipnet.se> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> 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 1270878734 26037 80.91.229.12 (10 Apr 2010 05:52:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 05:52:14 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 07:52:12 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 1O0Tbz-0006RW-7r for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 07:52:07 +0200 Original-Received: from localhost ([127.0.0.1]:60342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0Tby-0007fq-Jf for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 01:52:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0Tbo-0007d9-0M for emacs-devel@gnu.org; Sat, 10 Apr 2010 01:51:56 -0400 Original-Received: from [140.186.70.92] (port=47034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0Tbl-0007c8-Sc for emacs-devel@gnu.org; Sat, 10 Apr 2010 01:51:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0Tbk-0006je-DL for emacs-devel@gnu.org; Sat, 10 Apr 2010 01:51:53 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:39415) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0Tbk-0006jJ-1d for emacs-devel@gnu.org; Sat, 10 Apr 2010 01:51:52 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 7E173C99B for ; Sat, 10 Apr 2010 07:51:50 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhM4AKKuv0tV4S1uPGdsb2JhbACHZZNdDAEBAQE1Lbh9hQoE X-IronPort-AV: E=Sophos;i="4.52,181,1270418400"; d="scan'208";a="61843188" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 10 Apr 2010 07:51:50 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 67BDB7FA01A; Sat, 10 Apr 2010 07:51:49 +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: 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:123423 Archived-At: Stefan Monnier skrev 2010-04-10 03.22: >> It isn't any "idea" as such, it is practicallity and user experience. For >> example, I tried having switching in elisp, but it is too slow (causes >> flicker) and there are race conditions between when the widget does the >> switching and when Emacs thinks the switch is done. > >> There is nothing in the current implementation that excludes lisp >> functions for switching, creation, e.t.c, but it doesn't give any >> advantages, just complications. > > 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. I'm not a big fan for making things general just for the sake of making things general so we maybe in the future can add something we don't know what it is now. Are there any concrete examples of other uses? I still think window configurations are the "natural" thing, as this is how tabs are used in web browsers, other editors, IDE:s and so on. That doesn't mean that tabs must be exclusively about window configurations. The implementation can easily be made to do tabs also for "other" lisp-based uses. But implementation for the primary use case (window configurations) should not have to suffer because of other uses. But I still haven't seen any example of other uses, so I haven't made gtk-tabs for that. Jan D.