Gnus development mailing list
 help / color / mirror / Atom feed
* autoload variables
@ 2006-11-13 11:27 Katsumi Yamaoka
  2006-11-13 19:08 ` Reiner Steib
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2006-11-13 11:27 UTC (permalink / raw)


Isn't this funny?

NNTPSERVER=flab; export NNTPSERVER
emacs -batch -Q -eval '(message "%s" (getenv "NNTPSERVER"))'
 => flab
emacs -batch -Q -eval '(message "%s" (gnus-getenv-nntpserver))'
 => flab
emacs -batch -Q -eval '(message "%s" gnus-select-method)'
 => nil

In Emacs, `gnus-getenv-nntpserver' and `gnus-select-method' are
defined in loaddefs.el but it is not loaded when Emacs starts.
I guess the nil value of `gnus-select-method' was set at the
time when I built Emacs.  It suggests that the default value of
`gnus-select-method' is decided according to the Linux
distributions, without minding what is suitable to a user.  I
don't have an idea to fix this except for removing the autoload
cookie.

Regards,

P.S.  XEmacs complains as follows when compiling this autoload:

Compiling gnus/lisp/auto-autoloads.el...
While compiling toplevel forms in file gnus/lisp/auto-autoloads.el:
  ** reference to free variable gnus-default-nntp-server
  ** reference to free variable gnus-nntp-service
Wrote gnus/lisp/auto-autoloads.elc



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

end of thread, other threads:[~2006-11-14 17:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-13 11:27 autoload variables Katsumi Yamaoka
2006-11-13 19:08 ` Reiner Steib
2006-11-14  1:31   ` Katsumi Yamaoka
2006-11-14  5:43     ` Katsumi Yamaoka
2006-11-14  7:24       ` Katsumi Yamaoka
2006-11-14 17:04         ` 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 NNTP newsgroup(s).