From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Tool-bar and multi-tty Date: Fri, 10 Oct 2008 13:05:00 -0400 Message-ID: <87prm8fkjn.fsf@cyd.mit.edu> References: <873aj56v2p.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223658246 4133 80.91.229.12 (10 Oct 2008 17:04:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 17:04:06 +0000 (UTC) Cc: 1133@emacsbugs.donarmstrong.com, dann@ics.uci.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 10 19:05:01 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 1KoLQC-0005gZ-GW for ged-emacs-devel@m.gmane.org; Fri, 10 Oct 2008 19:05:00 +0200 Original-Received: from localhost ([127.0.0.1]:48602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoLP8-0004a7-Gb for ged-emacs-devel@m.gmane.org; Fri, 10 Oct 2008 13:03:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoLOR-0004CJ-Ju for emacs-devel@gnu.org; Fri, 10 Oct 2008 13:03:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoLOP-0004B8-Ud for emacs-devel@gnu.org; Fri, 10 Oct 2008 13:03:11 -0400 Original-Received: from [199.232.76.173] (port=45606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoLOP-0004B2-Qh for emacs-devel@gnu.org; Fri, 10 Oct 2008 13:03:09 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:33946) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoLOO-00041r-Mg; Fri, 10 Oct 2008 13:03:08 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id EC0E757E210; Fri, 10 Oct 2008 13:05:00 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Fri, 10 Oct 2008 09:51:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:104460 Archived-At: Eli Zaretskii writes: > This sounds like a very complicated solution. Why can't we set up > tool-bar-map unconditionally? After thinking about that, I think it wouldn't work. As I said, various properties of the tool-bar, such as the icons to use, depend on X resources and GTK resources which are not available until the first graphical frame is loaded. And Emacs can't always access X resources and GTK resources ahead of time: for instance, imagine ssh'ing to a server without an X forwarding agent, and running an emacs server; then ssh in with a forwarding agent, and run `emacsclient -c'.