From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Tab bar Date: Wed, 09 Apr 2008 01:06:57 +0300 Organization: JURTA Message-ID: <87lk3o2e7y.fsf@jurta.org> References: <87wsnaso3h.fsf@jurta.org> <47FAB55A.80102@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207695462 9894 80.91.229.12 (8 Apr 2008 22:57:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 22:57:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 09 00:58:15 2008 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 1JjMla-0003jX-Di for ged-emacs-devel@m.gmane.org; Wed, 09 Apr 2008 00:58:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjMkx-0000aC-1v for ged-emacs-devel@m.gmane.org; Tue, 08 Apr 2008 18:57:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjMDr-0002cG-N7 for emacs-devel@gnu.org; Tue, 08 Apr 2008 18:23:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjMDl-0002TF-Ez for emacs-devel@gnu.org; Tue, 08 Apr 2008 18:23:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjMDl-0002SS-64 for emacs-devel@gnu.org; Tue, 08 Apr 2008 18:23:17 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JjMDj-0008SR-7Q for emacs-devel@gnu.org; Tue, 08 Apr 2008 18:23:15 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JjMDb-000OWY-SQ; Wed, 09 Apr 2008 01:23:08 +0300 In-Reply-To: <47FAB55A.80102@harpegolden.net> (David De La Harpe Golden's message of "Tue, 08 Apr 2008 00:59:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 7b1a4900bea4ee3727a65c989d5962bc X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2588 [Apr 08 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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:94743 Archived-At: > I think someone's already mentioned this several threads ago: there > needs to be some clear separation of concerns regarding "tab bars" > > tabs in tab bars themselves are just gui widgets nothing more - Indeed > much like icons in tool bars, just drawn a bit differently. I don't > see why emacs shouldn't support a tab bar GUI widget or multiple widgets We already have a suitable infrastructure of graphical primitives to implement a tab bar on top of it. It is required to have graphical areas attached to window edges that can contain a row of bitmaps bound to some commands. This functionality is already supported by the header line and window fringes. It seems what we need is to improve them to attach arbitrary number of header lines and fringes to a window, and to render text (tab names) using specified fonts on these graphical elements. > (say toplevel tab bar for each toplevel frame, and tab bars for each > window (emacs window), perhaps with configurable positions) Since we need both types, maybe we should implement also the frame header line and frame fringes? > (Personally I've always considered the top-level-frame-switcher sort of > tab bar rightly a tabbing WM's job (e.g. pwm), really, but that's not > the way people went for the most part, presumably since you don't see > tabbing WMs on windows/mac - but if you're using a tabbing WM, then > multiple emacs toplevel frames can _already_ be tabbed between in the > "one" window system window, and the advent of browser "tabs" was pretty > uninteresting too...) I think tab bars are popular because they contain only elements of the current program without stuff from other programs in their lists. -- Juri Linkov http://www.jurta.org/emacs/