From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Tabs are ready? -> Let us give a definition of tabs. Date: Sun, 05 Feb 2012 11:42:59 +0100 Message-ID: <4F2E5D33.6020406@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328438592 6808 80.91.229.3 (5 Feb 2012 10:43:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2012 10:43:12 +0000 (UTC) Cc: Juri Linkov , Juanma Barranquero , Emacs Dev To: Alin Soare Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 05 11:43:11 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtzYp-0006vY-HZ for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2012 11:43:07 +0100 Original-Received: from localhost ([::1]:52800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtzYo-0005Ah-NJ for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2012 05:43:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtzYl-0005Aa-IC for emacs-devel@gnu.org; Sun, 05 Feb 2012 05:43:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtzYk-0005XT-8U for emacs-devel@gnu.org; Sun, 05 Feb 2012 05:43:03 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:54391) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RtzYj-0005XP-UM for emacs-devel@gnu.org; Sun, 05 Feb 2012 05:43:02 -0500 Original-Received: (qmail invoked by alias); 05 Feb 2012 10:43:00 -0000 Original-Received: from 62-47-52-120.adsl.highway.telekom.at (EHLO [62.47.52.120]) [62.47.52.120] by mail.gmx.net (mp036) with SMTP; 05 Feb 2012 11:43:00 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+iZbMVoz2iMYBBoDg7jaN8woQg3FwDDMPpzrT8bV K26iUMQMJ9JENo In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148180 Archived-At: > The tabs should be a defined as a list of objects (of type 'tab) in the > struct frame. Why do you want to introduce such a restriction? If people want to specify tabs on a window- or buffer-local basis they should be allowed to do so. > Other example: a tab that switches to a buffer assoc with a file, like > /root/.emacs > > - initialization event is defined so: > > -- erase all windows, and keep 1 window ( delete-other-windows ) This is an example where frame-only tabs are hardly useful. Switching to a buffer should not delete other windows. > -- memorize window configuration into a variable 'OLD-window-config > inserted in the assoc list of the tab This is an example where associating tabs with frames seems useful. > Note that it require not too much work at C level, and it gives a huge > number of possibilities of defining tabs, exactly as the 2 principles says. In which sense do your tabs differ from menu or toolbar elements? You can easily add a menu element to save the current window configuration or pick one of a list of earlier saved configurations to restore that. martin