From: Rob Browning <rlb@cs.utexas.edu>
Cc: ding@gnus.org
Subject: Re: "Fixing up" gnus - (how hard is this?). (was Re: (provide 'nnmaildir))
Date: 18 Oct 2000 15:07:15 -0500 [thread overview]
Message-ID: <87g0lt9amk.fsf@raven.localnet> (raw)
In-Reply-To: prj@po.cwru.edu's message of "18 Oct 2000 11:13:24 -0400"
prj@po.cwru.edu (Paul Jarc) writes:
> nnmaildir's been doing that since the 2000-09-03 release. :) But use
> rename(), not link()/unlink(), for appropriate atomicity. It's not so
> critical when there are no concurrent readers, but it still saves you
> a system call. I haven't checked the Emacs sources, but I'm assuming
> (rename-file) uses rename() when ok-if-already-exists is non-nil.
Well the tricks I know of were designed to make sure you DTRT (as much
as possible anyway), even in the case where the files are on NFS
mounted volumes, but I don't know if you want to worry about that, and
it's possible that rename handles that already...
> Hmm... nnmaildir's state files are non-Lisp text, parsed manually.
> I suppose (read)ing Lisp expressions would probably be faster,
> though. I hadn't thought of that.
Might be a lot easier for you to handle code-wise too.
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
next prev parent reply other threads:[~2000-10-18 20:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-17 16:00 Rob Browning
2000-10-17 20:29 ` "Fixing up" gnus - (how hard is this?) Paul Jarc
2000-10-17 22:53 ` Rob Browning
2000-10-17 20:51 ` "Fixing up" gnus - (how hard is this?). (was Re: (provide 'nnmaildir)) Simon Josefsson
2000-10-17 22:32 ` Rob Browning
2000-10-18 15:13 ` Paul Jarc
2000-10-18 20:07 ` Rob Browning [this message]
2000-10-18 20:29 ` Paul Jarc
2000-10-19 0:20 ` Rob Browning
2000-10-19 16:05 ` Paul Jarc
2000-10-19 23:29 ` Rob Browning
2000-10-20 0:03 ` Paul Jarc
2000-10-20 9:21 ` Kai Großjohann
2000-10-20 15:27 ` Paul Jarc
2000-10-20 21:08 ` Kai Großjohann
2000-10-20 21:17 ` Paul Jarc
2000-10-20 21:45 ` 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=87g0lt9amk.fsf@raven.localnet \
--to=rlb@cs.utexas.edu \
--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).