From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tab bar Date: Tue, 08 Apr 2008 11:36:13 -0400 Message-ID: References: <87wsnaso3h.fsf@jurta.org> <87d4p2tuim.fsf@jurta.org> <000201c898c9$bf7eb620$c2b22382@us.oracle.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1207669089 31563 80.91.229.12 (8 Apr 2008 15:38:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 15:38:09 +0000 (UTC) Cc: juri@jurta.org, koppel@ece.lsu.edu, drew.adams@oracle.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 08 17:38:40 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 1JjFuB-0006B9-7e for ged-emacs-devel@m.gmane.org; Tue, 08 Apr 2008 17:38:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjFtX-00039b-V5 for ged-emacs-devel@m.gmane.org; Tue, 08 Apr 2008 11:37:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjFrs-0002LK-Jp for emacs-devel@gnu.org; Tue, 08 Apr 2008 11:36:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjFrr-0002KE-FK for emacs-devel@gnu.org; Tue, 08 Apr 2008 11:36:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjFrr-0002Jq-2p for emacs-devel@gnu.org; Tue, 08 Apr 2008 11:36:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JjFrq-0004Sh-Gy for emacs-devel@gnu.org; Tue, 08 Apr 2008 11:36:14 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JjFrp-0004lP-Qb; Tue, 08 Apr 2008 11:36:13 -0400 In-reply-to: (message from Stefan Monnier on Mon, 07 Apr 2008 12:52:59 -0400) X-detected-kernel: by monty-python.gnu.org: 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:94712 Archived-At: I think a good implementation for a tabbar would be to use a whole window (and buffer) for the tabbar (set mode-line-format to nil and window-min-height to 1 or 2). This would allow placing it anywhere in the window tree, and hence all both "one per frame" and "one per window". Of course, to make it work well, we probably need some changes at the C level in order to treat those windows specially, Once we make changes at the C level, there should be no need for the overhead of a separate window for the tabs. It would be easiest and most convenient to generate the tabs directly from an alist. If each normal window has a tool bar, it would be a pain in the neck to have to make a second window (for the tool bar) for each normal window.