avoid that Wiki thinks the file is diry after a Get (and thus complains when we Get multiple times, without changing the file) also: avoid that we can go too far back with Undo. Axel. Reference: /n/sources/patch/applied/acme-wiki-fix-dirtystate Date: Mon Aug 15 00:46:23 CES 2005 --- /acme/wiki/src/wiki.c Mon Aug 15 00:44:18 2005 +++ /acme/wiki/src/wiki.c Mon Aug 15 00:44:14 2005 @@ -343,6 +343,8 @@ break; case 'E': /* write to body or tag; can't affect us */ + break; + case 'K': /* type away; we don't care */ if(e->c2 == 'I' || e->c2 == 'D') w->dirtied = 1; @@ -439,6 +441,7 @@ winselect(w->win, w->addr, 1); } wintagwrite(w->win, "Get Put History Diff New", 4+4+8+4+4); + winclean(w->win); while(!w->dead && (e = recvp(w->win->cevent))) acmeevent(w, e);