emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnus-startup-file


From: Markus Rost
Subject: gnus-startup-file
Date: Tue, 7 Jan 2003 15:51:52 -0500 (EST)

There is some inconsistency with the variable gnus-startup-file.  It
is defined in paths.el:

(defvar gnus-startup-file "~/.newsrc" "\
The file listing groups to which user is subscribed.
Will use `gnus-startup-file'-SERVER instead if exists.")

and also in gnus/gnus-start.el

(defcustom gnus-startup-file (nnheader-concat gnus-home-directory ".newsrc")
  "Your `.newsrc' file.
`.newsrc-SERVER' will be used instead if that exists."
  :group 'gnus-start
  :type 'file)

Because of the definition in path.el, the variable gnus-home-directory
will never be used to initialize gnus-startup-file, contrary to what
seems to be intended by the defcustom definition and the
documentation:

===Buffer *Help*============================================
gnus-home-directory's value is "~/.emacs.d/gnus"

Directory variable that specifies the "home" directory.
All other Gnus path variables are initialized from this variable.

You can customize this variable.

Defined in `gnus'.

[back]
============================================================

I don't know what is the right fix.  Perhaps to remove
gnus-startup-file from path.el?  If it stays in path.el, I think it
should be defined there with a defcustom definition.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]