From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: tool-bar related errors when loading compile.el Date: Mon, 6 Oct 2008 00:04:14 -0700 (PDT) Message-ID: <200810060704.m9674Eph002629@mothra.ics.uci.edu> References: <200810060547.m965lUCa002112@mothra.ics.uci.edu> <48E9A921.2040200@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223276722 21408 80.91.229.12 (6 Oct 2008 07:05:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 07:05:22 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 06 09:06:19 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 1KmkA7-000719-3c for ged-emacs-devel@m.gmane.org; Mon, 06 Oct 2008 09:05:50 +0200 Original-Received: from localhost ([127.0.0.1]:58821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmk93-0008El-Ks for ged-emacs-devel@m.gmane.org; Mon, 06 Oct 2008 03:04:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kmk8z-0008Dc-SX for emacs-devel@gnu.org; Mon, 06 Oct 2008 03:04:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kmk8z-0008CZ-0P for emacs-devel@gnu.org; Mon, 06 Oct 2008 03:04:37 -0400 Original-Received: from [199.232.76.173] (port=39157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmk8y-0008CQ-Nk for emacs-devel@gnu.org; Mon, 06 Oct 2008 03:04:36 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:3515) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kmk8w-00053j-JK; Mon, 06 Oct 2008 03:04:34 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kmk8v-0003P9-Iv; Mon, 06 Oct 2008 03:04:33 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m9674Fb3025262; Mon, 6 Oct 2008 00:04:15 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m9674Eph002629; Mon, 6 Oct 2008 00:04:14 -0700 (PDT) In-Reply-To: <48E9A921.2040200@gmx.at> (martin rudalics's message of "Mon, 06 Oct 2008 07:58:57 +0200") Original-Lines: 21 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m9674Fb3025262 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by mx20.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104370 Archived-At: martin rudalics writes: > > I reverted the patch. > > Help finding a solution for bug#1066 from someone that understands how > > the toolbar setup is supposed to work would be greatly appreciated. > > I'd rather turn > > (if (display-graphic-p) ^^^^^^^^^^^^^^^^^ Using this in defvars is broken. If you start with "emacs -nw" and later create X11 frames, the defvar will not be initialized correctly for X11 frames. > into > > (if tool-bar-mode > > in compile.el and grep.el. Unfortunately that is not better for the same reason.