From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24014 Path: main.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: Re: Song of Programming Date: 08 Jul 1999 19:15:47 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161656 6435 80.91.224.250 (21 Oct 2002 00:54:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:54:16 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA22157 for ; Thu, 8 Jul 1999 13:21:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB13950; Thu, 8 Jul 1999 12:16:39 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 08 Jul 1999 12:17:07 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA27982 for ; Thu, 8 Jul 1999 12:16:56 -0500 (CDT) Original-Received: from ulysse.enst.fr (7+A9nMWOGJ9sOXxuWERgYOftDHAuMqpE@inf.enst.fr [137.194.2.81]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA22060 for ; Thu, 8 Jul 1999 13:15:55 -0400 (EDT) Original-Received: from metheny.enst.fr (y74bV1zJDGOY3YpxBNVPo6xMasdgGars@metheny.enst.fr [137.194.204.4]) by ulysse.enst.fr (8.8.8/8.8.8) with ESMTP id TAA21439 for ; Thu, 8 Jul 1999 19:15:52 +0200 (MET DST) Original-Received: (from verna@localhost) by metheny.enst.fr (8.8.8/8.8.8) id TAA21992; Thu, 8 Jul 1999 19:15:47 +0200 (MET DST) Original-To: ding@gnus.org X-Attribution: dv X-Url: http://www.infres.enst.fr/~verna X-Web: http://www.infres.enst.fr/~verna X-Home-Page: http://www.infres.enst.fr/~verna In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Jul 1999 08:59:43 +0200" X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj writes: > Didier Verna writes: > > > We've talked about this some time ago. The problem is in > > `gnus-xmas-redefine'. > > That function only adds functions to a bunch of hooks and redefines > some other functions. It doesn't alter any (normal) variables... Yes it does, because by the time gnus-xmas-redefine is called, gnus-group (and probably others) has not been loaded, so for example gnus-group-mode-hook has not been defcustom'ed and doesn't have any value as a variable. Calling add-hook on it thus *sets* it to the value and your customization is gone. The brute force solution is to put a (require 'gnus-group) somewhere at the beginning of gnus-xmas. This must probably be done also for other libs not yet loaded. -- / / _ _ Didier Verna http://www.inf.enst.fr/~verna/ - / / - / / /_/ / ENST, INFRES C201.1 mailto:verna@inf.enst.fr /_/ / /_/ / /__ / 46 rue Barrault Tel. +33 (1) 45 81 73 46 75013 Paris, France Fax. +33 (1) 45 81 31 19