Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Suggestion for "file" mail-backend (was Re: nov and procmail compatability?)
Date: Mon, 3 Jul 2000 20:14:04 +0200	[thread overview]
Message-ID: <vafbt0faxoz.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "03 Jul 2000 10:52:16 -0700"

Harry Putnam <reader@newsguy.com> writes:

> Do whatever customizing thing it is and write it to that file.  As Per
> says the whole mass of what emacs knows as done in customize is
> written to the file too.  But with some care you can pick out the new
> stuff, and transfer it wherever.   This is a good technique for elisp
> impaired users, to see what the code is supposed to look like.

Please do not advise people to use copy and paste on Custom-generated
Lisp code.  This might easily lead to people having more than one
custom-set-variables statement, and down that path lies madness.

Explanation of madness:  Suppose you have two custom-set-variables
statements in ~/.emacs, and the second (!) sets some variable foo.
Suppose you use Customize to change that variable, then save your
changes.  Customize will write all variable settings to the first
custom-set-variables statement.  Then, you start Emacs.  The two
custom-set-variables statements are executed, and the second one
wins.

What's the net effect?  You have used Customize to change a variable,
and it didn't work!

Yes, the implementation of Customize should probably be improved, but
right now, that's just the way it is.

kai
-- 
I like BOTH kinds of music.



  parent reply	other threads:[~2000-07-03 18:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-02  4:17 nov and procmail compatability? Stan Norton
2000-07-03  3:24 ` Harry Putnam
2000-07-03 12:30   ` Suggestion for "file" mail-backend (was Re: nov and procmail compatability?) Jorge Godoy
2000-07-03 12:59     ` Kai Großjohann
2000-07-03 13:10       ` Jorge Godoy
2000-07-03 13:10         ` Norbert Koch
2000-07-03 13:45           ` Per Abrahamsen
2000-07-03 17:52             ` Harry Putnam
2000-07-03 18:13               ` Jorge Godoy
2000-07-03 18:16                 ` Kai Großjohann
2000-07-07  2:31                   ` Karl Eichwalder
2000-07-03 19:19                 ` Harry Putnam
2000-07-03 18:14               ` Kai Großjohann [this message]
2000-07-03 19:37                 ` Harry Putnam
2000-07-03 21:24                   ` Kai Großjohann
2000-07-03  8:14 ` nov and procmail compatability? Kai Großjohann

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=vafbt0faxoz.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /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).