Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-dired-mode / gnus-load.el
@ 2002-02-07 21:44 Reiner Steib
  2002-02-07 22:09 ` ShengHuo ZHU
  0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2002-02-07 21:44 UTC (permalink / raw)


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. 

Bye, Reiner.

[1]
,----[ backtrace ]
| Debugger entered--Lisp error: (void-function turn-on-gnus-dired-mode)
|   turn-on-gnus-dired-mode()
|   run-hooks(dired-mode-hook)
|   dired-mode("~/" "-al")
|   dired-internal-noselect("~/" nil)
|   dired-noselect("~/" nil)
|   dired("~/" nil)
| * call-interactively(dired)
`----

[2]
,----[ *Messages* ]
| Loading gnus...
| Loading mule-util...done
| Loading gnus...done
| Loading gnus-start...
| Loading easymenu...done
| Loading derived...done
| Loading gnus-start...done
| [...]
| Loading byte-opt...done
| [...]
| nnfolder: Reading incoming mail (no new mail)...done
| Reading active file via nnfolder...done
| Loading gnus-cache...done
| Loading timezone...done
| [...]
| Loading gnus-sum...done
| Checking new news...done
| Loading dired...done
| run-hooks: 
| Loading debug...done
| Entering debugger...
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-04 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-07 21:44 gnus-dired-mode / gnus-load.el Reiner Steib
2002-02-07 22:09 ` ShengHuo ZHU
2002-02-07 23:07   ` Reiner Steib
2002-02-07 23:32     ` ShengHuo ZHU
2002-02-08  1:48   ` Benjamin Rutt
2002-05-04 19:06     ` Amos Gouaux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).