[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RUBOUT function
- To: (BUG LISP) at MIT-MC
- Subject: RUBOUT function
- From: GSB at MIT-MC (Glenn S. Burke)
- Date: Wed, 24 May 78 09:59:00 GMT
- Original-date: 24 MAY 1978 0559-EDT
The rubout function, if the horizontal cursor position is less than
the number of positions which are to be killed, does a (CURSORPOS 'U),
apparently neglecting the fact that doing a (CURSORPOS 'B) will do a
(CURSORPOS 'U) when it goes past the left margin.
It should either do a (CURSORPOS 'X) the proper number of times,
or just (CURSORPOS 'B) the proper number of times, followed by
(CURSORPOS 'L). (The former is 'correct', but the latter will bypass
an its bug...)
The current method ends up in the proper (usually) position, but on the
wrong line. Also, this method of rubbing chars out is ineffective anyway
if a reprint of the buffer inserts terpri's when it tyo's the characters.