From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#1133: Tool-bar and multi-tty Date: Fri, 10 Oct 2008 13:05:00 -0400 Message-ID: <87prm8fkjn.fsf__4825.58588632873$1223659995$gmane$org@cyd.mit.edu> References: <873aj56v2p.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 1133@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223659930 9877 80.91.229.12 (10 Oct 2008 17:32:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 17:32:10 +0000 (UTC) Cc: 1133@emacsbugs.donarmstrong.com, dann@ics.uci.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 10 19:33:05 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KoLph-0001ex-4M for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 19:31:21 +0200 Original-Received: from localhost ([127.0.0.1]:50158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoLod-0005V9-1W for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 13:30:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoLoQ-0005PJ-Fo for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2008 13:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoLoP-0005Ot-1t for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2008 13:30:02 -0400 Original-Received: from [199.232.76.173] (port=49288 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoLoO-0005Oo-QF for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2008 13:30:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33132) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KoLoO-0001aJ-NJ for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2008 13:30:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9AHTwTW006953; Fri, 10 Oct 2008 10:29:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9AHA3ck002149; Fri, 10 Oct 2008 10:10:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 10 Oct 2008 17:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1133 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1133-submit@emacsbugs.donarmstrong.com id=B1133.122365819132545 (code B ref 1133); Fri, 10 Oct 2008 17:10:03 +0000 Original-Received: (at 1133) by emacsbugs.donarmstrong.com; 10 Oct 2008 17:03:11 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9AH38x5032539 for <1133@emacsbugs.donarmstrong.com>; Fri, 10 Oct 2008 10:03:09 -0700 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) Resent-Date: Fri, 10 Oct 2008 13:30:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21384 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'.