From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47564 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Cannot open load file: tool-bar Date: Tue, 05 Nov 2002 23:50:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: 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> <841y60exlw.fsf@crybaby.uni-duisburg.de> <84adknde1w.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036536726 30828 80.91.224.249 (5 Nov 2002 22:52:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 22:52:06 +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 189CYF-000811-00 for ; Tue, 05 Nov 2002 23:52:03 +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 189CYP-0007uR-00; Tue, 05 Nov 2002 16:52:13 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Nov 2002 16:52:58 -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 QAA07562 for ; Tue, 5 Nov 2002 16:52:40 -0600 (CST) Original-Received: (qmail 5388 invoked by alias); 5 Nov 2002 22:51:49 -0000 Original-Received: (qmail 5383 invoked from network); 5 Nov 2002 22:51:49 -0000 Original-Received: from pfepc.post.tele.dk (193.162.153.4) by gnus.org with SMTP; 5 Nov 2002 22:51:49 -0000 Original-Received: from defun.localdomain (0xc3d76094.esnxr5.ras.tele.dk [195.215.96.148]) by pfepc.post.tele.dk (Postfix) with ESMTP id 65D16262997 for ; Tue, 5 Nov 2002 23:51:43 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: <84adknde1w.fsf@crybaby.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de's message of "Tue, 05 Nov 2002 20:14:35 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47564 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47564 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > Jesper Harder writes: > >> Couldn't we use (featurep 'tool-bar)? This should only return t in >> Emacs 21 versions with tool-bar support. > > What if tool-bar.el isn't loaded? > > When it _is_ loaded, fboundp on some function in tool-bar.el should > be about as good as (featurep 'tool-bar). Yeah, you're right. I guess what I don't understand is why tool-bar.el needs to be require'd explicitly. I.e. why this isn't sufficient: (if (and (featurep 'tool-bar) (default-value 'tool-bar-mode) (not gnus-group-toolbar-map)) Hmm, ShengHuo probably knows the answer: 2002-04-02 ShengHuo ZHU * gnus-group.el (gnus-group-make-tool-bar): Load tool-bar first.