From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tabbed buffers Date: Sat, 26 Jan 2008 11:14:29 +0200 Message-ID: References: <18330.23354.579245.68671@kahikatea.snap.net.nz> <87ejc5sf4l.fsf@catnip.gol.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1201338929 14157 80.91.229.12 (26 Jan 2008 09:15:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 09:15:29 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 10:15:48 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 1JIh8b-0003pz-4g for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 10:15:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIh8A-00011G-8X for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 04:15:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIh7Y-0000rB-UK for emacs-devel@gnu.org; Sat, 26 Jan 2008 04:14:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIh7X-0000pw-7z for emacs-devel@gnu.org; Sat, 26 Jan 2008 04:14:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIh7X-0000pm-2I for emacs-devel@gnu.org; Sat, 26 Jan 2008 04:14:39 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIh7T-000649-B9; Sat, 26 Jan 2008 04:14:35 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-250-87.inter.net.il [80.230.250.87]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KAN21646 (AUTH halo1); Sat, 26 Jan 2008 11:14:05 +0200 (IST) In-reply-to: <87ejc5sf4l.fsf@catnip.gol.com> (message from Miles Bader on Sat, 26 Jan 2008 07:40:42 +0900) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:87555 Archived-At: > From: Miles Bader > Date: Sat, 26 Jan 2008 07:40:42 +0900 > Cc: emacs-devel@gnu.org > > Nick Roberts writes: > > Eclipse gets round this problem by displaying tabbed panes. I know > > that you can do something like this in Emacs using tabbar.el. > > Nowadays though, many applications, e.g., Firefox, use the underlying > > toolkit for this. I wonder if we should add such a feature to Emacs > > at the C level, at least for GTK. > > It seems like it would need some thought to work well in Emacs, as > tabbed user interfaces quickly become unusable if there lots of tabs, > and Emacs buffer counts are quite often _way_ over that threshold. How about using the tool-bar infrastructure for that? We could have a second tool-bar line, below the usual one, with buttons for buffers. When buttons are too many to display in a single line, we could add another line, etc. Alternatively, when there are too many buttons to fit on a single line, we display a "More..." button that would pop up a menu of the rest; those that get their own buttons would then be maintained on some kind of LRU basis.