From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Toolbar redraw causes unwanted selection Date: Sat, 30 Dec 2006 13:09:08 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167513066 4361 80.91.229.12 (30 Dec 2006 21:11:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2006 21:11:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 30 22:11:05 2006 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 1H0lTn-0001SQ-Tp for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 22:11:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0lTn-00062i-87 for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 16:10:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0lTb-00061A-Sd for emacs-devel@gnu.org; Sat, 30 Dec 2006 16:10:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0lTZ-0005yt-SY for emacs-devel@gnu.org; Sat, 30 Dec 2006 16:10:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0lTZ-0005yf-PO for emacs-devel@gnu.org; Sat, 30 Dec 2006 16:10:45 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H0lTZ-0002bv-Dg for emacs-devel@gnu.org; Sat, 30 Dec 2006 16:10:45 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBULAfag009215 for ; Sat, 30 Dec 2006 15:10:41 -0600 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBULAfnB025798 for ; Sat, 30 Dec 2006 14:10:41 -0700 Original-Received: from dhcp-amer-csvpn-gw1-141-144-64-116.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 2326601841167512958; Sat, 30 Dec 2006 14:09:18 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:64523 Archived-At: > > The idea of putting a "line break" into the tool bar sounds > > interesting for after the release. > > Sorry, I have not been following this thread, but by adding a > "line break" do you mean incrementing `tool-bar-lines'? > > No, it means putting something into the list of toolbar icons which > says "make a line break here". Like a newline character in text. Could you also please increment `tool-bar-lines' when you do that, so that `tool-bar-lines' continues to reflect the visual appearance (addition of another line of tool bars)? IIUC, you are talking about changing the number of visual tool-bar lines without also changing the frame parameter `tool-bar-lines'. Doing that will make it difficult to guess at the frame height used by the tool bar. I currently estimate that at 2 * frame-char-height * tool-bar-lines, and that works well. (I treat a nil value as 0.) As long as `set-frame-size' includes the tool-bar height in its effect, I will need to account for the tool-bar height when I fit a frame to its (sole) buffer. (`set-frame-size' does not include the menu-bar height, but it does include the tool-bar height.)