From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42981 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-dired-mode / gnus-load.el Date: Thu, 07 Feb 2002 17:09:53 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nwuxp7xla.fsf@zsh.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178146 15091 80.91.224.250 (21 Oct 2002 05:29:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:29:06 +0000 (UTC) Return-Path: Original-Received: (qmail 25438 invoked from network); 7 Feb 2002 22:13:20 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Feb 2002 22:13:20 -0000 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 16YwmM-00024h-00; Thu, 07 Feb 2002 16:12:30 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 07 Feb 2002 16:12:07 -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 QAA08231 for ; Thu, 7 Feb 2002 16:10:37 -0600 (CST) Original-Received: (qmail 25408 invoked by alias); 7 Feb 2002 22:10:34 -0000 Original-Received: (qmail 25403 invoked from network); 7 Feb 2002 22:10:34 -0000 Original-Received: from zsh.cs.rochester.edu (HELO zsh.2y.net) (192.5.53.126) by gnus.org with SMTP; 7 Feb 2002 22:10:34 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g17M9ri21312; Thu, 7 Feb 2002 17:09:53 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Reiner Steib's message of "Thu, 07 Feb 2002 22:44:15 +0100") Original-Lines: 39 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42981 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42981 Reiner Steib <4uce.02.r.steib@gmx.net> writes: > Hi, > > I tried to use gnus-dired-mode with a very recent Gnus: > > | Oort Gnus v0.06 [CVS, Thu Feb 7 18:52:27 CET 2002] > | GNU Emacs 21.1.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > > The commentary section of gnus-dired.el says: > > ,----[ gnus-dired.el ] > | ;; This package provides utility functions for intersections of gnus > | ;; and dired. To enable the gnus-dired-mode minor mode which will > | ;; have the effect of installing keybindings in dired-mode, place the > | ;; following in your ~/.gnus: > | > | ;; (require 'gnus-dired) ;, isn't needed due to autoload cookies > | ;; (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode) > `---- > > So I just put the add-hook line in my ~/.gnus and typed `C-x d RET' > after starting gnus. But I got `void-function turn-on-gnus-dired-mode' > (see below [1] for a complete backtrace). > > AFAICS, it should be autoloaded from gnus-load.el: > > ,----[ gnus-load.el ] > | (autoload (quote turn-on-gnus-dired-mode) "gnus-dired" "\ > | Convenience method to turn on gnus-dired-mode." nil nil) > `---- > > But apparently gnus-load.el is not loaded when gnus is started [2]. > After a `(require 'gnus-dired)' it works fine. I suggest to put (require 'gnus-load) into ~/.emacs when using oGnus or future development version. ShengHuo