9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] acme automatic dump
Date: Thu, 13 Jun 2013 09:16:51 -0400	[thread overview]
Message-ID: <1ee7ead923ea1a151a681f9a746032f1@kw.quanstro.net> (raw)
In-Reply-To: <CAJhgaci8EN2iqggYd9y4fHcnn+13Wft_NX3id4E9Vx1ARkv1cw@mail.gmail.com>

> 1) implement the functionality inside acme itself
> (e.g. with a command-line flag)
> 
> 2) implement a way of triggering a dump through
> the fs interface (e.g. by adding a root-level ctl
> file and allowing a "dump" message).
> 
> The second is probably less work, but is harder
> to get just right (you'd probably want a way to
> check if anything has changed too, to avoid
> needless churn when acme's sitting idle).

if acme simply set a bit on dump "cleansincedump" and cleared that
bit on any edit, then a conditional dump if not clean would prevent
any churn, and seems like it could be pretty straightforward.
it would also solve one of my pet peeves—having to
confirm quitting acme right after a dump because there are
"changed files".

- erik



      reply	other threads:[~2013-06-13 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12  9:33 roger peppe
2013-06-13 13:16 ` erik quanstrom [this message]

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=1ee7ead923ea1a151a681f9a746032f1@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).