From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch. Date: Sat, 10 Apr 2010 20:56:21 +0100 Message-ID: <4BC0D7E5.1050508@harpegolden.net> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <4BC011F5.9010505@swipnet.se> <4BC0A2EC.3060807@swipnet.se> <4BC0CC8E.9080608@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: quoted-printable X-Trace: dough.gmane.org 1270929397 8820 80.91.229.12 (10 Apr 2010 19:56:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 19:56:37 +0000 (UTC) Cc: Stefan Monnier , "Emacs Dev \[emacs-devel\]" To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 21:56:35 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 1O0gnB-00079u-QO for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 21:56:34 +0200 Original-Received: from localhost ([127.0.0.1]:34642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0gnB-0003hD-0Q for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 15:56:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0gn5-0003h6-PM for emacs-devel@gnu.org; Sat, 10 Apr 2010 15:56:27 -0400 Original-Received: from [140.186.70.92] (port=44776 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0gn4-0003gy-Gz for emacs-devel@gnu.org; Sat, 10 Apr 2010 15:56:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0gn2-0002tf-CP for emacs-devel@gnu.org; Sat, 10 Apr 2010 15:56:26 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:55345) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0gn2-0002tb-7V for emacs-devel@gnu.org; Sat, 10 Apr 2010 15:56:24 -0400 Original-Received: from [87.198.54.207] (87-198-54-207.ptr.magnet.ie [87.198.54.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 25D5B956C; Sat, 10 Apr 2010 20:56:23 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) In-Reply-To: <4BC0CC8E.9080608@swipnet.se> 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:123459 Archived-At: Jan Dj=E4rv wrote: > Stefan Monnier skrev: >>>>> Are there any concrete examples of other uses? >>>> I can imagine switching the buffer of one of the windows (in an=20 >>>> ECB-style >>>> frame, for example). >>> Isn't that a window configuration? I don't get it. >> >> Not quite: e,g. you can create a new tab for "toto.c", switch to toto.= h, >> then resize some windows, then select the "toto.c" tab and it will >> switch the buffer to toto.c without reverting the window sizes. >> >=20 > Ok, that might be useful. >=20 Hmm. Well, switching a "single window"* between buffers toto.c and=20 toto.h might be something I'd rather use (yes, presently hypothetical)=20 interior split-tab tabs, attached directly to the window in question. This is not unusual - Note how eclipse has tab bars on multiple panes,=20 and switching the main editor pane between files is done with the tab=20 bar most directly attached to it: http://www.eclipse.org/screenshots/images/FortranIde-RedFlag_Linux.png (* actually in the implementation I envisage it'd be switching /between=20 two emacs windows/ formed from a "split" on the "tab" axis, but at this=20 level of the discussion that's a detail). My reservations about window-configurations-as-thing-tab-switches also turn out to apply: See, thinking about it, switching window configurations as a whole could=20 IMO be more like switching "perspectives" in eclipse (window=20 configurations do currently encapsulate the buffer being shown in each=20 window, and assuming split-tabbed existed would also record tab=20 arrangement). So a "debug" window configuration may have (possibly tabbed) windows=20 open on buffers with your source, compilation outputs, a gdb window=20 etc., while a "edit java" window configuration has windows with your=20 source, a directory tree browser, doc and completion windows etc. Now, a tab bar is probably still a vaguely reasonable UI for switching=20 between a small number of perspectives, though not actually the UI=20 eclipse uses (see the "Debug" button in the upper right of Fig.1=20 screenshot here: http://www.ibm.com/developerworks/library/os-ecbug/#N10089 )