From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Berndl, Klaus" Newsgroups: gmane.emacs.devel Subject: AW: AW: AW: Tabs in Emacs? Date: Wed, 18 Nov 2009 11:19:01 +0100 Message-ID: <7697A57B1AD9104F993CDF6A5B69430C08D5A972D3@CORPMAIL08.corp.capgemini.com> References: <4B029686.8080705@alice.it> <7b501d5c0911170532i5620ce86w57507fa95eecb1dc@mail.gmail.com> <7697A57B1AD9104F993CDF6A5B69430C08D5B6356B@CORPMAIL08.corp.capgemini.com> <87aayli4xv.fsf@catnip.gol.com> <7697A57B1AD9104F993CDF6A5B69430C08D5A97269@CORPMAIL08.corp.capgemini.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258540087 20475 80.91.229.12 (18 Nov 2009 10:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 10:28:07 +0000 (UTC) Cc: Deniz Dogan , Emacs , Angelo Graziosi To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 11:27:59 2009 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 1NAhkB-0001GN-SF for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 11:26:36 +0100 Original-Received: from localhost ([127.0.0.1]:33219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhkB-0002YG-9P for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 05:26:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAhdA-00066e-4q for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:19:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAhd4-00062U-Tq for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:19:19 -0500 Original-Received: from [199.232.76.173] (port=37159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhd4-00062D-Ke for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:19:14 -0500 Original-Received: from spfdefra01.capgemini.com ([194.11.253.100]:52985) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAhd0-0001E8-D1; Wed, 18 Nov 2009 05:19:10 -0500 X-IronPort-AV: E=Sophos;i="4.44,764,1249250400"; d="scan'208";a="218987829" Original-Received: from unknown (HELO corpmx12.corp.capgemini.com) ([205.223.229.53]) by IRDEFRA-C650-01-D2-incoming.capgemini.com with ESMTP/TLS/RC4-MD5; 18 Nov 2009 11:19:06 +0100 Original-Received: from CORPMAIL08.corp.capgemini.com ([205.223.229.25]) by CORPMX12 ([205.223.229.53]) with mapi; Wed, 18 Nov 2009 11:19:02 +0100 Thread-Topic: AW: AW: Tabs in Emacs? Thread-Index: AcpoNPhpblGXyJEURUG+xTLGmCsUygAAdCYg In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US X-detected-operating-system: by monty-python.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:117169 Archived-At: Well - "argh" is well spoken ;-)=20 Another suggestion, or precisely a refined suggestion: 1. Introducing new commands which represents your scenario where opening a = new buffer opens a new tab (e.g. find-file-other-tab, switch-to-buffer-othe= r-tab, adapting display-buffer in an appropriate manner etc...) Optionally = we could also introduce some new defcustoms which can define a default-beha= vior: e.g. using the standard window-related commands (e.g. find-file-other= -window) automatically opens/uses other tabs ... 2. But in general tabs represent window-configs and leaving a tab X stores = ist window-config in a suitable way so it can be restored when entering aga= in tab X - all this has to be happen automatically! Often the window-config= will only contain one window... So when a user wants the tab=3Dbuffer relation, he has it - he just has to = use Emacs in way so opening buffers and switching to buffers operates on ta= bs (see 1) - but the whole stuff is much more powerful for scenarios where = a tab contains a full window-config. The latter one is similar to something= like escreen.el and winring.el and could be usefol for running in one tab = ECB, in another Gnus, in another GUD - like eclipse... Thoughts? -----Urspr=FCngliche Nachricht----- Von: miles@gnu.org [mailto:miles@gnu.org]=20 Gesendet: Mittwoch, 18. November 2009 10:53 An: Berndl, Klaus Cc: Angelo Graziosi; Emacs; Deniz Dogan Betreff: Re: AW: AW: Tabs in Emacs? "Berndl, Klaus" writes: > IMHO tabs should an a frame-basis and each tab should display window-conf= igurations, i.e. switching to a tab X should display exactly the window-lay= out and contents as X has contained when the user has left it > And each window of the window-configuration of a tab should contain it's = headerline... > > Is this understandable? Sure, but... it may not exactly be what's most convenient for users -- again, it's a hard issue. While a window-configuration switching implementation is useful in some cases (e.g. eclipses uses a sort of similar system for switching between "debugging view" "browsing view" etc), how would the different configurations get set up ? I can imagine a system that required explicit user action ("add a new tab with current config"), but...=20 I think many users might just want to switch between buffers, and have tabs automatically added for each buffer (perhaps limiting the number displayed in a MRU fashion, e.g., how eclipse handles source file tabs). That seems to be more similar to how tabs work in e.g. visual studio, and other editors... argh... :] -miles --=20 Suburbia: where they tear out the trees and then name streets after them.