unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* message.elc is not loaded at gnus 5.10.6 startup.
@ 2005-12-26 15:01 dammy
  2005-12-27 18:22 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: dammy @ 2005-12-26 15:01 UTC (permalink / raw)



Hallo.

When I try to run gnus with M-x gnus, it fails with the following error in *Messages* buffer:
Loading gnus-agent...
custom-initialize-reset: Symbol's value as variable is void: message-valid-fqdn-regexp

I tried to track the problem as far I could. Below there are the results:

1) problem probably occurs as gnus-art.el is evaluated, at variable definition:
(defcustom gnus-button-valid-fqdn-regexp
  message-valid-fqdn-regexp    ;;; <----- this does not exist.
  "Regular expression that matches a valid FQDN."
  :group 'gnus-article-buttons
  :type 'regexp)

2) I found the `message-valid-fqdn-regexp' definition in /emacs-packages/gnus-5.10.6/lisp/message.elc
   As I checked it with M-x describe-variable, it is not defined indeed.
   I visited /emacs-packages/gnus-5.10.6/lisp/message.el file, and tried to check whether other variables from this file are defined, and they are not. It looks like /emacs-packages/gnus-5.10.6/lisp/message.elc file is not loaded at all.

3) my gnus init file looks like the following:

(setq load-path (delete "/usr/share/emacs/21.2/lisp/gnus" load-path)) ;;. remove emacs `built-in' gnus path from load path.
(setq load-path (cons "/emacs-packages/gnus-5.10.6/lisp" load-path))
(require 'gnus-load)

(require 'info)
(setq Info-directory-list
(cons (concat mk-gnus-dir "/texi") Info-default-directory-list)) ;;. Note: read emacs.txt comments in section "reading many `dir' files and virtually merging them to one file in emacs".

(require 'gnus)
(require 'gnus-group)

4) 
load-path's value is 
("/emacs-packages/gnus-5.10.6/lisp" "/emacs-packages/vm-7.19" "/usr/share/emacs/21.2/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/site-lisp/lang" "/usr/share/emacs/site-lisp/site-start.d" "/usr/share/emacs/21.2/leim" "/usr/share/emacs/21.2/lisp" "/usr/share/emacs/21.2/lisp/toolbar" "/usr/share/emacs/21.2/lisp/textmodes" "/usr/share/emacs/21.2/lisp/progmodes" "/usr/share/emacs/21.2/lisp/play" "/usr/share/emacs/21.2/lisp/obsolete" "/usr/share/emacs/21.2/lisp/net" "/usr/share/emacs/21.2/lisp/mail" "/usr/share/emacs/21.2/lisp/language" "/usr/share/emacs/21.2/lisp/international" "/usr/share/emacs/21.2/lisp/eshell" "/usr/share/emacs/21.2/lisp/emulation" "/usr/share/emacs/21.2/lisp/emacs-lisp" "/usr/share/emacs/21.2/lisp/calendar")

Do You have any ideas what I am doing wrong

Greetings.

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

* Re: message.elc is not loaded at gnus 5.10.6 startup.
  2005-12-26 15:01 message.elc is not loaded at gnus 5.10.6 startup dammy
@ 2005-12-27 18:22 ` Reiner Steib
  0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2005-12-27 18:22 UTC (permalink / raw)


On Mon, Dec 26 2005, dammy wrote:

> When I try to run gnus with M-x gnus, it fails with the following
> error in *Messages* buffer:
> Loading gnus-agent...
> custom-initialize-reset: Symbol's value as variable is void:
> message-valid-fqdn-regexp
>
> I tried to track the problem as far I could. Below there are the results:
>
> 1) problem probably occurs as gnus-art.el is evaluated, at variable definition:
> (defcustom gnus-button-valid-fqdn-regexp
>   message-valid-fqdn-regexp    ;;; <----- this does not exist.
>   "Regular expression that matches a valid FQDN."
>   :group 'gnus-article-buttons
>   :type 'regexp)
>
> 2) I found the `message-valid-fqdn-regexp' definition in
>    /emacs-packages/gnus-5.10.6/lisp/message.elc
>    As I checked it with M-x describe-variable, it is not defined indeed.

>    I visited /emacs-packages/gnus-5.10.6/lisp/message.el file, and
>    tried to check whether other variables from this file are
>    defined, and they are not. It looks like
>    /emacs-packages/gnus-5.10.6/lisp/message.elc file is not loaded
>    at all.

`message.el' is required by `gnus-art.el': (require 'message)

> 3) my gnus init file looks like the following:
>
> (setq load-path (delete "/usr/share/emacs/21.2/lisp/gnus" load-path)) ;;. remove emacs `built-in' gnus path from load path.
> (setq load-path (cons "/emacs-packages/gnus-5.10.6/lisp" load-path))
> (require 'gnus-load)

If you modify the `load-path' for Gnus in ~/.gnus[.el] it is too late.
You need to modify it in ~/.emacs.

If that doesn't help, please do a `toggle-debug-on-error' before `M-x
gnus RET' and show us the backtrace.

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

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

end of thread, other threads:[~2005-12-27 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 15:01 message.elc is not loaded at gnus 5.10.6 startup dammy
2005-12-27 18:22 ` Reiner Steib

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 read-only IMAP folder(s) and NNTP newsgroup(s).