From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch. Date: Sat, 10 Apr 2010 11:33:04 -0400 Message-ID: <87zl1be30v.fsf@stupidchicken.com> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <4BC011F5.9010505@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270913599 23255 80.91.229.12 (10 Apr 2010 15:33:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 15:33:19 +0000 (UTC) Cc: Jan =?utf-8?Q?Dj=C3=A4rv?= , "Emacs Dev \[emacs-devel\]" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 10 17:33:17 2010 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.69) (envelope-from ) id 1O0cgP-0004ZW-4Y for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 17:33:17 +0200 Original-Received: from localhost ([127.0.0.1]:46470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0cgO-0000v4-DY for ged-emacs-devel@m.gmane.org; Sat, 10 Apr 2010 11:33:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0cgJ-0000up-4c for emacs-devel@gnu.org; Sat, 10 Apr 2010 11:33:11 -0400 Original-Received: from [140.186.70.92] (port=56246 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0cgG-0000uh-SS for emacs-devel@gnu.org; Sat, 10 Apr 2010 11:33:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0cgF-0000Fu-G9 for emacs-devel@gnu.org; Sat, 10 Apr 2010 11:33:08 -0400 Original-Received: from pantheon-po38.its.yale.edu ([130.132.50.97]:39710) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0cgF-0000Fh-E9 for emacs-devel@gnu.org; Sat, 10 Apr 2010 11:33:07 -0400 Original-Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po38.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o3AFX5B8026279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Apr 2010 11:33:05 -0400 Original-Received: by furry (Postfix, from userid 1000) id 28E52C055; Sat, 10 Apr 2010 11:33:05 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sat, 10 Apr 2010 11:19:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.95 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:123440 Archived-At: Stefan Monnier writes: > It's not just making them more general. It's making them work in the > "right/natural" way. In Emacs this usually means among other things > that clicks on it should generate Elisp events caught via a keymap and > that the list of tabs should be specified by Elisp code. If clicking on a tab is to act via keybindings, maybe the neatest way to handle this is to allow keys to be bound to window configurations, with the meaning of "impose this window configuration". Then the Lisp side of the tab feature would act by storing window configurations in a keymap.