Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <verna@inf.enst.fr>
Subject: Re: Song of Programming
Date: 08 Jul 1999 19:15:47 +0200	[thread overview]
Message-ID: <qyjso6zxdto.fsf@metheny.enst.fr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Jul 1999 08:59:43 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Didier Verna <verna@inf.enst.fr> 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


  reply	other threads:[~1999-07-08 17:15 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-03  7:10 Lars Magne Ingebrigtsen
1999-07-03 12:43 ` Hrvoje Niksic
1999-07-04  4:44   ` Lars Magne Ingebrigtsen
1999-07-03 12:44 ` Hrvoje Niksic
1999-07-04  4:44   ` Lars Magne Ingebrigtsen
1999-07-03 13:11 ` William M. Perry
1999-07-03 14:21   ` Per Abrahamsen
1999-07-04  4:57     ` Lars Magne Ingebrigtsen
1999-07-03 14:28 ` Harry Putnam
1999-07-04  6:07   ` Lars Magne Ingebrigtsen
1999-07-04  6:27     ` Harry Putnam
1999-07-04  6:52       ` Lars Magne Ingebrigtsen
1999-07-04  7:07         ` Harry Putnam
1999-07-04  7:27           ` Lars Magne Ingebrigtsen
1999-07-04 11:50             ` Harry Putnam
1999-07-04 16:34             ` Harry Putnam
1999-07-05  3:35               ` Lars Magne Ingebrigtsen
1999-07-05 18:10                 ` Harry Putnam
1999-07-06  3:42                   ` Lars Magne Ingebrigtsen
1999-07-07 11:17                     ` Harry Putnam
1999-07-08  7:01                       ` Lars Magne Ingebrigtsen
1999-07-04  7:49           ` Neil Crellin
1999-07-05  3:19             ` Lars Magne Ingebrigtsen
1999-07-05  4:14               ` Neil Crellin
1999-07-06  3:41                 ` Lars Magne Ingebrigtsen
1999-07-04 13:20     ` Robert Epprecht
1999-07-05  3:32       ` Lars Magne Ingebrigtsen
1999-07-06 20:16   ` Wes Hardaker
1999-07-08  7:00     ` Lars Magne Ingebrigtsen
1999-07-08 20:05       ` Wes Hardaker
1999-07-09 17:44         ` Lars Magne Ingebrigtsen
1999-07-12 15:48           ` Wes Hardaker
1999-07-12 16:18             ` Paul Stodghill
1999-08-27 17:16             ` Lars Magne Ingebrigtsen
1999-09-01 16:42               ` Wes Hardaker
1999-07-03 15:29 ` Alexandre Oliva
1999-07-03 20:10   ` Per Abrahamsen
1999-07-04 21:22     ` Alexandre Oliva
1999-07-04 11:28 ` Jan Vroonhof
1999-07-05  3:19   ` Lars Magne Ingebrigtsen
1999-07-04 19:38 ` Kai.Grossjohann
1999-07-05  3:47   ` Lars Magne Ingebrigtsen
1999-07-05 15:15 ` Didier Verna
1999-07-06  3:42   ` Lars Magne Ingebrigtsen
1999-07-06  7:41     ` Didier Verna
1999-07-08  6:59       ` Lars Magne Ingebrigtsen
1999-07-08 17:15         ` Didier Verna [this message]
1999-07-05 22:37 ` Kai.Grossjohann
1999-07-06  3:47   ` Lars Magne Ingebrigtsen
1999-07-06 11:39     ` Kai.Grossjohann
1999-07-06 15:59       ` Lars Magne Ingebrigtsen
1999-07-07  9:51         ` Kai.Grossjohann
1999-07-09 17:41           ` Lars Magne Ingebrigtsen
1999-07-10 15:51 ` Matt Pharr
1999-07-11  9:18   ` Lars Magne Ingebrigtsen
1999-07-11 10:25     ` Kai Großjohann
1999-08-27 17:14       ` Lars Magne Ingebrigtsen
1999-08-27 18:04         ` François Pinard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qyjso6zxdto.fsf@metheny.enst.fr \
    --to=verna@inf.enst.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).