From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: RFC: status icon support again Date: Sun, 03 Feb 2008 16:37:56 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1202024300 11547 80.91.229.12 (3 Feb 2008 07:38:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2008 07:38:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 03 08:38:41 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 1JLZQz-0001Hd-8T for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 08:38:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLZQX-00019R-B8 for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 02:38:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLZQS-000193-MD for emacs-devel@gnu.org; Sun, 03 Feb 2008 02:38:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLZQR-00018r-CF for emacs-devel@gnu.org; Sun, 03 Feb 2008 02:38:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLZQR-00018n-2r for emacs-devel@gnu.org; Sun, 03 Feb 2008 02:38:03 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLZQQ-0005xJ-86 for emacs-devel@gnu.org; Sun, 03 Feb 2008 02:38:02 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 38D862C40; Sun, 3 Feb 2008 16:37:56 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:88078 Archived-At: >>>>> On Sat, 02 Feb 2008 23:35:18 -0700, Tom Tromey said: > * I looked a little at rewriting so status icons would be part of > keymaps, but this looked complicated and I didn't see a benefit -- > in particular this code has no relation to toolbars at all, and I > didn't think any code could be shared. Of course code cannot be shared between them without changing the fundamental design of your code for status icons. Do you claim that status icons and tool bar icons are inherently different enough to resort to different design in implementation code and also in elisp interface? Another benefit of the use of keymaps is that it makes easier to move between status icons from/to tool bar icons (and possibly also between menu bar items?), in the case that the use of either is impossible/inappropriate. I think user-configurable event dispatcher tables should always be implemented as keymaps unless there are strong reasons to avoid them. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp