From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Close .emacs file after customization?
Date: Wed, 26 Feb 2003 16:21:33 +0100 [thread overview]
Message-ID: <rjsmub2hky.fsf@zuse.dina.kvl.dk> (raw)
In-Reply-To: <E18kfYT-0007Ti-00@fencepost.gnu.org> (Richard Stallman's message of "Mon, 17 Feb 2003 02:19:09 -0500")
Richard Stallman <rms@gnu.org> writes:
> > 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?
>
> It is possible, but it will not solve the problem.
>
> Emacs interlocking should detect automatically when you lose with one
> Emacs edits that were made with another Emacs. If custom visits the
> file in the normal way and does not do anything to disable or override
> this mechanism, it will operate.
It will operate, but changes to all but the last Emacs instance to
save the customizations will be lost.
You will get a warning if customize *does not* kill the .emacs buffer
after saving customization, which is currently the case, but that is
precisely what the original poster wanted to change.
Also, you will not get a warning if the user manually kills the .emacs
buffer.
next prev parent reply other threads:[~2003-02-26 15:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rjsmub2hky.fsf@zuse.dina.kvl.dk \
--to=abraham@dina.kvl.dk \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).