all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Masterson <David.Masterson@synopsys.COM>
Cc: emacs-devel@gnu.org
Subject: Re: Customize Rogue
Date: Fri, 14 Mar 2003 16:22:13 -0800	[thread overview]
Message-ID: <15986.29237.809000.666327@gargle.gargle.HOWL> (raw)
In-Reply-To: <200303150002.SAA17358@eel.dms.auburn.edu>

>>>>> Luc Teirlinck writes:

> I downloaded initsplit.el.  I did not really read through the code.
> But does initsplit-customizations-alist not tell initsplit.el where
> everything is supposed to be?  If the user tries to fool the
> automated tool, the automated tool looses, no doubt about that.  Now
> initsplit somehow has to tell this to Custom through advice, hooks,
> whatever.  I am not interested in personally writing such a tool,
> but it does not seem theoretically impossible.  Whether it is easy
> is another matter.

I just took a look at it again (it's been awhile).  The alist does
tell initsplit where everything is supposed to be (based upon regexps
against the defcustom variables).  There is also a write-file-hook
that checks to see if the file that is being written is a custom-file
or user-init-file and, if so, runs it through initsplit.  The comment
says (I think) that, if you run Custom after initsplit, the new
customizations (which could include updates to old ones) will again be
put into the custom-file, but, because of the write-file-hook,
initsplit will put it back where it belongs according to the alist.
The only issue is that you have load all the split custom-files in
your .emacs to ensure that all the customizations are known to Custom.

John apparently uses this to split out Gnus and Viper customizations,
but I guess you could apply it to VM, Rmail, JDE, and so on.  Hmmm,
maybe I ought to look at using this again...  ;-)

What was the issue that Per mentioned about multiple calls to
custom-set-variables again?

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA

  parent reply	other threads:[~2003-03-15  0:22 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-06  8:39 Customize Rogue Per Abrahamsen
2003-03-06  9:39 ` Juanma Barranquero
2003-03-06 15:15   ` Per Abrahamsen
2003-03-06 15:45     ` Juanma Barranquero
2003-03-07  8:03       ` Per Abrahamsen
     [not found]     ` <rjfzpzeh87.fsf@zuse.dina.kvl.dk>
     [not found]       ` <200303100251.UAA13345@eel.dms.auburn.edu>
     [not found]         ` <rjsmtvuxd0.fsf@zuse.dina.kvl.dk>
2003-03-10 15:18           ` Kim F. Storm
2003-03-10 14:41             ` Kai Großjohann
2003-03-10 14:42             ` Luc Teirlinck
2003-03-07 19:40   ` Richard Stallman
2003-03-08 13:43     ` Juanma Barranquero
2003-03-09 17:16       ` Luc Teirlinck
2003-03-09 18:03         ` Juanma Barranquero
2003-03-09 18:25           ` Luc Teirlinck
2003-03-09 18:49             ` Juanma Barranquero
2003-03-09 20:02               ` Robert J. Chassell
2003-03-10 14:24               ` Per Abrahamsen
2003-03-11 19:07               ` Stefan Monnier
2003-03-11 20:41                 ` Juanma Barranquero
2003-03-12  1:26                 ` Luc Teirlinck
2003-03-12 12:07                   ` Kai Großjohann
2003-03-12 18:38                   ` Stefan Monnier
2003-03-13  0:27                     ` Luc Teirlinck
2003-03-13  7:48                     ` Richard Stallman
2003-03-12 20:59                 ` Richard Stallman
2003-03-09 18:40           ` Luc Teirlinck
2003-03-09 19:00             ` Juanma Barranquero
2003-03-09 19:37               ` Luc Teirlinck
2003-03-09 20:03                 ` Juanma Barranquero
2003-03-09 18:50           ` Luc Teirlinck
2003-03-09 19:05             ` Juanma Barranquero
2003-03-09 20:28             ` Customize and inhibit-startup-echo-area-message Luc Teirlinck
2003-03-10 14:43           ` Customize Rogue Per Abrahamsen
2003-03-10 14:59             ` Andreas Schwab
2003-03-12 12:50               ` Per Abrahamsen
2003-03-10 15:04             ` Kai Großjohann
2003-03-12 13:06               ` Per Abrahamsen
     [not found]             ` <20030310163108.44F9.LEKTU@terra.es>
2003-03-12 13:23               ` Per Abrahamsen
2003-03-12 15:00                 ` Juanma Barranquero
     [not found]                   ` <rju1e77b8v.fsf@zuse.dina.kvl.dk>
2003-03-13 14:03                     ` Juanma Barranquero
2003-03-12 23:30                 ` David Masterson
     [not found]                   ` <rj1y1b8q46.fsf@zuse.dina.kvl.dk>
     [not found]                     ` <uptov2g78.fsf@synopsys.com>
     [not found]                       ` <rjr89b0vxt.fsf@zuse.dina.kvl.dk>
2003-03-14  0:25                         ` David Masterson
2003-03-14  4:21                         ` Luc Teirlinck
     [not found]                           ` <uadfx6b0c.fsf@synopsys.com>
     [not found]                             ` <200303142312.RAA17322@eel.dms.auburn.edu>
     [not found]                               ` <15986.27208.152000.911108@gargle.gargle.HOWL>
     [not found]                                 ` <200303150002.SAA17358@eel.dms.auburn.edu>
2003-03-15  0:22                                   ` David Masterson [this message]
2003-03-15 10:33                                     ` John Wiegley
2003-03-15  0:28                         ` John Wiegley
2003-03-15  1:04                           ` David Masterson
     [not found]               ` <200303110016.SAA14021@eel.dms.auburn.edu>
     [not found]                 ` <20030311012051.6EDF.LEKTU@terra.es>
2003-03-12 14:19                   ` Per Abrahamsen
2003-03-12 14:58                     ` Juanma Barranquero
2003-03-13  0:13                     ` Luc Teirlinck
     [not found]                       ` <rj8yvj8qfb.fsf@zuse.dina.kvl.dk>
     [not found]                         ` <200303131444.IAA16109@eel.dms.auburn.edu>
2003-03-13 22:01                           ` Per Abrahamsen
     [not found]                 ` <200303131534.JAA16193@eel.dms.auburn.edu>
2003-03-14  5:59                   ` Richard Stallman
     [not found]               ` <E18sYEe-0004sQ-00@fencepost.gnu.org>
     [not found]                 ` <20030311021233.6EE2.LEKTU@terra.es>
     [not found]                   ` <m33cluos3o.fsf@cicero.benny.turtle-trading.net>
     [not found]                     ` <200303111543.JAA14383@eel.dms.auburn.edu>
     [not found]                       ` <m3fzpt7usm.fsf@cicero.benny.turtle-trading.net>
     [not found]                         ` <200303111629.KAA14566@eel.dms.auburn.edu>
2003-03-12 14:26                           ` Per Abrahamsen
     [not found]                     ` <E18t07p-0003C4-00@fencepost.gnu.org>
2003-03-12 22:34                       ` Luc Teirlinck
2003-03-07 19:40 ` Richard Stallman
2003-03-10 14:51   ` Per Abrahamsen

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=15986.29237.809000.666327@gargle.gargle.HOWL \
    --to=david.masterson@synopsys.com \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.