* Kill Customize Entries in .emacs
@ 2009-01-26 3:47 Les Harris
2009-01-26 4:19 ` Michael Ekstrand
0 siblings, 1 reply; 4+ messages in thread
From: Les Harris @ 2009-01-26 3:47 UTC (permalink / raw)
To: help-gnu-emacs
I have not yet figured out the trigger but often emacs is writing
entries for custom-set-variables and custom-set-faces into my .emacs
file.
I prefer not to use the customization system in emacs and would like
these entries to never appear in my init file.
Is there anyway to stop emacs from trying to insert these things?
Thanks!
--
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kill Customize Entries in .emacs
2009-01-26 3:47 Kill Customize Entries in .emacs Les Harris
@ 2009-01-26 4:19 ` Michael Ekstrand
2009-01-26 4:29 ` Les Harris
0 siblings, 1 reply; 4+ messages in thread
From: Michael Ekstrand @ 2009-01-26 4:19 UTC (permalink / raw)
To: help-gnu-emacs
Les Harris <me@lesharris.com> writes:
> I have not yet figured out the trigger but often emacs is writing
> entries for custom-set-variables and custom-set-faces into my .emacs
> file.
>
> I prefer not to use the customization system in emacs and would like
> these entries to never appear in my init file.
>
> Is there anyway to stop emacs from trying to insert these things?
The variable `custom-file' controls where your customizations are
saved. You can set this to some other file, in which case
customizations that get set by various means will accumulate in that
other file, but will not clutter your .emacs.
You could try setting `custom-file' to /dev/null. I do not know what
would happen in this case, as I have never tested it, but I would expect
it to cause Emacs to happily make saving customizations a no-op on
Unix-like systems.
- Michael
--
mouse, n: A device for pointing at the xterm in which you want to type.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kill Customize Entries in .emacs
2009-01-26 4:19 ` Michael Ekstrand
@ 2009-01-26 4:29 ` Les Harris
2009-01-26 18:34 ` Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: Les Harris @ 2009-01-26 4:29 UTC (permalink / raw)
To: help-gnu-emacs
Michael Ekstrand <michael@elehack.net> writes:
> You could try setting `custom-file' to /dev/null.
This appears to work perfectly. Not sure why having those in my .emacs
bothers me so much. The first sign of oncoming curmudgeoness I guess!
Thank you for the pointer.
--
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Kill Customize Entries in .emacs
2009-01-26 4:29 ` Les Harris
@ 2009-01-26 18:34 ` Drew Adams
0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-01-26 18:34 UTC (permalink / raw)
To: 'Les Harris', help-gnu-emacs
> > You could try setting `custom-file' to /dev/null.
>
> This appears to work perfectly. Not sure why having those in my .emacs
> bothers me so much. The first sign of oncoming curmudgeoness I guess!
> Thank you for the pointer.
`custom-file' is a good thing all 'round (whether or not you set it to
/dev/null). Generally much better than letting Customize diddle with your
.emacs, IMO.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-26 18:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 3:47 Kill Customize Entries in .emacs Les Harris
2009-01-26 4:19 ` Michael Ekstrand
2009-01-26 4:29 ` Les Harris
2009-01-26 18:34 ` Drew Adams
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 read-only IMAP folder(s) and NNTP newsgroup(s).