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

* Re: gnus-dired-mode / gnus-load.el
  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-08  1:48   ` Benjamin Rutt
  0 siblings, 2 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2002-02-07 22:09 UTC (permalink / raw)


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



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

* Re: gnus-dired-mode / gnus-load.el
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2002-02-07 23:07 UTC (permalink / raw)


On Thu, Feb 07 2002, ShengHuo ZHU wrote:

> I suggest to put (require 'gnus-load) into ~/.emacs when using oGnus
> or future development version.

Thanx, ShengHuo. Is there a reason for not putting this e.g. in
gnus.el?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



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

* Re: gnus-dired-mode / gnus-load.el
  2002-02-07 23:07   ` Reiner Steib
@ 2002-02-07 23:32     ` ShengHuo ZHU
  0 siblings, 0 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2002-02-07 23:32 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> On Thu, Feb 07 2002, ShengHuo ZHU wrote:
>
>> I suggest to put (require 'gnus-load) into ~/.emacs when using oGnus
>> or future development version.
>
> Thanx, ShengHuo. Is there a reason for not putting this e.g. in
> gnus.el?

When Gnus is incorporated into Emacs or XEmacs, gnus-load does not
exist and is not required.

ShengHuo



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

* Re: gnus-dired-mode / gnus-load.el
  2002-02-07 22:09 ` ShengHuo ZHU
  2002-02-07 23:07   ` Reiner Steib
@ 2002-02-08  1:48   ` Benjamin Rutt
  2002-05-04 19:06     ` Amos Gouaux
  1 sibling, 1 reply; 6+ messages in thread
From: Benjamin Rutt @ 2002-02-08  1:48 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> I suggest to put (require 'gnus-load) into ~/.emacs when using oGnus
> or future development version.

Wow.  I've been using the development version of gnus for about a year
and have never heard this suggestion before.  Maybe we should get the
word out.  Would it make sense to add a "Running Gnus from CVS" node
to the gnus info tree?  Even if it only contains the suggestion to
(require 'gnus-load), I think it would be a good idea.  Or, is there a
better way to get the word out?  (Perhaps a note should be placed on
http://www.gnus.org/distribution.html?)
-- 
Benjamin



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

* Re: gnus-dired-mode / gnus-load.el
  2002-02-08  1:48   ` Benjamin Rutt
@ 2002-05-04 19:06     ` Amos Gouaux
  0 siblings, 0 replies; 6+ messages in thread
From: Amos Gouaux @ 2002-05-04 19:06 UTC (permalink / raw)


>>>>> On Thu, 07 Feb 2002 20:48:42 -0500,
>>>>> Benjamin Rutt <rutt+news@cis.ohio-state.edu> (br) writes:

br> Wow.  I've been using the development version of gnus for about a year
br> and have never heard this suggestion before.  Maybe we should get the
br> word out.  Would it make sense to add a "Running Gnus from CVS" node
br> to the gnus info tree?  Even if it only contains the suggestion to
br> (require 'gnus-load), I think it would be a good idea.  Or, is there a
br> better way to get the word out?  (Perhaps a note should be placed on
br> http://www.gnus.org/distribution.html?)

Hmmm... I don't think I saw this before either.  I bet that's why I
ran into difficulty with CVS Emacs.  I should have caught up with
all my list mail first, alas.

-- 
Amos




^ 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).