Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <verna@inf.enst.fr>
Subject: Re: Song of Programming
Date: 06 Jul 1999 09:41:26 +0200	[thread overview]
Message-ID: <qyjemim8btl.fsf@metheny.enst.fr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "06 Jul 1999 05:42:04 +0200"

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

> Didier Verna <verna@inf.enst.fr> writes:
> 
> >         There's another really important issue that 's still unresolved: the
> > fact that stuff in gnus-xmas.el overrides the user custom settings for some
> > variables.
> 
> Which variables?

        We've talked about this some time ago. The problem is in
`gnus-xmas-redefine'. Called after the custom file has been read,
customizations are gone. I think what you actually want is to `defcustom'
stuff differently according to which flavor of Emacs you're in. At the time we 
talked about this problem, I could see three solutions IIRC:

- either you provide two files with the same defcustom's but with different
values, one for each flavor of Emacs. Only one of these files is loaded then.
This solution has problems though, for example if some of the customized stuff 
has an autoload cookie.

- or you enclose each concerned defcutom in a test on emacs-version (which
actually means that you will have also 2 defcustom's per variable, but in the
same file). However, you're likely to get problems of the same sort (autoloads 
etc).

- or you really have only one defcustom per variable, remove gnus-xmas (at
least the problematic part) and put the xemacs-specifi-stuff calls in the
custom default value, which would be defined but no-op under GNU Emacs.

        I think the third solution is the best.

-- 
    /     /   _   _       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-06  7:41 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 [this message]
1999-07-08  6:59       ` Lars Magne Ingebrigtsen
1999-07-08 17:15         ` Didier Verna
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=qyjemim8btl.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).