From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17468 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: Fri, 06 Mar 2015 00:55:54 +0100 Organization: Aioe.org NNTP Server Message-ID: <87zj7rf185.fsf@debian.uxu> References: 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 1425599713 4926 80.91.229.3 (5 Mar 2015 23:55:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 23:55:13 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Mar 06 00:55:13 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 1YTfbj-0005th-6e for gegu-info-gnus-english@m.gmane.org; Fri, 06 Mar 2015 00:55:11 +0100 Original-Received: from localhost ([::1]:55535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTfbd-0001yE-NJ for gegu-info-gnus-english@m.gmane.org; Thu, 05 Mar 2015 18:55:05 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 53 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:lVox+HiJA5q6oTjhqAA/57Kb4+8= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88596 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:17468 Archived-At: Alberto Luaces writes: > this could be more of an elisp question rather than > a gnus question Well, Gnus is Elisp so that should be OK. > Once I have gnus up and running, I want to modify my > nnimap-split-fancy variable. Therefore, I evaluate a > sexp with the new values, and change .gnus.el > accordingly for future sessions. All works ok. > > When I quit gnus *without quitting* emacs, and then > restart gnus again, nnimap-split-fancy stays with > its initial value. Maybe it is no surprise that it > is not reading .gnus.el again, but I wonder why my > on-the-fly settings were also dropped. What do you have as `gnus-init-file'? Do you really have ~/.gnus.el and not plain ~/.gnus? It says in the help - If a file with the `.el' or `.elc' suffixes exists, it will be read instead. - so make sure there isn't any interference from other files. If you got that right, it gets worse. I don't have "nnimap-split-fancy" so I can't confirm this, but in principle you are not doing anything wrong. ~/.gnus (or .el, or .elc) is read by Gnus on startup (i.e., Gnus and not Emacs startup) - you should be able to verify this by putting for example (message "Gnus is starting") in ~/.gnus (...) and then kill the *Group* buffer and do (gnus). Then check the *Messages* if the message is there. If it doesn't show up it may be you have compiled the file so Gnus uses that instead. In that case you should recompile the file with the changes. Even so, that should be the same situation when you restart Emacs, so that shouldn't "help". And: have you checked all other init files there is no other mention of "nnimap-split-fancy"? -- underground experts united