[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kjell Wooding <kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 14 Jun 2008 01:38:53 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/06/14 01:38:53
Modified files:
usr.bin/mg : def.h kbd.c undo.c
Log message:
unf*ck undo.
No seriously. Reposition the cursor to the start of the redo
position, like emacs. This gets us halfway to being emacs-finger-friendly.
For the rest, introduce a rptcount variable to count successive invocations
of the same function. This means undo will abort properly on C-g, and
other such interruptions.
This is a lot of diff for a simple-seeming problem. Emacs undo is hard.
Visit your host, monkey.org