mroz@moose.steinmetz (peter a mroz) (11/24/87)
A little while ago I posted mfe.el, a set of forms entry routines for GNU Emacs. There's a little bug in it that can be fixed as follows Formerly, in mfe-insert-char, I had line # ----------------------------- 546: (if (= pos pmax) 547: (message 548: "Can't insert characters - at end of field") 549: ; OK to insert - check the type Change this to: 546: (if (= (point) pmax) 547: (message 548: "Can't insert characters - at end of field or field is full") 549: ; OK to insert - check the type This fixes the following bug: If you were in the middle of a field that already had text in it filling out the field, and typed a character, the newline at the end of this line would be deleted. This fix prevents insertion if a field is full. Thanks go to Nathan Hess (nate@cpocd2.intel.com) for pointing this bug out to me. Peter Mroz General Electric | ARPA: mroz@ge-crd.arpa Corporate Research and Development | UUCP: mroz@moose.steinmetz.ge.com PO Box 8, 37-2081 | UUCP: {uunet!}steinmetz!mroz!crd Schenectady, NY 12301 | 518-387-6021