From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch. Date: Mon, 12 Apr 2010 22:22:27 +0200 Message-ID: <4BC38103.8040100@swipnet.se> References: <30298845.656931270806476838.JavaMail.www@wwinf4631> <4BBF0C6C.7000909@swipnet.se> <4BC011F5.9010505@swipnet.se> <4BC346F4.8050700@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1271103763 6009 80.91.229.12 (12 Apr 2010 20:22:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Apr 2010 20:22:43 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 12 22:22:42 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 1O1Q9Y-0002Ja-6L for ged-emacs-devel@m.gmane.org; Mon, 12 Apr 2010 22:22:40 +0200 Original-Received: from localhost ([127.0.0.1]:35562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1Q9X-0001WQ-H9 for ged-emacs-devel@m.gmane.org; Mon, 12 Apr 2010 16:22:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1Q9S-0001VC-BO for emacs-devel@gnu.org; Mon, 12 Apr 2010 16:22:34 -0400 Original-Received: from [140.186.70.92] (port=41174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1Q9R-0001UZ-3V for emacs-devel@gnu.org; Mon, 12 Apr 2010 16:22:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1Q9P-0000cO-Gl for emacs-devel@gnu.org; Mon, 12 Apr 2010 16:22:33 -0400 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]:41874) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Q9P-0000cE-Am for emacs-devel@gnu.org; Mon, 12 Apr 2010 16:22:31 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 3C365EB6BC for ; Mon, 12 Apr 2010 22:22:28 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar0/AE8dw0tV4S1uPGdsb2JhbACHZZNVDAEBAQE1Lb1AhQwE X-IronPort-AV: E=Sophos;i="4.52,192,1270418400"; d="scan'208";a="506888207" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb3.telenor.se with ESMTP; 12 Apr 2010 22:22:28 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 36DAE7FA01A; Mon, 12 Apr 2010 22:22:27 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: 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:123540 Archived-At: Stefan Monnier skrev 2010-04-12 21.18: >>> 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? Jan D.