From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47557 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Cannot open load file: tool-bar Date: Tue, 05 Nov 2002 18:26:51 +0100 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <841y60exlw.fsf@crybaby.uni-duisburg.de> References: <847kfu5w3g.fsf@crybaby.uni-duisburg.de> <84y989mott.fsf@crybaby.uni-duisburg.de> <84iszdqc5h.fsf@crybaby.uni-duisburg.de> <84n0oompug.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036517459 4614 80.91.224.249 (5 Nov 2002 17:30:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 17:30:59 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1897XJ-0001Bk-00 for ; Tue, 05 Nov 2002 18:30:46 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1897U0-0006lr-00; Tue, 05 Nov 2002 11:27:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Nov 2002 11:28:05 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA06606 for ; Tue, 5 Nov 2002 11:27:47 -0600 (CST) Original-Received: (qmail 20848 invoked by alias); 5 Nov 2002 17:26:56 -0000 Original-Received: (qmail 20843 invoked from network); 5 Nov 2002 17:26:56 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 5 Nov 2002 17:26:56 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 1897aI-0000TG-00 for ; Tue, 05 Nov 2002 18:33:50 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: crybaby.uni-duisburg.de Original-X-Trace: quimby.gnus.org 1036517630 32545 134.91.30.116 (5 Nov 2002 17:33:50 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 5 Nov 2002 17:33:50 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:62q7H5Nfc75K0HWxSdSk9davpwE= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47557 Thomas Hungenberg writes: > That's exactly the way I build Gnus. > > So Gnus maybe always tries to load tool-bar and it doesn't depend > on if it was build for emacs or xemacs? Hm. Now that you mention it... See this code: /---- | ;; Emacs 21 tool bar. Should be no-op otherwise. | (defun gnus-group-make-tool-bar () | (if (and | (condition-case nil (require 'tool-bar) (error nil)) | (fboundp 'tool-bar-add-item-from-menu) \---- It comes from gnus-group.el. As you can see, it tries to load the file, ignoring errors, and if that fails it skips the code that only works for Emacs 21. So, what can we do? kai -- ~/.signature is: umop ap!sdn (Frank Nobis)