From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17481 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: When does gnus read .gnus.el variables Date: Sat, 07 Mar 2015 21:58:21 +0100 Organization: Aioe.org NNTP Server Message-ID: <87zj7oy176.fsf@debian.uxu> References: <87zj7rf185.fsf@debian.uxu> <87pp8kzu7d.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1425761711 16535 80.91.229.3 (7 Mar 2015 20:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2015 20:55:11 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Mar 07 21:55:10 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YULkZ-0002W0-KJ for gegu-info-gnus-english@m.gmane.org; Sat, 07 Mar 2015 21:55:07 +0100 Original-Received: from localhost ([::1]:36452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YULkZ-0001Je-3i for gegu-info-gnus-english@m.gmane.org; Sat, 07 Mar 2015 15:55:07 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news.etla.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 60 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:EkbhtKGnGm7ZzC5urZyvBdS/IMc= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88610 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17481 Archived-At: Alberto Luaces writes: >> Again, did you check out `gnus-init-file'? What >> does it say? Evaluate any of these lines to find >> out: gnus-init-file (describe-variable >> 'gnus-init-file) > > It says "~/.gnus". OK, which you don't have? And you don't load .gnus.el explicitly, e.g., in .emacs, for example with `load-library' or `load-file'? >> Also, what do you mean when you say you "quit >> Gnus"? > > Pressing q on the Groups buffer, that is > gnus-group-exit. > > (gnus-alive-p) returns t. I have never heard of "Emacs server variables" and there isn't anything in the documentation of `defvar' that even remotely touches upon that (the confusing part which shouldn't relate is the lexical vs. dynamic scope which has basically to do with `let' clauses - in lexical, if you do a `let', then value-key replacement are only in effect in that particular clause, and not in code invoked from it, where the same key - if present - will be left alone). Anyway, if the variable was defined with `defvar' it shouldn't be a problem because that interface is simple: (defvar SYMBOL &optional INITVALUE DOCSTRING) ... The optional argument INITVALUE is evaluated, and used to set SYMBOL, only if SYMBOL's value is void. However, if the variable is defined with `defcustom' - which makes it a so-called user variable - it says (defcustom SYMBOL STANDARD DOC &rest ARGS) STANDARD is an expression specifying the variable's standard value. It should not be quoted. It is evaluated once by `defcustom', and the value is assigned to SYMBOL if the variable is unbound. The expression itself is also stored, so that Customize can re-evaluate it later to get the standard value. Do you do anything that would provoke Customize to re-evaluate the standard value? (By the way, what value does it have before and after you exit Gnus?) -- underground experts united