From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Toolbar redraw causes unwanted selection Date: Sun, 17 Dec 2006 23:43:32 +0100 Message-ID: References: <86d56l4fel.fsf@lola.quinscape.zz> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166395443 21540 80.91.229.10 (17 Dec 2006 22:44:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Dec 2006 22:44:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 17 23:43:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gw4jY-00026K-Bm for ged-emacs-devel@m.gmane.org; Sun, 17 Dec 2006 23:43:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw4jX-0006mt-Rw for ged-emacs-devel@m.gmane.org; Sun, 17 Dec 2006 17:43:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gw4jJ-0006mH-CF for emacs-devel@gnu.org; Sun, 17 Dec 2006 17:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gw4jH-0006m5-R9 for emacs-devel@gnu.org; Sun, 17 Dec 2006 17:43:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw4jH-0006m2-OX for emacs-devel@gnu.org; Sun, 17 Dec 2006 17:43:35 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gw4jG-00052i-MD; Sun, 17 Dec 2006 17:43:34 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 8983FFAC026; Sun, 17 Dec 2006 23:43:33 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun\, 17 Dec 2006 00\:36\:53 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:63901 Archived-At: Richard Stallman writes: > How long has the auto-resze code been in place? 1998-10-19 Gerd Moellmann * xdisp.c (toolbar_lines_needed): New. (auto-resize-toolbars): New. > Also, for how long > have the modes which currently need a bigger toolbar needed that? Don't know, but IIRC someone spoke about IDLWAVE, and was in 21.1 1999-12-20 Carsten Dominik * progmodes/idlwave.el: New file. * progmodes/idlwave-rinfo.el: New file. * progmodes/idlwave-shell.el: New file. * progmodes/idlwave-toolbar.el: New file. The "only" changes I have made are to actually make the resizing work -- so that it don't draw more toolbar lines than needed, doesn't omits some icons, doesn't forget to redraw the toolbar when needed, and to evenly distribute the icons on the toolbar lines to get rid of the "filler line" between the toolbar and the top-most text window. -- Kim F. Storm http://www.cua.dk