From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: Tabbed buffers Date: Wed, 30 Jan 2008 08:53:24 +0100 Message-ID: <87ve5bkavf.fsf@bzg.ath.cx> References: <18330.23354.579245.68671@kahikatea.snap.net.nz> <87ejc5sf4l.fsf@catnip.gol.com> <18330.29609.396872.678539@kahikatea.snap.net.nz> <87wspxqwjv.fsf@catnip.gol.com> <87myqq5p2o.fsf@uwakimon.sk.tsukuba.ac.jp> <874pcxwnye.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201679625 24347 80.91.229.12 (30 Jan 2008 07:53:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2008 07:53:45 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen@xemacs.org, eliz@gnu.org, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 30 08:54:05 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 1JK7lk-0004HV-C5 for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 08:54:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JK7lJ-00012h-Da for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 02:53:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JK7lF-00012N-Hb for emacs-devel@gnu.org; Wed, 30 Jan 2008 02:53:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JK7lF-000128-1t for emacs-devel@gnu.org; Wed, 30 Jan 2008 02:53:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JK7lE-000125-UA for emacs-devel@gnu.org; Wed, 30 Jan 2008 02:53:32 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JK7lE-0005Ur-Dk for emacs-devel@gnu.org; Wed, 30 Jan 2008 02:53:32 -0500 Original-Received: from hu-out-0506.google.com ([72.14.214.239]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JK7lC-0002ct-TS for emacs-devel@gnu.org; Wed, 30 Jan 2008 02:53:31 -0500 Original-Received: by hu-out-0506.google.com with SMTP id 23so68803huc.1 for ; Tue, 29 Jan 2008 23:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=PsonOxDJYmgW5bG68UzKGBoy0mAZNpPq3FYAwaUlNh0=; b=M73W2WC5M1k4Y1iN0dPj/7xx8i8AHd401hCQV5Vp/fYvIPjrAj0Z/s0B4ldiwWJEb46u4cNBBQ4Ffy+OrXbCBMpdXeOIubQlSlW/oIywSn13Ko+g76uNqdLqr5imIQ5ViqSqbbGOdWifvlmuCbIOiAs7XBxYVv+xUfwGqAkAtsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=onvgaresDLIyK/fBgV+KJeX5o66tBUQwmTQDMPj8e5yuu9/3EaSxv0jeXF4dmCOoseyU9iPA/B0l2RuJPwARNJp1guKJs3pk2zCr5QcqcwWSpyLb655RCOfowaDRrKou+A38Fg6sUr/QXvxBot4nmOhWAEQ1QAnVjli65z+ZBd0= Original-Received: by 10.66.250.18 with SMTP id x18mr2453302ugh.79.1201679608308; Tue, 29 Jan 2008 23:53:28 -0800 (PST) Original-Received: from bzg.ath.cx ( [88.140.223.96]) by mx.google.com with ESMTPS id d13sm783096fka.19.2008.01.29.23.53.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Jan 2008 23:53:27 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id BA86B1575BC; Wed, 30 Jan 2008 08:53:24 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Wed, 30 Jan 2008 01:16:24 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) 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:87765 Archived-At: Richard Stallman writes: > I can still switch from one tab to another: in this case, a tab is > really just a window configuration, but switching from one window > configuration to another one without having to store them is quite > handy. > > It sounds like, in your usage, this is just a way > to save and name window configurations. Is that right? Right but not complete. I use elscreen mainly to *cycle* through tabs (i.e. to cycle through window configurations) and to open a new tab when needed. It seems to me that, in this discussion, we should really talk about "workspaces" - not "tabs". Or at least we could disambiguate these and use "tab" for the visual UI feature and "workspace" for the underlying window configuration (and the properties we would like to attach to it.) I use elscreen to easily *cycle* through workspaces and to easily *create* new ones. Having "workspaces" (or whatever you want to call them) would be very useful for letting variables be local to them. For example I use this: (make-variable-buffer-local 'search-ring) but this would make more sense in a workspace rather than in a buffer. Or see the function `erc-iswitchb': it restricts the list of buffers to the one that are used by ERC. I've implemented something like this for Org as well. If you use ERC in a dedicated workspace, then the notion of "ERC buffers" is really an instance of the more general notion of "This workspace buffers." -- Bastien