From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch. Date: Mon, 12 Apr 2010 17:02:33 -0400 Message-ID: References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <4BC011F5.9010505@swipnet.se> <4BC346F4.8050700@swipnet.se> <4BC38103.8040100@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271107624 20585 80.91.229.12 (12 Apr 2010 21:27:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Apr 2010 21:27:04 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 12 23:27:02 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 1O1R9q-0001JL-0D for ged-emacs-devel@m.gmane.org; Mon, 12 Apr 2010 23:27:02 +0200 Original-Received: from localhost ([127.0.0.1]:44887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1QpN-0002uS-5J for ged-emacs-devel@m.gmane.org; Mon, 12 Apr 2010 17:05:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1QmD-00024h-GP for emacs-devel@gnu.org; Mon, 12 Apr 2010 17:02:37 -0400 Original-Received: from [140.186.70.92] (port=53258 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1QmC-00024Z-24 for emacs-devel@gnu.org; Mon, 12 Apr 2010 17:02:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1QmA-00063F-37 for emacs-devel@gnu.org; Mon, 12 Apr 2010 17:02:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35042 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1QmA-00062j-0L for emacs-devel@gnu.org; Mon, 12 Apr 2010 17:02:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACcnw0tMCqWu/2dsb2JhbACbOnK9NIUMBItG X-IronPort-AV: E=Sophos;i="4.52,192,1270440000"; d="scan'208";a="60707513" Original-Received: from 76-10-165-174.dsl.teksavvy.com (HELO pastel.home) ([76.10.165.174]) by ironport2-out.pppoe.ca with ESMTP; 12 Apr 2010 17:02:33 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3DD5F7F1B; Mon, 12 Apr 2010 17:02:33 -0400 (EDT) In-Reply-To: <4BC38103.8040100@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Mon, 12 Apr 2010 22:22:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.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:123544 Archived-At: >>>> 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. >>> Are you suggesting we add and remove tabs dynamically to a keymap as they >>> get created? I'm not sure I follow. >> Not necessarily, no (tho that's what we do for tool-bars), just that >> when the user clicks on a tab, the action performed should be looked up >> in a keymap. > I still don't get it. If the user creates three tabs, where are the keymap > entries for those if we don't create them? Or do you mean a default entry > that catches those tabs that haven't got an action set explicitly? If we don't create one entry per tab, then we presumably would have a single entry for all tabs, and the bound command would figure out which tab was clicked by looking at the triggering event. But again, I do not specifically care either way at this point. Stefan