[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot connect to mail server with NoGnus version, well with Gnus
From: |
Sebastien Vauban |
Subject: |
Re: Cannot connect to mail server with NoGnus version, well with Gnus |
Date: |
Wed, 28 Mar 2012 19:13:04 -0000 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt) |
Hi Lars,
Lars Magne Ingebrigtsen wrote:
> "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> writes:
>
>> (add-to-list 'load-path "~/src/gnus/lisp")
>> (require 'gnus-load)
>> #+end_src
>> When typing 'M-x gnus', I go much further, but now am blocked by
>> gnus-macroexpand-all not being defined:
>> Debugger entered--Lisp error: (void-function gnus-macroexpand-all)
>
> This means that you're picking up bits and pieces from old Gnus files.
>
> Say
>
> (add-to-list 'load-path "~/src/gnus/lisp")
>
> as the very first thing in your .emacs file, and make sure that you're
> not adding older Gnus directories to the load path later.
That was it: packages such as `anything', `tramp' or `org-agenda' seem to load
Gnus by themselves.
Therefore, my addition to the `load-path' had to be before calling them.
Is there an easy solution to spot such troubles? Because doing
`locate-library' in Emacs is too late: you have the impression Gnus has been
loaded in the right place. In fact, not: it was loaded before the update of
the `load-path', hence a mix of versions, very difficult to spot by the user.
Anyway, thank you *very much* for your help!
Best regards,
Seb
--
Sebastien Vauban