all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Close .emacs file after customization?
@ 2003-01-14  9:31 Kevin A. Burton (burtonator)
  2003-01-15 16:57 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Kevin A. Burton (burtonator) @ 2003-01-14  9:31 UTC (permalink / raw)



If the user is running with a fresh Emacs instance (no open buffers), then
customizes a variable, the .emacs file is left as an open buffer.

Why is this?  Is there a reason?

It would seem that we should pollute the buffer list if the .emacs file hasn't
already been opened manually.

This isn't a theoretical problem.  I am trying to run multiple .emacs versions
and I want to maintain the same customization options across Emacs instances.

If I open the .emacs file in one instance, customize it, then do the same in
another instance, they both have an open copy of the buffer and there are race
conditions as to which emacs version should be modifying the file.

Can we just fix customization to close the .emacs file after it modifies it?

Kevin

-- 
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burton@peerfear.org )
             Location - San Francisco, CA, Cell - 415.595.9965
           AIM - sfburtonator,  Web - http://www.peerfear.org/
        GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
         IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile

Who wants to be responsible?  Every time something goes wrong they say 'who's
responsible for this?'
  -- Jerry Seinfeld

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: Close .emacs file after customization?
@ 2003-02-16  6:15 Zaretskii Eli
  0 siblings, 0 replies; 15+ messages in thread
From: Zaretskii Eli @ 2003-02-16  6:15 UTC (permalink / raw)
  Cc: emacs-devel


This message was scanned for viruses and other malicious code by PrivaWall.


This mail was sent from ELTA SYS LTD.


> From: Per Abrahamsen [mailto:abraham@dina.kvl.dk] 
> Sent: Saturday, February 15, 2003 4:10 PM
> 
> When saving customizations, customize does not actually read the
> customizations in the .emacs. Instead, it deletes *all* of them, and
> then saves all those customizations it knows about.  If the user has
> added or changed customizations meanwhile from another Emacs instance,
> those customizations will be lost.

IMHO, this is worth mentioning in the user's manual.

P.S.  Sorry for the possibly messed-up messages you will see from me in
the
near future, as well as for a nasty mailer.  Our sysadmins here changed
the
email setup, and it will take some time for me to recover.  In the
meantime,
I have an alternative of not responding at all, which I decided to
reject.


This message is processed by the PrivaWall Email Security Server. 

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-03-01  2:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  9:31 Close .emacs file after customization? Kevin A. Burton (burtonator)
2003-01-15 16:57 ` Kevin Rodgers
2003-01-15  6:16   ` Kevin A. Burton (burtonator)
2003-01-15 23:29 ` Richard Stallman
2003-01-15  4:08   ` Kevin A. Burton (burtonator)
2003-01-18  0:48     ` Richard Stallman
2003-02-15 14:10 ` Per Abrahamsen
2003-02-15 14:24   ` Robert J. Chassell
2003-02-17  7:19   ` Richard Stallman
2003-02-26 15:21     ` Per Abrahamsen
2003-02-27 22:30       ` Richard Stallman
2003-02-27 23:18         ` David Masterson
2003-03-01  2:26           ` Richard Stallman
2003-02-28  7:48         ` Per Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-16  6:15 Zaretskii Eli

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.